Commit Graph

22 Commits

Author SHA1 Message Date
Unknown W. Brackets
d443c1bb30 Switch: Fix GL build typo. 2022-04-02 16:37:04 -07:00
Henrik Rydgård
cca7511e6a More base/logging.h cleanup 2020-08-15 19:09:01 +02:00
M4xw
b68191161e Switch: Add EGL interface. 2020-03-15 08:40:05 -07:00
Unknown W. Brackets
4aa4db611e Android: Allow desktop GL if available.
For example, on the SHIELD.
2018-06-18 00:37:52 -07:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Unknown W. Brackets
5094bd0ea1 Add include for Android NDK r12. 2016-07-24 12:52:24 -07:00
Unknown W. Brackets
d90527e41e Correct some missing overrides. 2016-03-20 23:05:05 -07: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
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
Unknown W. Brackets
f1afb50fd1 Shutdown EGL properly when quitting render loop. 2016-02-07 16:30:40 -08: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 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
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
Henrik Rydgard
13515bf235 Use the hardware scaler again on Android. Move all DPI handling code from java to app-android.cpp. 2015-12-16 14:52:44 +01:00
Henrik Rydgard
04f8bffa29 Use EGL from native code to initialize and run OpenGL on Android.
Should be more robust, allows initializing desktop GL if available, and lets us take control of the render loop.
2015-12-16 10:57:24 +01:00
Henrik Rydgard
c2eb6a2fcb Minimal port of Android EGL code from Dolphin. 2015-12-13 22:46:50 +01:00