qt5base-lts/tests/manual
Tor Arne Vestbø 6ff79478a4 Introduce platform API abstraction for QOpenGLContext
The API is available by including qopenglcontext.h as usual,
but scoped in the QPlatformInterface namespace. The namespace
exposes platform specific type-safe interfaces that provide:

 a) Factory functions for adopting native contexts, e.g.

    QCocoaGLContext::fromNative(nsContext, shareContext);

 b) Access to underlying native handles, e.g.

    openGLContext->platformInterface<QCocoaGLContext>->nativeContext()

 c) Platform specific functionality, e.g.

    static QWGLContext::openGLModuleHandle()

    openGLContext->platformInterface<QEGLContext>->doSomething();

The platform interfaces live close to the classes they extend,
removing the need for complex indirection and plumbing, and
avoids kitchen-sink modules and APIs such as the extras modules,
QPlatformFunctions, or QPlatformNativeInterface.

In the case of QOpenGLContext these platform APIs are backed
by the platform plugin, so dynamic_cast is used to ensure the
platform plugin supports the requested interface, but this is
and implementation detail. The interface APIs are agnostic
to where the implementation lives, while still being available
to the user as part of the APIs they extend/augment.

The documentation will be restored when the dust settles.

Task-number: QTBUG-80233
Change-Id: Iac612403383991c4b24064332542a6e4bcbb3293
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-07-02 10:27:50 +02:00
..
cocoa Remove QGuiAction again and split QAction implementation up instead 2020-03-29 11:18:57 +01:00
corelib/tools Get rid of QT_STRICT_ITERATORS 2019-11-04 12:52:26 +00:00
diaglib Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
dialogs QFileDialog: remove deprecated mode QFileDialog::DirectoryOnly 2020-06-26 22:40:34 +02:00
embeddedintoforeignwindow Remove winrt 2020-06-06 20:25:49 +02:00
filetest Convert all of tests/manual 2019-11-14 09:03:26 +00:00
foreignwindows Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
gestures Convert all of tests/manual 2019-11-14 09:03:26 +00:00
highdpi Merge remote-tracking branch 'origin/5.15' into dev 2020-03-03 14:13:02 +01:00
inputmethodhints Convert all of tests/manual 2019-11-14 09:03:26 +00:00
keypadnavigation Convert all of tests/manual 2019-11-14 09:03:26 +00:00
lance Fix compilation of lance tool 2020-06-05 14:26:41 +02:00
markdown Convert all of tests/manual 2019-11-14 09:03:26 +00:00
mkspecs Updated license headers 2016-01-21 18:55:18 +00:00
network_remote_stresstest Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
network_stresstest Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qcursor Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
qdesktopservices Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qgraphicsitem Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qgraphicsitemgroup Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qgraphicslayout/flicker Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qhttpnetworkconnection Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qimagereader Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qlayout Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qlocale Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
qmetatype Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qmimedatabase Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qnetconmonitor Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qnetworkaccessmanager/qget QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00
qnetworkreply Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qopenglcontext Introduce platform API abstraction for QOpenGLContext 2020-07-02 10:27:50 +02:00
qopengltextureblitter Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qopenglwidget/openglwidget Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qopenglwindow/multiwindow Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qprintdevice_dump Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qscreen Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
qssloptions Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qsslsocket Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qstorageinfo Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qsysinfo Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qt_poll Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qtabbar Phase 2 of removing QDesktopWidget 2020-06-08 20:29:49 +02:00
qtabletevent Update QTabletEvent device_information manual test 2020-06-17 09:12:20 +02:00
qtbug-8933 Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qtbug-52641 Convert all of tests/manual 2019-11-14 09:03:26 +00:00
qtexteditlist Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qtexttableborders Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qtouchevent Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
qvulkaninstance Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qwidget_zorder Convert all of tests/manual 2019-11-14 09:03:26 +00:00
repaint Convert all of tests/manual 2019-11-14 09:03:26 +00:00
rhi Fix qsizetype fallout in rhi manual tests 2020-06-26 14:42:36 +02:00
shortcuts Convert all of tests/manual 2019-11-14 09:03:26 +00:00
socketengine QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00
startsystemmove Add QWindow::startSystemMove and startSystemResize 2020-01-28 16:52:13 +01:00
textrendering Merge remote-tracking branch 'origin/5.15' into dev 2020-03-03 14:13:02 +01:00
touch Introduce QInputDevice hierarchy; replace QTouchDevice 2020-06-16 22:06:56 +02:00
touchGraphicsItem Introduce QInputDevice hierarchy; replace QTouchDevice 2020-06-16 22:06:56 +02:00
transientwindow Convert all of tests/manual 2019-11-14 09:03:26 +00:00
triangulator Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
unc Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
wasm wasm: support all cursor shapes 2019-12-30 14:30:22 +03:00
widgetgrab Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
widgets Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
windowchildgeometry Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
windowflags Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
windowgeometry Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
windowmodality Merge remote-tracking branch 'origin/dev' into wip/cmake 2019-11-19 13:53:21 +01:00
windowtransparency Convert all of tests/manual 2019-11-14 09:03:26 +00:00
xcb_gl_integration Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
xembed-raster Convert all of tests/manual 2019-11-14 09:03:26 +00:00
xembed-widgets Convert all of tests/manual 2019-11-14 09:03:26 +00:00
.prev_CMakeLists.txt QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00
CMakeLists.txt QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00
manual.pro QtNetwork: Delete bearer management 2020-04-05 16:41:08 +02:00