Commit Graph

23999 Commits

Author SHA1 Message Date
Henrik Rydgård
3c93eaf164 GL: Fix clearing alpha on stencil uploads. 2018-02-10 17:18:18 +01:00
Henrik Rydgård
d9af90e016 SDL: Fix issue with vulkan-to-opengl fallback 2018-02-10 09:09:13 +01:00
Henrik Rydgård
081e15d1c8 Windows: Consistently shutdown the main thread after exiting the message loop. 2018-02-10 09:06:43 +01:00
Henrik Rydgård
8ad5b499a9 Improve assert messages in VulkanRenderManager (minor) 2018-02-10 08:58:33 +01:00
Henrik Rydgård
39fd77b357
Merge pull request #10596 from hrydgard/further-gl-fixes
Further GL fixes
2018-02-08 17:15:36 +01:00
Henrik Rydgård
625595c6cc For some reason we use DrawActiveTexture in the GL stencil stuff, don't want to disable stencil unconditionally.. 2018-02-08 16:59:03 +01:00
Henrik Rydgård
0fe4e70aef Fix another way the scissor test could accidentally get disabled 2018-02-08 16:47:04 +01:00
Henrik Rydgård
86cfc411a4 Remove the confusing "DisableState" across the codebase 2018-02-08 16:27:36 +01:00
Henrik Rydgård
b9081dd624 GL: Set a plain render state in DrawActiveTexture, without relying on the caller having called DisableState 2018-02-08 16:21:34 +01:00
Henrik Rydgård
b9b41f52c5 Add a simple spinner to the game load screen to not look frozen. 2018-02-08 12:03:29 +01:00
Henrik Rydgård
20eb566665 Minor Qt cleanup, force OpenGL since we don't yet support Vulkan in Qt 2018-02-08 11:19:48 +01:00
Henrik Rydgård
3ff69d73ff
Merge pull request #10593 from hrydgard/more-gl-thread-work
Some more fixes after the GL render manager merge
2018-02-08 09:33:57 +01:00
Henrik Rydgård
4d6c0cfb32 Buildfix 2018-02-08 01:11:51 +01:00
Henrik Rydgård
8c5a94ce01 gl-render-manager: Oops, fix scissor tests after clears 2018-02-08 00:50:39 +01:00
Henrik Rydgård
1eec30dac2 Avoid causing a gl error on startup on core contexts. 2018-02-08 00:44:10 +01:00
Henrik Rydgård
481134bfe9 Another go at the deleter problem. Still not feeling 100% good about how this works.. but it does seem to work fine. 2018-02-08 00:41:17 +01:00
Henrik Rydgård
8ee426ff74 Get rid of an unused codepath (gl rendering is now always threaded) 2018-02-08 00:23:48 +01:00
Henrik Rydgård
ce16547854 GL render manager: Fix bug when setting texture sampler if the wrong GL texture slot is active. Will likely help #10583 2018-02-07 19:49:58 +01:00
Henrik Rydgård
b7dfc743f9
Merge pull request #10591 from hrydgard/gl-render-manager-exit-fixes
GL render manager exit fixes
2018-02-07 17:13:25 +01:00
Henrik Rydgård
b3f4a923ca GLES: Fix minor memory leak 2018-02-07 16:55:03 +01:00
Henrik Rydgård
87cc586c08 Qt: Fix emuthread management to exit cleanly without hanging 2018-02-07 16:43:49 +01:00
Henrik Rydgård
ae19c48138 Cleanup the Windows thread stuff to work like the other platforms. Not quite perfect yet. 2018-02-07 16:00:29 +01:00
Henrik Rydgård
7f30037e45 Android: Fix emuthread management to exit cleanly without hanging. Helps with task switching on Android. 2018-02-07 13:11:43 +01:00
Henrik Rydgård
b3a09791b1 SDL: Fix emuthread management to exit cleanly without hanging. 2018-02-07 12:22:19 +01:00
Henrik Rydgård
59d6cc12f2 Add an option to use the system libzip, to please grumpy package maintainers.
This reverts commit 1a34f88331.
2018-02-07 12:10:46 +01:00
Henrik Rydgård
eeb061a2ff
Merge pull request #10584 from hrydgard/use-bundled-libzip
Always use the bundled libzip to avoid compatibility issues.
2018-02-06 19:59:13 +01:00
Henrik Rydgård
1a34f88331 Always use the bundled libzip to avoid compatibility issues. Should fix #10575 2018-02-06 19:41:00 +01:00
Henrik Rydgård
a41422afbd
Merge pull request #10582 from hrydgard/fix-uwp-build
Noticed that the UWP build has been broken for some time, fix it.
2018-02-05 17:08:13 +01:00
Henrik Rydgård
3e56d8bbdf Noticed that the UWP build has been broken for some time, fix it.
Should probably set up a buildbot if we care about this...
2018-02-05 16:21:39 +01:00
Henrik Rydgård
f999830027
Merge pull request #10580 from hrydgard/gl-render-manager-fixes
GL render manager fixes
2018-02-04 21:11:57 +01:00
Henrik Rydgård
d30f1c2019 Fix another Qt memory leak 2018-02-04 14:13:47 +01:00
Henrik Rydgård
903abe8779 Qt: Prevent some race conditions on shutdown by deleting emugl. 2018-02-04 13:54:10 +01:00
Henrik Rydgård
020eb9d86c Fix further memory leaks 2018-02-04 13:42:04 +01:00
Henrik Rydgård
79d1610148 Move SDLGLGraphicsContext.h to the correct location. Minor cleanup 2018-02-04 13:42:04 +01:00
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