Commit Graph
56 Commits
Author SHA1 Message Date
Henrik Rydgård bf72f746ea Remove base/logging.h from a whole bunch of files in native 2020-08-15 19:09:00 +02:00
twinaphex f958ed5817 Add custom GLEW - interfaces with libretro get_proc_address -
we need this for compatibility with DRM/KMS and Wayland contexts -
otherwise we're limited to GLX context
2020-07-12 23:51:57 +02:00
Unknown W. Brackets dddaa57392 Windows: Fix GL reinit on backend switch. 2020-05-09 12:20:42 -07:00
Henrik Rydgård 50920266d1 Remove some logging, add a comment. 2019-09-17 10:52:28 +02:00
Henrik Rydgård a7ab5d5dba Oops, missed these two 2019-05-10 23:46:31 +02:00
Henrik Rydgård 2f26297062 Clean up some more ifdefs 2019-05-10 23:25:57 +02:00
Henrik Rydgård 22d9ab4dbe Fix #12023, accidental disabling of the GL backend on non-Windows ARM platform caused by #12013. 2019-05-09 23:59:29 +02:00
driver1998 0aa33d53c0 Disable features not available on Windows ARM32/ARM64
ARM32: OpenGL & DirectInput
ARM64: OpenGL
2019-05-04 22:45:16 +08:00
Henrik Rydgård 1f4c1cee2d Disable more texcoord math on terrible-precision PowerVR (it's really awful). Fixes #9189. 2019-02-26 10:39:17 +01:00
vit9696 27d216ea25 Fix postprocessing shader support on macOS
Check GL_ARB_shading_language_420pack availability, which SPIRV-Cross assumes
present by default, causing explicit binding location generation during shader
translation.
2019-02-22 06:34:37 +03:00
Henrik Rydgård 12f295c4a5 GLES: Detect Vivante GPU, disable vertex range culling
Should work-around #11703
2019-01-03 12:43:32 +01:00
Henrik RydgårdandGitHub 8e17caf351 Merge pull request #11694 from unknownbrackets/draw-bugs
Vulkan: Limit stencil workaround to Adreno 5xx
2018-12-26 20:46:09 +01:00
Unknown W. Brackets 58ef662a65 GLES: Remove FBO_UNUSABLE bug check.
Was no longer affecting behavior...
2018-12-23 20:27:22 -08:00
Unknown W. Brackets adeca2c3ba GLES: Move some vendor bug checks to Draw. 2018-12-23 20:27:22 -08:00
Unknown W. Brackets e46701dee6 GLES: Specify glsl version precisely in depal.
Should prevent more of #11588 on vertex shaders, and may help Apple
devices some too.
2018-12-23 20:08:08 -08:00
Unknown W. Brackets dc54ed6855 GLES: Add disabled code to run GLES on desktop.
Helps when testing certain extensions, etc.
2018-10-28 14:29:44 -07:00
Unknown W. Brackets e301d3bbd6 GLES: Detect ARB aniso and cull distance. 2018-10-28 13:27:44 -07:00
Henrik Rydgård 842290b6dd Workaround for bad int behaviour on Adreno / GLES. (no problems in
Vulkan).

See #11480, should help #11479.
2018-10-20 13:22:14 +02:00
Unknown W. Brackets d1929eaca2 GLES: Properly parse GL extension names.
We must split on spaces and not just lazily use strstr, see #11363.
2018-09-24 23:05:58 -07:00
Unknown W. Brackets f87dcefdd8 Android: Buildfix for CMake.
May affect other arm64 too.  Also, ifdef out a check in case of compiling
with GL 3 headers (to fix a Linux buildbot issue.)
2018-09-03 18:41:52 -07:00
AreaScout 45753d87de Add: EGL info for GLES on Linux 2018-08-30 16:28:34 +00:00
Unknown W. Brackets 4aa4db611e Android: Allow desktop GL if available.
For example, on the SHIELD.
2018-06-18 00:37:52 -07:00
Unknown W. Brackets 0d2de36258 GLES: Use accurate GLSL ver in postshader convert. 2018-06-14 20:31:58 -07:00
aliaspider 0af6d573bb remove all usage of __LIBRETRO__ 2018-03-24 12:45:20 +01:00
Henrik Rydgård 1b9c2f26f9 Whitelist mapbuffer usage to NVIDIA only (should maybe add Qualcomm too), it's murder on Mali 2018-02-12 11:46:19 +01:00
Unknown W. Brackets 20b532fc71 GLES: Use buffer storage and explicit flush.
This is just as fast as using glMapBufferRange on desktop.
2018-02-11 13:14:28 -08:00
Henrik Rydgård ccdb4d186d gl-render-manager: Fix HW tesselation. Remove 1D texture support, likely no benefit. 2018-01-27 15:10:17 +01:00
Henrik Rydgård 2c86217552 Cleanup GPU vendor detection a bit, use it to avoid the issue mentioned in #9545 2017-11-21 16:19:28 +01:00
Henrik Rydgård ed602a3319 UWP buildfix. See comments in #9575 2017-10-11 14:27:50 +02:00
Unknown W. Brackets 1802d7a45e GLSL: Set extension flags for elided core exts.
So that we know we have them, i.e. on Apple.
2017-09-20 12:23:11 -07:00
Unknown W. Brackets e754cca288 GLES: Add OpenGL 3.x core profile support.
Need to define #version everywhere and avoid varying/etc.
2017-09-20 12:22:01 -07:00
twinaphex 4855b2d6f1 mingw patches 2017-08-31 22:15:05 +02:00
Unknown W. Brackets c711b00d4c GPU: Clean up some GLES3 defaults.
It should default both of them the same way.  And we already set subimage
on desktop.
2017-07-01 16:16:59 -07:00
Henrik Rydgård 21fe73c8e7 Switch strncpy to truncate_cpy in a bunch of places. 2017-05-26 19:04:08 +02:00
EnybyandGitHub f7deda22ae Update gpu_features.cpp
Add additional check for valid parsing GL ES version by driver for work on some bad drivers. See #9688
2017-05-19 00:02:10 +03:00
EnybyandGitHub 66507e6607 Update gpu_features.cpp
Example of string 'OpenGL ES 2.0 (4.0.0 - Build 10.18.10.4226)'. Old code get 0.0 from it.
New code work right.
2017-05-16 13:26:49 +03:00
Henrik Rydgard 6b46f8ea52 Some paranoia in CheckGLExtensions, due to a reported crash in strlen() 2017-04-02 23:59:17 +02:00
xebra 04e1e1a460 GLES:Fix compatibility checks for instanced rendering. 2017-03-26 19:00:20 +09:00
xebra b9a9a509ae GLES:Remove texture_half_float extension. 2017-03-13 01:02:05 +09:00
Henrik Rydgard f95459ab0d Fix bug where we tried to set aniso even if unsupported. Fixes #9377 2017-03-03 14:16:15 +01:00
Henrik Rydgard 03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
Henrik Rydgard f5fa238e22 More minor changes to make GPU and native build on UWP later 2017-02-24 20:26:38 +01:00
xebra 7bdfbd81af Fix OES_texture_npot to GL_OES_texture_npot. 2017-02-01 21:38:06 +09:00
xebra 918bee8801 Add support OES_texture_half_float. 2017-02-01 14:37:03 +09:00
xebra 51c34e8157 Fix OES_texture_float to GL_OES_texture_float. 2017-02-01 12:30:36 +09:00
xebra d6fe5d4ba0 Add supports floating-point-texture into GL extensions. 2017-01-31 23:37:05 +09: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
Florent Castelli 373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets 086dc9e0ed Move Apple GL2.0 forcing to a common place. 2016-08-08 17:56:11 -07:00
Unknown W. Brackets 6088c7d5f5 Ensure elided core profile extensions are set. 2016-08-08 17:56:11 -07:00