dolphin/Source/Core/VideoBackends/OGL/GLExtensions
Ryan Houdek fd8757a64b Fix OpenGL 2.1 devices that support everything we need.
The only two devices that do this are Mesa software rasterizer and Intel Ironlake(With a few hacks).
Basically since it doesn't support OpenGL 3.0, it can't grab the version the new way.
So failing that, it sets to GL 2.1, and continues.

Further along, on Ironlake at least, it tries grabbing the extensions the new GL 3.0 way and fails.
So have a fallback that grabs the extensions string the old way, in probably the most elegant way possible.
2014-01-23 16:02:53 -06:00
..
ARB_ES2_compatibility.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_blend_func_extended.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_buffer_storage.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_debug_output.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_draw_elements_base_vertex.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_framebuffer_object.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_get_program_binary.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_map_buffer_range.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_sample_shading.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_sampler_objects.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_sync.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_uniform_buffer_object.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_vertex_array_object.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
ARB_viewport_array.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
GLExtensions.cpp Fix OpenGL 2.1 devices that support everything we need. 2014-01-23 16:02:53 -06:00
GLExtensions.h Move GLInterface.h into GLInterface directory 2014-01-20 00:46:21 -07:00
KHR_debug.h [GLExtensions] KHR_debug on OpenGL ES 3 has a KHR suffix on their function pointers. In Desktop OpenGL there is no suffix. So handle this correctly. Make the GrabFunction macro slightly less evil, so update the init_* to reflect it. Thanks Bh44L for the suggestion. 2014-01-17 15:56:28 +01:00
NV_framebuffer_multisample_coverage.h [GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit. 2014-01-17 15:50:51 +01:00
NV_primitive_restart.h [GLExtensions] Initial code drop for GLExtensions. This drops GLEW entirely from the codebase. This has been tested on Android and Linux+ATI. Of course untested on Windows and Apple. Also untested with Linux + EGL but should be fine there. There are most likely a couple of extensions I'm missing which would result in null pointer runs but not bad for the initial commit. 2014-01-17 15:50:51 +01:00
gl_1_1.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_1_2.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_1_3.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_1_4.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_1_5.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_2_0.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_3_0.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_3_1.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_3_2.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00
gl_common.h [GLExt-Cleanup] This cleans up some extra bits unneeded in the extension headers 2014-01-23 07:11:13 -06:00