bb760d9514
QOpenGLBuffer::map() and related helpers are becoming useless in OpenGL ES 3.0 and up: instead of the old GL_OES_map_buffer, glMapBufferRange, but not glMapBuffer, is now part of the standard. On desktop GL_ARB_map_buffer_range is present by default in OpenGL 3.0 and newer. [ChangeLog][QtGui] Added QOpenGLBuffer::mapBufferRange(). Task-number: QTBUG-38168 Change-Id: I4e9bbe8ced9ee4d535ac32849a8c08c26d79cb49 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
15 lines
511 B
Prolog
15 lines
511 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, egl): DEFINES += USE_GLX
|