qt5base-lts/tests/auto/other
Julian Thijssen 7dc88b6890 Add support for OpenGL 3.2+ core profile contexts in QPainter
This change allows painting via QPainter onto a QOpenGLWindow, QOpenGLWidget
or QOpenGLFramebufferObject when an core profile context is in use. This is
important on macOS in particular, where compatibility profiles are not
available, and so the only way to use modern OpenGL is via a core profile
context.

Added core profile compatible shaders with moder GLSL keywords.

The paint engine binds a VAO and two VBOs from now on, whenever VAOs are
supported. Note that this changes behavior also for OpenGL 2.x context that
have VAO support via extensions.

The Lancelot test suite gains support for core profile contexts. This can
be triggered via -coreglbuffer in place of -glbuffer when manually inspecting
via 'lance', while tst_lancelot will automatically run core context-based tests
whenever supported.

Task-number: QTBUG-33535
Change-Id: I6323a7ea2aaa9e111651ebbffd3e40259c8e7a9c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2017-01-23 11:34:05 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
compiler Merge remote-tracking branch 'origin/5.7' into 5.8 2016-09-05 18:47:27 +02:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
lancelot Add support for OpenGL 3.2+ core profile contexts in QPainter 2017-01-23 11:34:05 +00:00
languagechange Remove Windows CE from tests (others). 2016-03-31 06:14:04 +00:00
macgui Updated license headers 2016-01-21 18:55:18 +00:00
macnativeevents Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-13 15:18:02 +02:00
macplist macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
modeltest Remove qtypetraits.h's contents altogether 2017-01-12 22:16:06 +00:00
networkselftest Fix/adapt the uses of {to,set,from}Time_t in the qtbase source code 2016-07-06 06:28:13 +00:00
qaccessibility tst_qaccessibility.cpp: Fix warnings about assignment used as truth value 2017-01-18 14:21:00 +00:00
qaccessibilitylinux create modularized version of qtplatformsupport module 2016-10-15 18:45:33 +00:00
qaccessibilitymac Updated license headers 2016-01-21 18:55:18 +00:00
qcomplextext Updated license headers 2016-01-21 18:55:18 +00:00
qfocusevent Updated license headers 2016-01-21 18:55:18 +00:00
qnetworkaccessmanager_and_qprogressdialog Updated license headers 2016-01-21 18:55:18 +00:00
qobjectperformance Updated license headers 2016-01-21 18:55:18 +00:00
qobjectrace Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-01 10:03:21 +02:00
qprocess_and_guieventloop Fix warnings in tests (MinGW/MSCV) 2016-11-29 17:08:46 +00:00
qsharedpointer_and_qwidget Updated license headers 2016-01-21 18:55:18 +00:00
qtokenautomaton Tests: Add more QChar::unicode() calls to brush over deprecation warning. 2016-04-08 09:26:40 +00:00
qvariant_common Updated license headers 2016-01-21 18:55:18 +00:00
toolsupport QDateTimePrivate: merge the time spec, DST status and validity flags 2016-06-10 17:56:18 +00:00
other.pro Merge remote-tracking branch 'origin/5.8' into dev 2016-09-15 19:47:57 +02:00