Unknown W. Brackets
9945e011c6
GLES: Avoid a shutdown race condition.
...
Also handle DeviceLost before shutdown better.
2018-01-27 15:10:17 +01:00
Unknown W. Brackets
bdf7fdc7a3
GLES: Actually stop the thread on shutdown.
...
Fixes shutdown.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
fdca06d208
More work on shutdown, still hanging though.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
e5d571c25a
gl-render-manager: Now threaded mode seems to work fine (and fast!). Shutdown doesn't, though, and there are stability issues.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
af6431986d
OpenGL: Now run GL on a secondary thread. Sync issues remain.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
465939e1c8
Minor fixes, indentation and comments
2018-01-27 15:10:17 +01:00
Henrik Rydgård
422b05e51f
Truncate the '\n' from GL debug strings before logging them.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
542f9f9ef1
Assorted cleanup
2018-01-27 15:10:17 +01:00
Henrik Rydgård
42f2312030
Remove the old CPU threading remains, start redesigning interfaces.
2018-01-27 15:10:17 +01:00
Henrik Rydgård
bd6818198a
More GLRenderManager
2018-01-27 15:10:17 +01:00
Henrik Rydgård
133bef575a
Split Android graphics context implementations into their own files.
2018-01-20 21:47:16 +01:00
Akira Miyakoda
8eeee7e1ab
Windows: Fix loading files with a long path.
...
Better handling of a path which exceeds MAX_PATH when converted into UTF-8.
2018-01-19 18:22:06 +09:00
Akira Miyakoda
f8cd9c7e55
Windows: Use sufficient buffer for config file paths.
...
MAX_PATH bytes are insufficient when a very long path is converted into UTF-8.
2018-01-18 00:36:27 +09:00
Akira Miyakoda
3f73cfb835
Windows: Fix a small memory leak.
...
CommandLineToArgvW() allocates a memory block which must be freed by LocalFree().
2018-01-17 19:25:01 +09:00
Henrik Rydgård
2af796009c
Merge pull request #10533 from AkiraMiyakoda/window_size_10x
...
Allow up to 10x window size on Windows.
2018-01-16 22:39:47 +01:00
Akira Miyakoda
5716fce283
Allow up to 10x window size on Windows.
...
4x can be too small for today's high resolution monitors.
2018-01-15 21:18:08 +09:00
Unknown W. Brackets
10c67b99c8
Windows: Fix extracting UMD block data.
...
Sometimes it's useful to extract a filename the game uses, etc., that's
actually an LBN.
2018-01-14 15:52:20 -08:00
Unknown W. Brackets
79a9018aac
Debugger: Fix hang when viewing invalid RAM.
...
If you end up in disassembly near invalid RAM, bad things were happening,
since hitting bad RAM updates the debugger, which hits bad RAM, which...
2017-12-30 11:11:04 -08:00
Henrik Rydgård
8ebbb82c0a
Merge pull request #10459 from unknownbrackets/ui-resized
...
UI: Trigger view recreate on static sized screens
2017-12-27 11:07:35 +01:00
Unknown W. Brackets
c0f0bc88af
UI: Trigger view recreate on static sized screens.
...
If a screen doesn't size via layout, it needs to recreate views on resize,
which is what the resized() method is for.
2017-12-27 01:13:47 -08:00
Unknown W. Brackets
766b40aad8
GPU: Reset GPUBackend on graphics init.
...
This way, when using a port that doesn't support Vulkan, it doesn't just
silently use upside down GL, etc.
2017-12-26 16:02:55 -08:00
Unknown W. Brackets
d6da758ed3
GPU: Remove duplicate BACKEND constants.
2017-12-26 15:55:24 -08:00
Henrik Rydgård
ffa48cb4fc
Merge pull request #10447 from unknownbrackets/update-vram
...
Remove "read framebuffers to memory" FBO auto-download
2017-12-25 22:37:48 +01:00
Unknown W. Brackets
ebce6da223
UI: Remove auto-download options.
...
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Unknown W. Brackets
8c1c0e1897
Windows: Track minimize as lost focus.
...
It makes sense if we have the other feature. Fixes #9918 .
2017-12-24 18:03:28 -08:00
Unknown W. Brackets
3c5816e2aa
GE Debugger: Allow enable/disable of prim preview.
2017-12-23 02:16:43 -08:00
Unknown W. Brackets
c55db7a496
GE Debugger: Keep prim preview on pan/zoom.
2017-12-23 01:57:03 -08:00
Unknown W. Brackets
a32ccd3eb8
GE Debugger: Fix preview when zooming.
...
Before, the coordinates were only right when scaled to fit. When you
zoomed in and panned, it would show in the wrong place because it wasn't
accounting for the flipped backbuffer.
2017-12-23 01:31:04 -08:00
Unknown W. Brackets
554a85e6d8
GE Debugger: Save with alpha for PNGs.
2017-12-21 23:47:49 -08:00
Unknown W. Brackets
092cbc2343
GE Debugger: Allow image export from previews.
...
This allows exporting textures and half-drawn surfaces.
2017-12-21 15:45:52 -08:00
Henrik Rydgård
2bdae5b338
Merge pull request #10420 from hrydgard/core-cleanup
...
Some core cleanup
2017-12-20 11:25:11 +01:00
Henrik Rydgård
4f1e0de9a9
Add missing includes. Remove some more unnecessary #ifdef _DEBUG checks - the debugger is supposed to work in release mode too.
2017-12-20 11:24:05 +01:00
Henrik Rydgård
e8825666c9
Merge pull request #10419 from hrydgard/vulkan-init-cleanup
...
Avoid including platform-specific headers in VulkanContext.h
2017-12-20 10:56:32 +01:00
Henrik Rydgård
2822a4f187
Win32: Use the standard thread APIs to manage the emu thread.
2017-12-19 15:27:56 +01:00
Henrik Rydgård
2250ef799c
Avoid including platform-specific headers in VulkanContext.h
2017-12-18 12:54:25 +01:00
Henrik Rydgård
6f0b382d9e
Move vulkan debug callback out from WindowsVulkanContext into a file that can be shared with other platforms later.
2017-12-13 19:29:42 +01:00
Unknown W. Brackets
c097910439
UI: Reset touch controls after config load.
...
This is potentially earlier than full init, better to move the controls as
soon as possible.
2017-12-09 14:11:39 -08:00
Henrik Rydgård
99b34c7b45
Use glslang to translate GLSL 1.x postshaders to GLSL 3.0 or later to appease strict GL Core drivers. Should fix #10362
...
Fixed small bugs, now tested and working on mac.
Add spirv-cross to cmake build
2017-12-08 10:25:42 +01:00
Henrik Rydgård
e3eb6d36b1
Merge pull request #10113 from unknownbrackets/core-context
...
Request a core profile in OpenGL (after 1.5.0)
2017-12-06 14:10:58 +01:00
Unknown W. Brackets
f607f41440
Windows: Stop input poll before emu shutdown.
...
Otherwise, we could crash in the input thread during host deletion.
2017-12-03 19:22:01 -08:00
Unknown W. Brackets
c30e4a9382
Windows: Request a core profile by default.
...
Also, update to OpenGL 4.6.
2017-12-03 07:00:56 -08:00
LunaMoo
3b98b37800
Clear postprocess confusion in d3d9 backend by hiding the option:]
2017-12-01 10:02:31 +01:00
Henrik Rydgård
6f80a164b4
Allow loading graphics dumps (*.ppdmp) through the regular UI.
2017-11-22 10:53:22 +01:00
Henrik Rydgård
b6911d2764
Add a hidden debug option [Graphics]GfxDebugSplitSubmit to try to narrow down some Vulkan issues, see #10163 . Also improve some asserts.
2017-11-22 10:47:04 +01:00
Henrik Rydgård
27a60f5e58
Fix message asserts on Android. Add more of them to check things in Vulkan code.
2017-11-20 12:11:47 +01:00
Henrik Rydgård
506c4eef17
Win32: Improvements to vulkan init error handling
2017-11-16 21:55:06 +01:00
Henrik Rydgård
d97ee99203
Win32: Add (debug) to window title in debug builds
2017-11-13 10:09:57 +01:00
Unknown W. Brackets
b1554ef061
Vulkan: Cut down on asserts during init.
...
In case something is horribly wrong, or our desired settings aren't
compatible, let's try to stumble our way out.
More things can fail, but the goal is to detect failure or at least be
able to render UI settings to swap out of Vulkan.
2017-11-12 21:56:55 -08:00
Henrik Rydgård
05930ea32e
MotoGP: Compat hack to disable framebuffer readbacks.
...
This is the only known game to copy its framebufer to RAM before display on every frame and we already have a
hack so we can display the high resolution framebuffer, but we still did the readback for no good reason.
This eliminates the readback.
2017-11-10 16:32:56 +01:00
Henrik Rydgård
ec504756e0
Vulkan: Improve init/shutdown logging on Android. Fix a bug where we'd not run InitDeviceObjects on GPU_Vulkan sometimes.
2017-11-09 16:02:05 +01:00