summaryrefslogtreecommitdiffstats
path: root/src/client/hardwareintegration
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2017-06-26 12:27:19 +0200
committerPaul Olav Tvete <paul.tvete@qt.io>2017-08-15 11:45:18 +0000
commitcf8fd0dec1593d063be36774a1a6bd3ac336c053 (patch)
treeeecd45e434b3a39dfaa5924201c09deba0b36b60 /src/client/hardwareintegration
parent53f1d9d65d54b8e4869c92ce76675ac6d1208c73 (diff)
Update server buffer integration
Fix crashes, and change the (private) API to be more usable. The libhybris code compiles without warnings, but is untested. Change-Id: I1433daf1ba76d7869d1dfe260642199ce5a1b849 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'src/client/hardwareintegration')
-rw-r--r--src/client/hardwareintegration/qwaylandserverbufferintegration_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h b/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h
index 67f857db8..3b8b3a6de 100644
--- a/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h
+++ b/src/client/hardwareintegration/qwaylandserverbufferintegration_p.h
@@ -59,6 +59,8 @@
QT_BEGIN_NAMESPACE
+class QOpenGLTexture;
+
namespace QtWaylandClient {
class QWaylandDisplay;
@@ -74,7 +76,7 @@ public:
QWaylandServerBuffer();
virtual ~QWaylandServerBuffer();
- virtual void bindTextureToBuffer() = 0;
+ virtual QOpenGLTexture *toOpenGlTexture() = 0;
Format format() const;
QSize size() const;