Commit Graph
1140 Commits
Author SHA1 Message Date
Henrik Rydgård 0134fc8739 Merge pull request #11513 from unknownbrackets/gpu-shutdown
Wait for orderly finish of cache before shutdown
2018-10-31 15:55:36 +01:00
Unknown W. Brackets dcf71fc43f GLES: Skip freeing program if not allocated.
This could cause a crash when skipGLCalls is true, if null.
2018-10-30 19:14:02 -07:00
Unknown W. Brackets cc9ad06cfe Merge pull request #11502 from hrydgard/improve-readback-checks
Improve sanity checks for framebuffer readbacks
2018-10-28 11:57:45 -04:00
Henrik Rydgård c074d3c61f Improve sanity checks for framebuffer readbacks 2018-10-28 14:30:39 +01:00
Jan Beich 94c56ea09c native: enable backtrace on some BSDs 2018-10-27 18:22:24 +00:00
Henrik Rydgard 8883156e45 Yet another try at taking care of the GPD crashes in #11063.
Thanks tiagao for all the testing.
2018-10-22 09:59:49 +02:00
Henrik Rydgård 292d2f44ee GL: Also skip gl calls in ThreadEnd during shutdown on Android. May help #11063 2018-10-21 09:14:02 +02:00
Unknown W. Brackets fd20d7b09e Merge pull request #11481 from hrydgard/adreno-int-workarounds
Workaround for bad int behaviour on Adreno / GLES. (no problems in Vulkan).
2018-10-20 07:52:29 -07:00
Henrik Rydgård ca58bb78dd Turn off gl debug logging again 2018-10-20 16:48:17 +02:00
Henrik Rydgård aea5f38a15 Fix issue where skipGLCalls_ wasn't respected. May help #11063 2018-10-20 15:59:33 +02:00
Henrik Rydgård 81b781fd4f Revert two accidental minor changes 2018-10-20 13:25:53 +02:00
Henrik Rydgård 842290b6dd Workaround for bad int behaviour on Adreno / GLES. (no problems in
Vulkan).

