Unknown W. Brackets
82205a4660
Handle Vulkan init errors more gracefully.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
fe270c592a
Typo fix
2016-03-20 19:31:02 +01:00
Henrik Rydgard
b0098f7961
Replace ugly workaround with VK_LAYER_LUNARG_unique_objects which prevents handle reuse.
...
See https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/121
2016-03-20 19:31:02 +01:00
Henrik Rydgard
575cc890b7
Turn off annoying "debug flicker" I used to see if we were swapping buffers properly early on
...
Also minor logging changes, refine the false-positive debug layer check
2016-03-20 19:31:02 +01:00
Henrik Rydgard
5ca012e83d
Fix a bunch of new vulkan validation layer failures.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
6e2e0bfa33
Should not specify the Vulkan patch version when requesting Vulkan 1.0.
2016-03-20 19:31:02 +01:00
Unknown W. Brackets
c92790c5a8
Specify a useful app version when loading Vulkan.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
432fbe30d1
Vulkan: We're doing dual src blending wrong (GLSL part, not sure how to do it right) so disable it.
2016-03-20 19:31:02 +01:00
Henrik Rydgard
b06cf4e688
Re-fix depth buffer initialization
2016-03-20 19:30:39 +01:00
Henrik Rydgård
9c457da4c9
Gets the Vulkan backend running, but not drawing correctly, on Android.
...
Not sure what's wrong, I get a yellow flashing screen.
2016-03-20 19:30:39 +01:00
Scott Mansell
77420f799e
VulkanLoader: Detect loader failure on windows.
2016-03-20 19:30:39 +01:00
Scott Mansell
e97a6c6f77
VulkanLoader: Load vkDestroySurfaceKHR
2016-03-20 19:30:39 +01:00
Henrik Rydgard
d325aa2b30
Hook up Vulkan on Android, no idea if it works. Move VulkanContext to Common.
2016-03-20 19:30:11 +01:00
Henrik Rydgard
2481714a8e
Load Vulkan dynamically. Fix Android build (though - Vulkan is not working on Android yet)
2016-03-20 19:30:11 +01:00
Henrik Rydgard
4063f7e0db
Fill out GPU_Vulkan.cpp with what's mostly a copy of GLES_GPU.cpp
2016-03-20 19:30:11 +01:00
Henrik Rydgard
2a71e164f5
Enable vulkan validation
2016-03-20 19:25:30 +01:00
Henrik Rydgard
2a449f78bb
More vulkan fixing
2016-03-20 19:25:30 +01:00
Henrik Rydgard
eedd81988c
Implement a trivial SPIR-V disassembler, just for fun
2016-03-20 19:18:35 +01:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Henrik Rydgard
ec6559537b
Android EGL: Experiment: Only apply the 16-bit workaround on really old devices.
2016-03-13 15:17:31 +01:00
Unknown W. Brackets
f1f046d885
Remove now-unused mutex implementation.
2016-03-06 14:49:16 -08:00
Unknown W. Brackets
da03b80c97
Standardize on just one mutex implementation.
2016-03-06 14:49:15 -08:00
Henrik Rydgard
88f25fd50e
x86-64: Fix L bit in VEX instruction emitter. Ported fix from Citra.
...
Currently unused in the emulator, though.
2016-02-28 13:07:24 +01:00
Henrik Rydgard
05d4caeeaf
Buildfix
2016-02-21 12:14:44 +01:00
Henrik Rydgard
76e1d074ec
Logging improvements in EGL init
2016-02-21 11:40:02 +01:00
Henrik Rydgard
35b6c7341b
Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
...
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
f1afb50fd1
Shutdown EGL properly when quitting render loop.
2016-02-07 16:30:40 -08:00
Henrik Rydgard
da528d15ad
ARM32 emitter: Tighten up distance check for forward jumps. Was off by one.
2016-01-30 21:38:42 +01:00
Henrik Rydgard
e0cba1dd5a
EGL: Try again with ES 2 if we fail to create an ES 3 context.
2016-01-24 11:33:02 +01:00
Henrik Rydgård
19b0858d5e
Merge pull request #8490 from unknownbrackets/ui-tweaks
...
Show save state titles in the save state manager
2016-01-24 00:51:04 +01:00
Unknown W. Brackets
6a5096e546
Save the game title in savestates, if available.
...
So that the UI can show them. Old savestates still load fine, just don't
have the title.
2016-01-23 12:56:36 -08:00
Henrik Rydgard
81fe914137
More EGL heuristics
2016-01-23 19:16:46 +01:00
Henrik Rydgard
1d6e48b817
Even more EGL logging
2016-01-23 18:42:05 +01:00
Henrik Rydgard
1a02274def
A little bit more EGL logging
2016-01-23 18:31:34 +01:00
Henrik Rydgard
4155712113
Improve EGL logging, fallback to a really simple config if the normal one fails. May help #8469 , if not may at least give us more info.
2016-01-23 13:17:53 +01:00
Henrik Rydgard
3ba911bf07
Replace some calls to fopen with File::OpenCFile (utf8).
2016-01-17 15:59:20 +01:00
Unknown W. Brackets
da78ec0b4d
Use USING_WIN_UI for desktop Windows console.
2016-01-03 15:10:50 -08:00
Unknown W. Brackets
d165680ee7
Don't assume _MSC_VER / _WIN32 mean x86/x64.
2016-01-03 15:07:36 -08:00
Henrik Rydgård
b29f46f9ac
Merge pull request #8363 from unknownbrackets/jit-alloc
...
Jit: Properly re-allocate when jit is freed a lot
2016-01-03 18:55:12 +01:00
Unknown W. Brackets
f3a616df24
Jit: Properly re-allocate when jit is freed a lot.
...
Fixes #8334 .
2016-01-02 13:24:58 -08:00
Henrik Rydgard
ae3458ec6e
Buildfixes linux
2016-01-01 14:40:17 +01:00
Henrik Rydgard
15de6e6b98
GraphicsContext: Abstract away things like swapbuffers etc before adding even more backends.
...
Needed to prevent clutter all over the codebase.
Does not go all the way yet, goal would be a common render loop between platforms but not there yet.
2016-01-01 14:40:16 +01:00
gmvbif
281f0e18e6
Fixed some errors from PVS-Studio in Core project
...
FixedSizeQueue
- Added private operator=
- Changed signature of EndPop
Some changed to printf like functions.
Fixed typo in syn-att.c
2015-12-31 10:25:11 +03:00
latot
c7b98b84c2
Add extended keys(latam)
2015-12-27 15:45:50 -03:00
gmvbif
dff476c4f4
Make field for HWND in ConsoleListener
2015-12-26 09:54:34 +03:00
gmvbif
ae1c1a0295
Fixed some errors from PVS-Studio in Common project
...
Color conversion assigned 'a' twice.
Console listener use local variable with the same name a class member.
Some additionals to nocopy for FileUtils and mutex
2015-12-25 09:49:26 +03:00
Unknown W. Brackets
103b959d50
Fix a type comparison warning.
2015-12-23 15:22:13 -08:00
Henrik Rydgard
ebf9bd74c6
Minor fixes
2015-12-17 19:38:23 +01:00
Henrik Rydgard
fd2557dbd7
EGL: Add autodetect mode that only chooses between ES2 and ES3
2015-12-16 21:48:19 +01:00
Henrik Rydgard
db633aa377
Lots more debug logging. Terrifying compatibility hack for devices that for some reason create 16-bit buffers.
...
Like Xperia Play.
2015-12-16 21:37:39 +01:00