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>
This commit is contained in:
parent
afb68a09f2
commit
43d25e770c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user