qt5base-lts/src/gui
Laszlo Agocs f5b552b590 Return false on context creation failure
Make QOpenGLContext::create() return false when the native context
could not be initialized. This way the return value and isValid()
become equivalent.

Relying on on having a non-NULL platform context is not enough, many
platforms will return a new instance even if the underlying platform
code failed to create a native context. To ensure that a platform
context is really usable, isValid() has to be checked too.

Change-Id: I6b4e9fdb24347ad52fbd6edbb8d144d51e16c301
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2014-03-20 10:36:34 +01:00
..
accessible Merge remote-tracking branch 'origin/stable' into dev 2014-02-07 13:07:25 +01:00
animation Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
doc Fix a probably copy/paste issue from drawImage in the drawPixmap snippet 2014-03-14 22:40:40 +01:00
image AVX image code was removed 2014-03-17 23:00:50 +01:00
itemmodels Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
kernel Return false on context creation failure 2014-03-20 10:36:34 +01:00
math3d Revert some previously added constexpr in QVector?d classes 2014-03-10 16:04:28 +01:00
opengl Add note to docs about normalization in setAttributeBuffer 2014-03-17 16:27:55 +01:00
painting Correct QPainter::setPen() documentation. 2014-03-20 10:36:34 +01:00
text Make QTextEngine::setAdditionalFormats() invalidate cached results 2014-03-17 16:27:55 +01:00
util Don't ignore horizontal alignment for items with baseline alignments 2014-02-14 10:51:44 +01:00
gui.pro Add optimize_full qmake config option 2014-03-06 12:21:14 +01:00
Qt5GuiConfigExtras.cmake.in Try to find GL headers in Mac SDKs. 2013-11-15 20:24:59 +01:00
QtGui.dynlist Add dynlist file for QtGui 2013-03-18 17:11:04 +01:00