See #11480, should help #11479.
2018-10-20 13:22:14 +02:00
Benito Palacios Sanchez f5f9708f3b Fix undefined MSG_NOSIGNAL
Only Linux seems to support it.
For other OSes we set to the default value 0x00 to do nothing.
2018-10-16 23:18:57 +02:00
Benito Palacios Sanchezandunknownbrackets e221187561 Ignore SIGPIPE signal receiving data to avoid crash
Co-Authored-By: unknownbrackets <checkins@unknownbrackets.org>
2018-10-16 22:57:58 +02:00
Henrik Rydgård f77975d79b Address additional comments. 2018-10-06 21:36:47 +02:00
Henrik Rydgård a3a94bdd33 Avoid calling any GL calls during shutdown on Android. Should help #11063
The context is already lost and we're really running shutdown when the process is woken
up again. Additionally, orderly shutdown through the button doesn't happen
on the render thread so remove a couple of asserts that are wrong.
2018-10-06 21:31:52 +02:00
Henrik Rydgård 9b7061b383 Vulkan: Apply Themaister's patch, removing illegal pre-transitions of swapchain images. Fixes #11417 2018-10-03 21:39:16 +02:00
Unknown W. Brackets d1929eaca2 GLES: Properly parse GL extension names.
We must split on spaces and not just lazily use strstr, see #11363.
2018-09-24 23:05:58 -07:00
Unknown W. Brackets 3bba9df133 UI: Keep report image at right aspect ratio. 2018-09-21 23:24:36 -07:00
Unknown W. Brackets b7d84926fa D3D11: Enable depth clamping.
Uses the same logic as Vulkan, improving #9545 on most D3D11 devices.
2018-09-18 21:49:17 -07:00
Henrik Rydgård 637a17a66c Fix small and scary Vulkan bug (leftover from skinning-removal revert) 2018-09-18 23:38:38 +02:00
AreaScout 95556e8d03 Add: some helpers to compile on ODROID-XU4/XU3 2018-09-17 20:01:12 +00:00
Unknown W. Brackets 2388be544f Debugger: Fix crash in softgpu with no texaddr yet. 2018-09-04 21:54:25 -07:00
Unknown W. Brackets f87dcefdd8 Android: Buildfix for CMake.
May affect other arm64 too.  Also, ifdef out a check in case of compiling
with GL 3 headers (to fix a Linux buildbot issue.)
2018-09-03 18:41:52 -07:00
Unknown W. Brackets 68317f0067 Core: Match up NOEN define usage a bit more.
Some compile parameters were resulting in us try to use a func we didn't
compile.  We should at least use the same defines in usage and definition.
2018-09-01 19:56:35 -07:00
Unknown W. Brackets 557748d65b Merge pull request #11336 from hrydgard/android-text-crash-fix
Set a minimum of 1x1 for Android text bitmap measurement.
2018-08-30 19:02:40 -04:00
Henrik Rydgård 19dd28582f Merge pull request #11335 from AreaScout/eglinfo
Add: EGL info for GLES on Linux
2018-08-30 21:03:31 +02:00
Henrik Rydgård 8e6a1bc849 Set a minimum of 1x1 for Android text bitmap measurement.
Should fix some crashes seen on Google Play
2018-08-30 19:49:33 +02:00
AreaScout 45753d87de Add: EGL info for GLES on Linux 2018-08-30 16:28:34 +00:00
Unknown W. Brackets 1b79924038 Debugger: Fix texture readback in GLES.
Was using the wrong size, causing the buffer not to be allocated large
enough.  This caused crashes sometimes.
2018-08-29 22:09:10 -07:00
Unknown W. Brackets 3f48e446b6 GPU: Fix texture handling on framebuf detach.
We were never creating/recreating the texture, so we ended up with null.
Caused all sorts of problems.
2018-08-25 09:57:37 -07:00
Henrik Rydgård 6f173b9134 Harmonize some VS project settings. 2018-08-14 22:41:39 +02:00
Henrik Rydgård eddaf97938 Add submodules, namespace json to prepare for the addition of rapidjson (sigh) 2018-08-13 00:18:54 +02:00
Henrik Rydgård 42f4d7b40f OpenGL: Fix bug where we could end up calling glUniformMatrix without a bound program. Found by GL debug callback on NV.
This adds a bit of extra checking that's only enabled in _DEBUG builds.
2018-07-28 11:09:01 +02:00
Unknown W. Brackets 716e6ad3a2 GLES: Include shader compile status in log/report. 2018-06-30 10:10:42 -07:00
Unknown W. Brackets b13c5fbe5d GLES: Read compile/link errors consistently.
Sometimes blank ones are getting reported, so let's be more careful.
2018-06-30 09:16:25 -07:00
Unknown W. Brackets 81f74e4287 Vulkan: Assert on some creates failing.
Before was only checking in debug builds.
2018-06-24 07:35:19 -07:00
Unknown W. Brackets 5028486630 thin3d: Cleanup some unused/uninitialized warnings. 2018-06-24 07:34:07 -07:00
Unknown W. Brackets 23ecd2ad62 UI: Make sliders able to show disabled.
For alternate speed, we'll allow separate speeds to be "on" or "off".
2018-06-23 10:59:18 -07:00
Henrik Rydgård 82b14e0dd5 Merge pull request #11206 from unknownbrackets/debugger
http: Don't crash on unclean client disconnect
2018-06-23 09:00:28 +02:00
Unknown W. Brackets 4aa4db611e Android: Allow desktop GL if available.
For example, on the SHIELD.
2018-06-18 00:37:52 -07:00
Unknown W. Brackets 03edd6129a GLES: Cut down on use of USING_GLES2. 2018-06-17 20:51:34 -07:00
Unknown W. Brackets 495a6359c8 http: Don't crash on unclean client disconnect.
This happens even when doing http ISO streaming.
2018-06-17 17:49:40 -07:00
Henrik Rydgård da5f0f7f2b Merge pull request #11186 from unknownbrackets/debugger
Debugger: Add APIs to retrieve render image
2018-06-17 21:53:38 +02:00
Unknown W. Brackets ae7f5d7824 native: Avoid an absolute value error.
Presumably this was the goal.  Not tested.
2018-06-17 11:42:45 -07:00
Unknown W. Brackets b281da9fa7 Jpeg: Avoid signed shift warnings.
This seems easier to read anyway...
2018-06-17 11:38:31 -07:00
Unknown W. Brackets 35ccd16746 GLES: Restore stencil/depth readback for debugger.
Only works on desktop GL.
2018-06-16 16:04:25 -07:00
Unknown W. Brackets e6917cccf6 Debugger: Add APIs to retrieve render image. 2018-06-16 15:33:02 -07:00
Unknown W. Brackets 469d8a6a41 GPU: Screenshot output in BGRA if that's native.
This is a decent chunk faster.
2018-06-16 13:48:50 -07:00
Unknown W. Brackets c97023568c thin3d: Fix requesting BGRA buffers.
Should be fine to request BGRA->BGRA.

Also, the reverse flags were wrong/ignored on the format.
2018-06-16 13:31:08 -07:00