Commit graph

23396 commits

Author SHA1 Message Date
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
Henrik Rydgård
372c5e7b6d
Merge pull request #10397 from LunaMoo/DLEstuff2
Small improvement to and fix for layout screens.
2017-12-11 21:13:58 +01:00
LunaMoo
f06f9f7246 Update bounds in NativeResized as well to fix glitches on layout screens that use it. 2017-12-11 21:02:47 +01:00
LunaMoo
a931f1c133 Improve very small display on very large surface,
And change some variables to constants.
2017-12-11 20:54:20 +01:00
Henrik Rydgård
c00d06a78a
Merge pull request #10394 from LunaMoo/DLEstuff
Small display layout editor improvements
2017-12-11 17:59:23 +01:00
LunaMoo
18d0d45e7f Limit smallest zoom to match it's slider and well. 2017-12-11 16:39:01 +01:00
LunaMoo
89be17491b Respect sticky edge by center option and make it stick from smaller range 2017-12-11 16:13:52 +01:00
LunaMoo
b0b3807842 Stick display to edges of the screen/window size 2017-12-11 16:13:52 +01:00
LunaMoo
2597ca90f4 Improve display layout editor for zooming into corners, also limit the scale to 10 to match slider. 2017-12-11 16:13:51 +01:00
Henrik Rydgård
7c03d69f91
Merge pull request #10389 from unknownbrackets/remoteiso
http: Allow sharing automatically on PPSSPP start
2017-12-11 15:00:19 +01:00
Henrik Rydgård
3a44769f48
Merge pull request #10390 from unknownbrackets/vulkan
GPU: Default to Vulkan if possible
2017-12-11 09:43:27 +01:00
Unknown W. Brackets
fcdf512ee8 GPU: Rename GPUBackend setting to apply default. 2017-12-11 00:02:18 -08:00
Unknown W. Brackets
522447dca8 GPU: Default to Vulkan if possible.
Fall back to Direct3D 11 on Windows 8+ to target Windows 10 most
especially.

Default vertex cache off everyone except OpenGL where it helps the most.
2017-12-10 23:46:36 -08:00
Unknown W. Brackets
721f5877eb http: Allow sharing automatically on PPSSPP start.
Since that might always be something you want, on your desktop.
2017-12-10 18:30:28 -08:00
Henrik Rydgård
caf9eca2db
Merge pull request #10388 from unknownbrackets/ui-tween2
Transition between tab content
2017-12-11 00:21:10 +01:00
Unknown W. Brackets
ed2ac95bbb UI: Always clip tab contents.
So they don't overlap tabs or etc. on transition.
2017-12-10 14:57:58 -08:00
Unknown W. Brackets
21272a4c24 UI: Clip scissor to screen. 2017-12-10 14:57:57 -08:00
Unknown W. Brackets
f3c01cf19c UI: Transition tab strips on select.
Following their orientation setting.
2017-12-10 14:57:56 -08:00
Unknown W. Brackets
753e59c027 UI: Allow negative left/right for anchor layouts. 2017-12-10 14:57:56 -08:00
Unknown W. Brackets
6783394ae1 UI: Add tween for translating anchor offsets. 2017-12-10 14:57:55 -08:00