0541516907
There is no guarantee that the OES extension is present and the standard functions are not required to be dynamically resolvable on ES. By performing the ARB-style lookup for the suffixless function names we can also support ES3 compatible contexts on desktop GL. This also fixes the problem of picking up the APPLE extension functions instead of ARB when both are available. vaoFuncsType was set to ARB correctly but the helper has to take the preference of ARB into account too. Task-number: QTBUG-38168 Change-Id: If7402320e8f96891017674f3c43bc57c4b5d29f3 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
15 lines
517 B
Prolog
15 lines
517 B
Prolog
############################################################
|
|
# Project file for autotest for gui/opengl functionality
|
|
############################################################
|
|
|
|
CONFIG += testcase
|
|
CONFIG += parallel_test
|
|
TARGET = tst_qopengl
|
|
QT += gui-private core-private testlib
|
|
|
|
SOURCES += tst_qopengl.cpp
|
|
|
|
win32-msvc2010:contains(QT_CONFIG, angle):CONFIG += insignificant_test # QTBUG-31611
|
|
|
|
linux:contains(QT_CONFIG, xcb-glx):contains(QT_CONFIG, xcb-xlib):!contains(QT_CONFIG, opengles2): DEFINES += USE_GLX
|