Conn O'Griofa
18edfefa0a
SDL: ensure swap interval is set correctly for SDL2 kmsdrm driver
...
It appears that SDL2's kmsdrm driver ignores the swap interval setting
if the SDL context has not yet been created. Moving the call to after context
creation allows it to work as expected.
Fixes vsync when running ppsspp in a KMS context using the SDL2 kmsdrm driver
(which is especially useful for Raspberry Pi 4 B, but is also needed for other
systems including Raspberry Pi 3B via firmware KMS & Intel Haswell i965 via
KMS on x64).
2019-10-03 07:40:19 +01:00
Unknown W. Brackets
5871ab0538
UI: Stop caching the draw context in coreParam.
...
This is possibly getting outdated in some paths of graphics reinit, and
then causing crashes. Let's just always get it from the graphicsContext.
2019-09-28 21:58:15 -07:00
Unknown W. Brackets
c3ae97e237
Travis: Build Windows on Travis too.
2019-07-06 14:56:29 -07:00
Unknown W. Brackets
7d2b332b2d
Audio: Improve error messages for sample counts.
2019-06-30 16:39:14 -07:00
Henrik Rydgård
efa1406d8f
VS2017: Add hack to automatically select the newest installed Windows 10 SDK. VS2019 already does this by default if you specify 10.0.
...
Should hopefully fix the buildbot.
2019-05-19 15:23:25 +02:00
Henrik Rydgård
fe77b836c7
Spacing fix
2019-05-11 06:41:55 +02:00
Henrik Rydgård
2f26297062
Clean up some more ifdefs
2019-05-10 23:25:57 +02:00
Henrik Rydgård
20d666ff55
Remove DbgNew.h forced include in ARM debug builds, doesn't work for some reason.
2019-05-10 23:18:31 +02:00
Henrik Rydgård
1f40aa4828
Add WindowsSDKDesktopARM64Support to vcxproj files
2019-05-10 22:44:12 +02:00
Henrik Rydgård
c3fab33354
Revert "Remove default SDK version from project files"
...
Seems to have been the wrong thing to do, see:
https://developercommunity.visualstudio.com/content/problem/140294/windowstargetplatformversion-makes-it-impossible-t.html
Though due to the bug described there, there's no perfect solution, just
some ugly ones (which I might try later). Anyway, I guess most people
will move on to VS 2019 anyway..
This reverts commit 056494522e
.
2019-05-09 23:58:23 +02:00
driver1998
87f43d51ef
Fix UnixTests and HeadlessHost on ARM
2019-05-04 23:56:55 +08:00
driver1998
0aa33d53c0
Disable features not available on Windows ARM32/ARM64
...
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
driver1998
763b85d723
Update Visual Studio project files for Windows ARM32/ARM64
2019-05-04 22:45:15 +08:00
LunaMoo
056494522e
Remove default SDK version from project files
2019-04-27 23:01:41 +02:00
LunaMoo
280f7fec39
Fix VS2019 builds and remove _xp dependency
...
(drops Win XP support, allows latest SDK etc.)
2019-04-25 23:56:55 +02:00
Henrik Rydgård
703fdc5561
MSVC project files: Fix silly search/replace error from #11883
2019-03-24 11:17:47 +01:00
Henrik Rydgård
4d5af330a7
Windows: Change FP model to Precise. See #11384
2019-03-14 10:59:35 +01:00
Unknown W. Brackets
adeca2c3ba
GLES: Move some vendor bug checks to Draw.
2018-12-23 20:27:22 -08:00
Henrik Rydgard
56bc7b1d52
Remove outdated TrueColor setting.
2018-12-14 16:13:44 +01:00
xebra
070e29d921
Disable "Edit & Continue" with VS debug mode.
2018-12-07 13:01:16 +09:00
Unknown W. Brackets
d573bf9cc9
Headless: Fix compare for 16-bit output.
...
Most tests have been 32-bit output, so haven't run into this. Enables
tests with softgpu to generate 16-bit output.
2018-11-30 17:46:47 -08:00
Unknown W. Brackets
703181607e
GPU: Apply color test after doubling.
2018-09-09 20:09:48 -07:00
Unknown W. Brackets
28be6cc4cc
Headless: Fix graphics compare tests.
...
Shadowing.
2018-08-24 20:53:40 -07:00
Henrik Rydgård
6f173b9134
Harmonize some VS project settings.
2018-08-14 22:41:39 +02:00
Unknown W. Brackets
78dc07e7a3
Headless: Fix graphics tests for Vulkan/Direct3D.
...
Otherwise we hang because there's no thread to ever end.
2018-07-29 11:26:04 -07:00
Henrik Rydgård
4cfc6ee272
Merge pull request #11187 from unknownbrackets/alt-speed
...
Add second alternate speed and buttons for alt speed
2018-06-24 13:41:12 +02:00
Unknown W. Brackets
e2c217ab29
Core: More consistently use config enums.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
b4496f1975
Core: Move config enums to separate file.
...
These are a bit strewn about and there are constants that aren't
consistently used, which just adds confusion.
2018-06-23 10:59:18 -07:00
Unknown W. Brackets
0d4bd341e9
Windows: Separate Pause and Break actions.
...
It was confusing that "Pause" made PPSSPP appear to hang.
This has the side effect of making "Break on Load" work outside Windows.
2018-06-23 10:14:36 -07:00
Unknown W. Brackets
03edd6129a
GLES: Cut down on use of USING_GLES2.
2018-06-17 20:51:34 -07:00
Unknown W. Brackets
6592c6222a
http: Check fread() result to avoid warning.
...
This will cause the length not to match the result if it happens, but the
client should interpret that as a server error.
Also a similar error in headless.
2018-06-17 11:02:26 -07:00
Unknown W. Brackets
16e0a7cc8e
Headless: Default memory stick inserted.
...
Tests expect this, oops.
2018-06-06 05:54:39 -07:00
Henrik Rydgård
36fd2711d6
Revert "Remove further remains of hardware skinning."
...
This reverts commit 40db61a680
.
2018-04-10 12:22:41 +02:00
Henrik Rydgård
0130e75852
Merge pull request #10801 from unknownbrackets/sdl-shutdown
...
Fix shutdown segfault in SDL, fix headless
2018-03-26 21:10:48 +02:00
Unknown W. Brackets
0366e05c44
Headless: Quick update to use render thread.
2018-03-25 14:49:22 -07:00
Unknown W. Brackets
2c493f3633
Headless: Add simple GL thread handling.
...
Because of the way headless works and runs tests, it was a lot simpler to
use a separate thread (unlike elsewhere) for the GL rendering. Hopefully
this difference doesn't bite us later.
2018-03-25 09:47:56 -07:00
Henrik Rydgård
40db61a680
Remove further remains of hardware skinning. Fixes #10661
2018-03-05 00:03:47 +01:00
Henrik Rydgård
5f8118b82b
Separate T3DCreate* into its own header to avoid including Windows.h etc in some cases.
2018-02-25 10:27:59 +01:00
Henrik Rydgård
ea50561c80
Merge pull request #10454 from unknownbrackets/gpu-minor
...
Vulkan: Use depth clamping, where available
2017-12-27 11:11:18 +01:00
Unknown W. Brackets
496b2bff35
Vulkan: Fix fragment depth rounding.
...
Was slightly off in the accurate depth path.
2017-12-26 16:19:11 -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
Henrik Rydgård
7d0fc9ce65
Rework GL lost-device to work more like Vulkan. Gets rid of gl_lost manager etc.
2017-12-07 15:05:59 +01:00
Henrik Rydgård
023c3736c6
Disable anisotropic filtering in headless, screws up mipmap test
2017-11-15 18:14:04 +01:00
Henrik Rydgård
830645e7c5
Fix headless to work better in vulkan mode
2017-11-15 15:35:15 +01:00
Unknown W. Brackets
9080f41642
Headless: Prevent segfaults with Vulkan.
2017-11-14 22:34:18 -08:00
Henrik Rydgård
d618b3673b
Count readbacks in a frame and show in GPU debug stats.
2017-11-08 11:57:53 +01:00
Henrik Rydgård
b9ba525de1
Don't call functions in asserts, they get compiled out in release...
2017-10-20 14:45:00 +02:00
Henrik Rydgård
017d3da067
Allow D3D9 context creation to bail if shader compilation fails (D3D9 runtime not installed).
...
Fixes an issue where after switching to D3D9 on a PC without the D3D9 runtime, it's impossible to start PPSSPP anymore.
2017-10-20 11:53:07 +02:00
Unknown W. Brackets
40f663664b
Headless: Oops, call SDL_Init().
2017-09-20 10:49:32 -07:00
Unknown W. Brackets
7db9dfb50b
Headless: Reduce some duplication.
...
We can share the screenshot code for SDL.
2017-09-20 09:25:28 -07:00