Commit Graph
89 Commits
Author SHA1 Message Date
Unknown W. Brackets 656fe78656 Check for ARM_shader_framebuffer_fetch.
Also, let's combine them too.  Unfortunately, the shader needs a require
that matches the one they have, so we need the individual flags also.
2015-03-07 16:09:17 -08:00
Henrik Rydgard 12010bb4ce Revert "Experiment: Disable 24-bit Z and interleaved depth/stencil on mali."
This reverts commit dd1a40653f.
2015-03-07 01:30:08 +01:00
Henrik Rydgard dd1a40653f Experiment: Disable 24-bit Z and interleaved depth/stencil on mali. 2015-03-01 21:01:49 +01:00
Unknown W. Brackets 77ff1bc1c2 Detect GLES version more accurately. 2015-02-28 12:20:33 -08:00
Unknown W. Brackets b48117d01b Fix a potential null deref.
This is null checked after dereferencing.
2015-01-17 19:47:54 -08:00
Unknown W. Brackets 7a5e182fd1 Cache the bound VBO/index buffer in glstate.
Though, the index buffer is actually part of VAO state (unlike VBOs...),
so that might change when we implement VAOs.
2015-01-11 16:52:37 -08:00
Henrik Rydgard ae9d05f6a2 Oops 2014-12-15 23:11:27 +01:00
Henrik Rydgard 072f918f78 Check shader precision when possible 2014-12-15 23:00:02 +01:00
Henrik Rydgard 277788500e Detect the terribleness of PowerVR precision issues depending on GPU revision 2014-12-15 01:12:28 +01:00
Unknown W. Brackets 8e38e177b4 Check for the EXT_gpu_shader4 extension. 2014-09-04 00:38:13 -07:00
Henrik Rydgard a9b5fe44bf Slip thin3d underneath DrawBuffer/UI 2014-08-22 20:54:23 +02:00
Unknown W. Brackets 130865577d Use glBlendEquationSeparate for ADD on alpha. 2014-08-03 21:38:29 -07:00
Unknown W. Brackets ddf67c5f72 Add glStencilMask to glstate. 2014-08-03 21:38:28 -07:00
Henrik Rydgard db6a57c8fe Try to detect GLES 3.1 as well as 3.0 2014-07-22 01:04:42 +02:00
Sacha 205423637f Remove MAY_HAVE_GLES3 2014-06-02 12:08:29 +10:00
Andrey Konoplyankin 3beac9c9b9 iOS: add GLES 3.0 support 2014-05-25 13:50:39 +07:00
Henrik Rydgard 996808254b Load glBlitFramebufferNV extension correctly 2014-05-08 10:39:45 +02:00
raven02 ba4f5984da gl_extensions.PBO_NV = strstr(extString, "GL_NV_pixel_buffer_object") != 0; 2014-05-06 15:14:50 +08:00
raven02 e70c33aa73 Add support for GL_NV_framebuffer_blit 2014-05-02 15:58:19 +08:00
Henrik Rydgard 551564b2ea Detect NV_shader_framebuffer_fetch and the EXT extension separately. 2014-04-18 19:21:28 +02:00
Unknown W. Brackets 980e6eaca6 Check for the GL_EXT_bgra extension. 2014-04-13 18:31:25 -07:00
Henrik Rydgård 9ab7a8cb90 Warning fixes 2014-04-06 16:31:32 +02:00
Henrik Rydgard 7274b8b01e For extra safety, check the GLSL version when detecting ES 3.0. 2014-03-08 19:08:39 +01:00
danyalzia f8bb0c4ccc Fix ATI bug 2014-01-15 15:11:46 +05:00
Henrik Rydgard 4cb8c4062a Get rid of "ATIClampBug" because it's not a bug. 2014-01-02 00:08:22 +01:00
raven02 63716cc085 Supports GL_EXT_shader_image_load_store as well 2013-12-28 02:40:06 +08:00
raven02 20e1d2c6c5 Add gl_extensions.ARB_shader_image_load_store 2013-12-28 02:15:36 +08:00
Henrik Rydgard 6670d0003a Set ATIClampBug on Tegra as it appears to apply. 2013-12-21 13:46:27 +01:00
Henrik Rydgard 828db2b233 Blacklist ARB_blend_func_extended on Intel. See ppsspp issue #4867 2013-12-17 12:25:19 +01:00
Henrik Rydgard c21fa64c19 Force ARB_blend_func_extended off on OpenGL < 3.0. 2013-12-17 09:09:39 +01:00
Unknown W. Brackets 50bd9d74d1 Fix ATIClampBug being true on NVIDIA/etc. cards.
I assume the logic was inversed by accident.
2013-12-15 18:20:15 -08:00
Henrik Rydgård d0d5be2c5d Logspam reductions 2013-12-09 13:44:47 +01:00
Henrik Rydgard 6aa4919c5e Check for ARB_blend_func_extended GL extension.
Also check for NV_draw_texture on desktop.
2013-12-03 20:06:05 +01:00
Sacha 60eb1a1de8 Removal of glAlphaFuncQCOM as it did not serve a purpose. 2013-11-14 13:49:12 +10:00
Henrik Rydgard 2f4099fac4 Detect EXT_unpack_subimage 2013-10-31 02:27:42 +01:00
Henrik Rydgård ad85b8e69d Ignore alpha when creating the backbuffer. Getting weird problems on some android devices.
Add BroadCom to GPU vendors
2013-10-25 12:35:53 +02:00
Henrik Rydgård 4c676c3904 Move GLExtensions to a new header that is not pulling in GL headers.
Start moving out detection functionality that does not need GL headers to gpu_features.cpp.
2013-10-25 11:43:40 +02:00
Sacha 72f980d456 Remove QCOM_binning_control detection. Qualcomm suggests not to use the extension as the GPU automatically chooses the optimal output (on-the-fly) anyway. Also, each option causes crashes on every Adreno I have tested. 2013-10-23 14:59:50 +10:00
Sacha 404652ab0b Clean up all the #ifdef's and GLES3 mess. Only Android and Blackberry (and later IOS) can run GLES3, so we'll just define those. 2013-10-23 14:55:20 +10:00
Henrik Rydgard aa67389dcd Move the GPU vendor detection to native 2013-10-16 00:46:41 +02:00
Henrik Rydgard 357d224414 Use an EGLConfigChooser to give us more control over which display config to use. 2013-10-10 11:08:38 +02:00
Henrik Rydgård 3778d8d8b1 Android: Reorganize the display resize stuff. Assorted cleanup and fixes. 2013-10-09 15:29:02 +02:00
Sacha c690d4c0e1 Buildfix for Symbian. Just don't compile GLES3 stuff at all. 2013-10-09 16:15:34 +10:00
Henrik Rydgård 0f68de275c Minor fixes 2013-10-09 00:44:45 +02:00
Henrik Rydgard 3263ebcc4c Fix gl version parsing (sort of) 2013-10-08 23:13:22 +02:00
Henrik Rydgard a9544d76dc Android buildfix 2013-10-08 23:06:30 +02:00
Henrik Rydgard cf8ee87223 Enable GLES3 on desktop where supported now that glew has been upgraded 2013-10-08 21:49:37 +02:00
Henrik Rydgard 5bbab2794a Let's not use GLES3 features on Mali for now (see #4078). 2013-10-08 20:09:10 +02:00
Henrik Rydgård 2382e34a2a Initial support for loading OpenGL ES 3.0 on Android, and checking for it. 2013-10-08 12:03:02 +02:00
Sacha 85648db42f Build fixes for Symbian. 2013-10-05 00:12:43 +10:00