qzdoom-gpl/src/gl
Christoph Oelckers 86d37e06f9 - lowered requirements of GL 2.x to OpenGL 3.3.
There was one issue preventing the previous 2.0 betas from running under GL 3.x: The lack of persistently mapped buffers.
For the dynamic light buffer today's changes take care of that problem.
For the vertex buffer there is no good workaround but we can use immediate mode render calls instead which have been reinstated.

To handle the current setup, the engine first tries to get a core profile context and checks for presence of GL 4.4 or the GL_ARB_buffer_storage extension.
If this fails the context is deleted again and a compatibility context retrieved which is then used for 'old style' rendering which does work on older GL versions.

This new version does not support GL 3.2 or lower, meaning that Intel GMA 3000 or lower is not supported. The reason for this is that the engine uses a few GL 3.3 features which are not present in the latest Intel driver.
In general the Intel GMA 3000 is far too weak, though, to run the demanding shader of GZDoom 2.x, so this is no real loss. Performance would be far from satisfying.

A command line option '-gl3' exists to force the fallback render path. On my Geforce 550Ti there's approx. 10% performance loss on this path.
2014-08-19 15:56:33 +02:00
..
data - lowered requirements of GL 2.x to OpenGL 3.3. 2014-08-19 15:56:33 +02:00
dynlights - screwed by the editor's autocompletion... (wrong GL flag was used...) 2014-08-19 14:25:47 +02:00
hqnx - don't depend on stdint.h because older MSVC versions do not have it. 2014-05-01 12:30:56 +02:00
models Merge branch 'master' into Glew_Version_For_Real 2014-07-27 21:57:38 +02:00
renderer - allow reallocation of light buffer if more lights are needed. 2014-08-19 14:18:21 +02:00
scene - screwed by the editor's autocompletion... (wrong GL flag was used...) 2014-08-19 14:25:47 +02:00
shaders - at least for Intel GMA we need shaders without 'discard' to render non-transparent stuff. The performance penalty is rather hefty here. 2014-08-02 21:06:34 +02:00
system - lowered requirements of GL 2.x to OpenGL 3.3. 2014-08-19 15:56:33 +02:00
textures - decided to restrict the 2.0 beta to OpenGL 4.x with GL_ARB_buffer_storage extension and removed all code for supporting older versions. 2014-08-01 22:42:39 +02:00
utility - added benchmarking calls for glDrawArrays to see how well issunig draw calls performs on different hardware. 2014-06-14 15:16:33 +02:00
gl_builddraw.cpp - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00
gl_functions.h - added GL render as of SVN revision 1600. 2013-06-23 09:49:34 +02:00