qt5base-lts/tests/auto/gui
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
..
image Introduce QImage::reinterpretAsFormat 2017-01-18 13:10:52 +00:00
itemmodels QStandardItemModel: Reset the flags on clear() 2016-02-17 11:39:13 +00:00
kernel Merge remote-tracking branch 'origin/5.8' into dev 2016-12-16 16:38:33 +01:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting Merge remote-tracking branch 'origin/5.8' into dev 2016-12-13 09:39:20 +01:00
qopengl Add support for OpenGL 3.2+ core profile contexts in QPainter 2017-01-23 11:34:05 +00:00
qopenglconfig Merge remote-tracking branch 'origin/5.6' into 5.7 2016-08-25 16:12:11 +02:00
text Merge remote-tracking branch 'origin/5.8' into dev 2016-12-13 09:39:20 +01:00
util Fix test for WinRT 2016-09-23 07:20:53 +00:00
gui.pro Clean up some conditions in our pro files 2016-11-14 19:22:17 +00:00