Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
f01ba6dc84
Move NativeApp.h to Common/System, split into NativeApp.h and System.h
...
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437
Move Display.cpp/h to Common.
2020-10-04 11:42:16 +02:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +02:00
Henrik Rydgård
80e0f85332
Getting really close to getting rid of base/logging.h now.
...
Qt buildfix
2020-08-15 19:09:01 +02:00
Henrik Rydgård
6560192d8e
Support full VSync control in SDL OpenGL.
...
(Not yet Qt).
Forgot about iOS
SDL headless buildfix
Additional iOS buildfix
2020-07-19 12:07:16 +02:00
Unknown W. Brackets
b46bf8e4e7
SDL: Try to continue if EGL init fails.
...
Probably we should just stop using EGL on SDL2, but I'm not sure if
that's making things work for some users. But if EGL init fails, try
to avoid a segfault and skip EGL.
Should help #12474 .
2020-05-23 16:26:47 -07:00
Unknown W. Brackets
54a393386f
SDL: Use whatever display SDL gives us for EGL.
2019-07-06 12:33:37 -07:00
hissingshark
58b473a64c
Fix build error
2019-06-11 12:52:05 +01:00
Unknown W. Brackets
edbefa8ee2
SDL: Adjust EGL config choice heuristics.
...
See #12049 :
* Require EGL_WINDOW_BIT more strongly.
* Allow EGL_NON_CONFORMANT_CONFIG (but still not EGL_SLOW_CONFIG.)
2019-06-10 17:43:16 -07:00
Unknown W. Brackets
ff9911deb5
SDL: Fix compile error when not using FBDEV.
2019-03-23 07:26:47 -07:00
Henrik Rydgård
d7f3f15b85
Add missing line to SDL EGL init (no way this path could have worked anywhere?)
2019-02-27 11:26:31 +01:00
Henrik Rydgård
e715fe0382
EGL errors should cause us to bail. Also downweight alpha in the EGL config chooser. See #11839
2019-02-27 10:33:36 +01:00
Henrik Rydgård
b8e56b361e
EGL: Avoid HDR mode. Uses unknownbrackets' changes from #11839 .
2019-02-26 08:57:51 +01: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
1b41759051
SDL: Avoid alpha on Mali/ARM devices using GLES.
...
See #10534 .
2018-06-16 16:19:17 -07:00
hissingshark
84273ff5eb
SDL: Buildfixes for EGL lookup.
2018-06-16 16:12:43 -07:00
Unknown W. Brackets
3b8a847654
SDL: Allow more EGL configs.
...
This attempts to choose the "best" config using weights.
2018-06-16 16:12:43 -07:00
Unknown W. Brackets
9be20323ef
SDL: Start with window hidden.
...
This fixes start in fullscreen on Mac. Otherwise, it animates to
fullscreen and back for every GL init attempt.
2018-06-09 16:57:00 -07:00
Unknown W. Brackets
a7023ac542
SDL: Move EGL init code into SDLGLGraphicsContext.
...
It should really be cleaned up, but I'm not sure if EGL_Open can be
moved later and don't currently have a setup to test, so I'm just
cargo culting.
2018-06-05 23:02:50 -07:00
Unknown W. Brackets
78a41980df
SDL: Use fullscreen for mobile/GLES.
...
Also, allow resize for Vulkan outside mobile.
Thanks go to hissingshark.
2018-06-05 20:40:58 -07:00
Unknown W. Brackets
f2a75719d8
SDL: Properly try multiple GL versions.
...
Thanks go to hissingshark.
2018-06-05 20:40:50 -07:00
Henrik Rydgård
4b4a2a4096
Buildfixes
2018-02-25 11:25:16 +01:00
Henrik Rydgård
99386da01e
Minor cleanups
2018-02-04 13:42:04 +01:00
Henrik Rydgård
85446d6c51
Split the SDL graphics contexts into their own files.
2018-02-04 13:42:04 +01:00