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
Unknown W. Brackets
79dc857527
Core: Refactor screenshot saving.
...
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Henrik Rydgård
9f02e9c4f0
Android cmake fix
2017-12-22 00:02:46 +01:00
Henrik Rydgård
9679964b85
Merge pull request #10428 from jbeich/bsd
...
SDL fails to build without Vulkan
2017-12-21 22:58:38 +01:00
Jan Beich
d4984ab991
SDL: unbreak on more non-Vulkan platforms
...
SDL/SDLMain.cpp:160:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'?
SDL_SysWMinfo sysInfo; //Will hold our Window information
^~~~~~~~~~~~~
SDL_SysWMmsg
SDL/SDLMain.cpp:433:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'?
SDL_SysWMinfo sys_info{};
^~~~~~~~~~~~~
SDL_SysWMmsg
SDL/SDLMain.cpp:440:2: warning: expression result unused [-Wunused-value]
Window x11_window = sys_info.info.x11.window;
^~~~~~
2017-12-21 21:31:26 +00:00
Henrik Rydgård
4d1c8ae979
Merge pull request #10427 from unknownbrackets/gl-pack-len
...
Use GL_PACK_ROW_LENGTH where possible
2017-12-21 22:13:10 +01:00
Unknown W. Brackets
8e2682d93c
GLES: Reduce conversion buf size if possible.
...
No need to use the stride for the temp buf. May avoid issues if the
driver crashes when reading outside the FBO.
2017-12-21 12:02:45 -08:00
Unknown W. Brackets
30871bfcd1
GLES: Avoid buffer on GLES2 for h=1 / CLUT.
2017-12-21 11:52:11 -08:00
Unknown W. Brackets
78ebe942ab
Vulkan: Cleanup unused code.
2017-12-21 11:43:05 -08:00
Unknown W. Brackets
75aa65908c
GLES: Pack without stride where possible.
...
This may possibly help #10425 in case the behavior is different when going
over width when reading pixels.
2017-12-21 11:41:53 -08:00
Henrik Rydgård
fe45a059b5
SDL: Fix OpenGL init again. Fixes #10424
2017-12-21 17:36:00 +01:00
Henrik Rydgård
99f8c19d6a
Merge pull request #10413 from hrydgard/x11-vulkan-init
...
SDL/X11 Vulkan init
2017-12-21 14:52:01 +01:00
Henrik Rydgård
f73ec4608e
Build Vulkan on all platforms, won't be used if not supported.
2017-12-21 14:13:55 +01:00
Henrik Rydgård
9007abddbf
Get Vulkan going on Linux
2017-12-21 11:02:11 +01:00
Henrik Rydgård
7f758d52dc
Statically link a vulkan loader on Linux. Use to to init vulkan on X11. Unfortunately, it's broken.
2017-12-21 11:02:11 +01:00
Henrik Rydgård
6d6ad3ed14
Cleanups in PCMain.cpp
2017-12-21 10:52:48 +01:00
Henrik Rydgård
ea387b2a48
WIP vulkan on linux stuff
2017-12-21 10:48:00 +01:00
Henrik Rydgård
c27d64f273
Merge pull request #10423 from psyke83/gles2_ctx_fix
...
SDL: really try lower GL profiles & add GLES context support
2017-12-20 20:42:30 +01:00
Conn O'Griofa
d67d201681
SDL: really try lower GL profiles & add GLES context support
...
* When compiled with USING_GLES2, attempt to use only valid ES context
versions.
* Ensure that lower profiles are attempted correctly rather than
prematurely returning from the function after the first failure.
Needed for Raspberry Pi to successfully launch.
2017-12-20 16:28:53 +00:00
Henrik Rydgård
b0528f3794
Vulkan: Fix bug where we'd do the initial layout transition for an image before binding memory to it. Should help the issue uncovered in #10413
2017-12-20 16:40:09 +01: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
Unknown W. Brackets
8ff9a0465c
Merge pull request #10422 from psyke83/patch-1
...
CMakeLists: relocate EGL library name detection
2017-12-20 02:43:29 -05:00
Conn O'Griofa
20080ba123
CMakeLists: relocate EGL library name detection
...
Raspberry Pi targets require a custom EGL library name (configured in cmake/Toolchains/raspberry.armv*.cmake). Move configuration of EGL_LIBRARIES for generic targets out of SDL2 target to ensure correct library name is used everywhere (including QT builds).
Fixes build on Raspberry Pi.
2017-12-20 03:38:01 +00:00
Henrik Rydgård
740d0504ad
Move QtMain.cpp and PCMain.cpp to more sensible locations. Native isn't standalone anymore...
2017-12-19 18:04:26 +01:00
Henrik Rydgård
5c1dad9909
Remove more obsolete ifdefs
2017-12-19 17:59:00 +01:00
Henrik Rydgård
a1f029fe1f
Some ifdef cleanup.
2017-12-19 15:42:18 +01:00
Henrik Rydgård
1a5d1081f9
Get rid of the old custom "Event" sync primitive.
2017-12-19 15:38:18 +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
525cce095a
Implement warning when trying to play Ghost of Sparta with a modified CPU clock, as suggested by unknownbrackets in #7411
2017-12-17 13:14:06 +01:00
Henrik Rydgård
ef66892f70
Update vulkan headers, add linux .so loader lib for easy builds, like Sascha does.
2017-12-15 16:40:38 +01:00
Henrik Rydgård
dc6a4ea753
Fix annoying name clashes (Status is in X11 headers..)
2017-12-15 16:34:29 +01:00
Henrik Rydgård
e488227398
Just some log cleanup
2017-12-15 16:33:49 +01:00
Henrik Rydgård
c55847a79e
Fix typo causing #10408
2017-12-14 00:23:07 +01:00
Henrik Rydgård
b4a44c5e02
Another buildfix, sigh. Also extend the safe region a little bit to the thing from a couple commits ago.
2017-12-13 22:28:30 +01:00
Henrik Rydgård
d2fe5abb84
Add a tiny bit of safety margin to the RipAccessible check. Should be enough for 128-bit SSE data.
2017-12-13 22:00:59 +01:00
Henrik Rydgård
4fae9e37d4
Update lang submodule
2017-12-13 20:51:47 +01:00
Henrik Rydgård
aaba38259a
Oops, buildfix
2017-12-13 20:51:17 +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
Henrik Rydgård
6fb2d1fa67
Merge pull request #10404 from unknownbrackets/ui-tween
...
UI: Improve initial permission grant
2017-12-13 09:55:33 +01:00
Unknown W. Brackets
21e02e1635
UI: Properly center storage perm prompt.
...
IMHO it was always a hack to add it to the tabgroup directly.
2017-12-12 21:38:45 -08:00
Unknown W. Brackets
c78031b4b5
UI: Use less space with recent + need storage.
...
In case the recents are interesting, let's push it down. It covered more
space than needed before.
2017-12-12 21:35:18 -08:00
Unknown W. Brackets
09bbd58b62
UI: Allow skipping transitions on set current tab.
2017-12-12 21:34:17 -08:00
Henrik Rydgård
548c727787
Merge pull request #10400 from unknownbrackets/ui-tween
...
UI: Fix vertical layout settings tabs
2017-12-12 09:25:20 +01:00
Unknown W. Brackets
e7c9bb2a17
UI: Fix AnchorLayout size when wrapping content.
...
Without this, they don't actually report back their measured size when
they are set to wrap content, but just keep 0.
2017-12-12 00:19:38 -08:00
Unknown W. Brackets
d9282d4e76
UI: Pass UNSPECIFIED through on scroll views.
...
Otherwise we could end up with zero width things, just because they wrap
content.
2017-12-12 00:18:37 -08:00
Unknown W. Brackets
52ee2f7790
UI: Give ItemHeaders intrinsic size.
2017-12-12 00:16:05 -08:00
Unknown W. Brackets
48c0407f21
UI: Add flex pressure to tab content.
...
On vertical game settings, didn't end up with size at all. But even with
that fixed, they don't properly fill their parent.
2017-12-11 23:05:08 -08:00