diff options
author | Gunnar Sletta <gunnar@sletta.org> | 2014-09-30 11:31:28 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-01-17 12:11:15 +0100 |
commit | ebdd4a0ba7daf74b11f716d291a97f7cd28c2aca (patch) | |
tree | 46a6cebb5d287f71bb2ce300535bc4f2b506846c /src/gui/kernel/qplatformintegration.cpp | |
parent | 205f68f8ad866857ccac58799fa1ab932ee06773 (diff) |
Introducing QPlatformHardwareCompositor.
Can be used by applications to send hardware buffers directly to the
hardware compositor, if available. The primary usecase right now
will be from QtWayland to 2D composition of surface by bypassing
the OpenGL composition.
Change-Id: Ibdcdcc744c34869d3abbc11aad448a755f87161f
Reviewed-by: Jørgen Lind <jorgen.lind@theqtcompany.com>
Diffstat (limited to 'src/gui/kernel/qplatformintegration.cpp')
-rw-r--r-- | src/gui/kernel/qplatformintegration.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformintegration.cpp b/src/gui/kernel/qplatformintegration.cpp index 86edb9bd28..98755c3a5e 100644 --- a/src/gui/kernel/qplatformintegration.cpp +++ b/src/gui/kernel/qplatformintegration.cpp @@ -539,4 +539,9 @@ QOpenGLContext::OpenGLModuleType QPlatformIntegration::openGLModuleType() } #endif +QPlatformHardwareCompositor *QPlatformIntegration::hardwareCompositor(QScreen *) const +{ + return 0; +} + QT_END_NAMESPACE |