Henrik Rydgård
|
99386da01e
|
Minor cleanups
|
2018-02-04 13:42:04 +01:00 |
|
Henrik Rydgård
|
85446d6c51
|
Split the SDL graphics contexts into their own files.
|
2018-02-04 13:42:04 +01:00 |
|
Henrik Rydgård
|
c16e397fc6
|
SDL: NativeInitGraphics/NativeShutdownGraphics should run on the emu thread.
|
2018-02-04 13:42:04 +01:00 |
|
Henrik Rydgård
|
583c20991f
|
Qt: Some cleanup and fixes. Still not working correctly with gl-render-manager.
|
2018-02-04 13:42:04 +01:00 |
|
Henrik Rydgård
|
1aa5351e34
|
Temporarily disable symbols on Qt, crashes strangely.
|
2018-02-04 13:42:04 +01:00 |
|
Henrik Rydgård
|
c3629b4a53
|
Warning fixes
|
2018-02-04 13:42:04 +01:00 |
|
Henrik Rydgård
|
8438defb24
|
Fix some memory leaks
|
2018-02-04 13:39:10 +01:00 |
|
Henrik Rydgård
|
d6e888a39b
|
Revert "Simpler way to deal with the GL deleter"
This reverts commit 3a988400a7 .
|
2018-02-04 13:09:51 +01:00 |
|
Henrik Rydgård
|
c21b02a22d
|
gl-render-manager: Use properly scaled scissor rectangle, oops. Fixes higher resolutions.
|
2018-01-31 19:36:32 +01:00 |
|
Henrik Rydgård
|
982a1710ae
|
gl-render-manager: Fix postprocessing shaders. Fixes #10566. Live switching is broken though for some reason.
|
2018-01-31 17:23:24 +01:00 |
|
Henrik Rydgård
|
5351c9ddb3
|
gl-render-manager: Support scissored clears, as used by the GL backend. Fixes GT.
|
2018-01-31 17:07:20 +01:00 |
|
Henrik Rydgård
|
67b8c4527d
|
b.sh: Add a build option for address sanitizer. When enabled, we turn on some compatibility options to make it work right.
|
2018-01-31 14:29:23 +01:00 |
|
Henrik Rydgård
|
22e28e218b
|
Merge pull request #10411 from hrydgard/gl-render-manager
GL render manager - new faster GL multithreading
|
2018-01-31 12:22:07 +01:00 |
|
Henrik Rydgård
|
98cfaef6ec
|
Rough fix for threaded GL for Qt.
|
2018-01-31 12:05:18 +01:00 |
|
Henrik Rydgård
|
3a988400a7
|
Simpler way to deal with the GL deleter
|
2018-01-30 22:32:16 +01:00 |
|
Henrik Rydgård
|
56eb2b892f
|
Minor: Make the Vulkan allocator debug visualizer slightly better looking by adding a border.
|
2018-01-30 19:39:53 +01:00 |
|
Henrik Rydgård
|
26b146a247
|
Buildfixes
|
2018-01-30 12:28:44 +01:00 |
|
Henrik Rydgård
|
747d86f4ad
|
Merge pull request #10562 from hrydgard/vulkan-alloc-vis
Debug visualization for the Vulkan memory allocator.
|
2018-01-30 00:44:51 +01:00 |
|
Henrik Rydgård
|
ab62587949
|
Avoid linking error on MacOSX.
|
2018-01-30 00:24:27 +01:00 |
|
Henrik Rydgård
|
3c8e43de2c
|
Include order fix. Darn X11 headers.
|
2018-01-29 23:49:55 +01:00 |
|
Henrik Rydgård
|
c60c8ed68a
|
Debug visualization for the Vulkan memory allocator. Shows some interesting behaviour.
|
2018-01-29 19:38:10 +01:00 |
|
Henrik Rydgård
|
bd2c875c9a
|
Fix readback color conversion
|
2018-01-28 21:28:16 +01:00 |
|
Henrik Rydgård
|
19ab367591
|
Fix some accidental extra-indentation
|
2018-01-28 19:26:42 +01:00 |
|
Henrik Rydgård
|
6c109abd9e
|
Don't crash on missing readback formats.
|
2018-01-28 18:00:48 +01:00 |
|
Henrik Rydgård
|
bd3a681fd3
|
Enough JNI/threading hackery to get it to run on Android! Broken readbacks make it crash alot though.
|
2018-01-28 17:30:33 +01:00 |
|
Henrik Rydgård
|
7abb8702ce
|
Work towards threaded GL on Android. Now TextDrawer barfs on wrong JNI context.
|
2018-01-28 17:29:27 +01:00 |
|
Kentucky Compass
|
e7c9afd7bb
|
another whitespace fix
|
2018-01-27 15:10:17 +01:00 |
|
Kentucky Compass
|
c5a09de446
|
one more whitespace fix
|
2018-01-27 15:10:17 +01:00 |
|
Kentucky Compass
|
d43283239d
|
whitespace cleanup
|
2018-01-27 15:10:17 +01:00 |
|
Kentucky Compass
|
49c5880fcc
|
disable the iOS thread before shutting down
|
2018-01-27 15:10:17 +01:00 |
|
Kentucky Compass
|
0943cf3fcc
|
use GLRenderManager on iOS
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
56a18907dd
|
SDL: Oops, only start the emu thread for GLES.
Probably would've caused issues (at least weird vsync) for Vulkan.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
062566b67c
|
Core: Set thread names when possible.
This doesn't seem to be working for lldb, though.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
95bcda409d
|
GLES: Fix segfault on GL 2.x.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
59904c316b
|
SDL: Allow running GL on thread.
Tested on a Mac.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
0399088fc7
|
GLES: Handle glGetString() on GL thread.
We only use a few strings, so should be fine to cache them.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
22f65500f1
|
GPU: Fix shader blending recopying.
This at least didn't look horrible like GLEs did, but still looked
odd in Lunar.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
e280cbbc3c
|
GLES: Correct shader blending.
Lunar's spell effects were blending completely wrong, and are a good
example of shader blending. This fixes them.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
7f0b35cd23
|
GLES: Run ThreadFrame until frame complete.
This makes it easier for frontends that need to call this between other
things to handle vsync, or etc.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
30a60018a0
|
GLES: Fix race crash on shutdown.
This happens when there are pointers in step commands that get freed.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
acc3e39b67
|
GLES: Reintroduce out of memory checks.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
900e53b6dc
|
GLES: Re-enable texture scaling.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
2740f74cc4
|
GLES: Add TODO note for shader blend texture.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
38161f3c69
|
GLES: Use linear for high-res FBO tex copies.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
e56ae322fd
|
GLES: Report errors for link failures.
Let's not lose reporting on this, it's often an issue...
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
3380ab8705
|
GLES: Keep the GLRShader desc around.
This way we can also log it on link errors. It's not much data.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
48a07474f8
|
GLES: Avoid using failed depal shaders if possible.
Better to have one totally broken frame than all totally broken frames.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
b566b6cca2
|
D3D11: Remove potentially misleading rebind func.
This doesn't override the GPUCommon one, it just shares the same name,
which might lead to confusion later. Better not to use the parent.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
638cbf725b
|
GLES: Skip blend reset after stencil upload.
We dirty the flag anyway. Avoid extra calls.
|
2018-01-27 15:10:17 +01:00 |
|
Unknown W. Brackets
|
f6260c75c9
|
GLES: Reset blend state on clear.
Because now that resets blending parameters.
|
2018-01-27 15:10:17 +01:00 |
|