summaryrefslogtreecommitdiffstats
path: root/.tag
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-04-23 11:53:38 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-24 10:36:07 +0200
commita26e3ecc3ddb407b204df629f2d1561d2293e0ea (patch)
treecedddb9fdd05c5425241b06781963d2ef50b7370 /.tag
parentbded052aad12514ba163ca8c7a73f241b3018a28 (diff)
Include GLES 3.0 and 3.1 headers when available
In ES builds configure will now check for OpenGL ES 3.0 and 3.1 availability. This allows qopengl.h to include the correct header and, by defining QT_OPENGL_ES_3 and QT_OPENGL_ES_3_1, the OpenGL wrappers can provide support for MapBuffer, VAOs, etc. on GLES 3.0+ too. Right now this is not possible since the only standard way to use an ES function specific to a given version is to use the function directly. The extension mechanism (eglGetProcAddress and friends), that is often used in desktop GL, is not available for such functions. [ChangeLog][QtGui] QtGui's OpenGL headers are now automatically including the highest available header (gl31.h, gl3.h or gl2.h) in OpenGL ES builds. Task-number: QTBUG-38168 Change-Id: Ib857c58fe1696a9546fdd1aa143a9237e80325a5 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to '.tag')
0 files changed, 0 insertions, 0 deletions