diff options
author | Jorgen Lind <jorgen.lind@digia.com> | 2014-01-07 09:20:15 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-09 12:25:11 +0100 |
commit | 3323630585ea40842db42ad64ad45fe5b465a5b8 (patch) | |
tree | e0a11de2279210ff22f57799e576e2f069cbeba0 /src/compositor/hardware_integration | |
parent | 10700eb19191879caf41bc188dca807b68a4146c (diff) |
Adjust the serverbufferintegrations to use bind texture api
It mapps closer to the underlying OpenGL architecture
Change-Id: I4e0dca4d54670846488c86df2a0fa0c58d49734d
Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/compositor/hardware_integration')
-rw-r--r-- | src/compositor/hardware_integration/qwaylandserverbufferintegration.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compositor/hardware_integration/qwaylandserverbufferintegration.h b/src/compositor/hardware_integration/qwaylandserverbufferintegration.h index ae35265f9..7033cd753 100644 --- a/src/compositor/hardware_integration/qwaylandserverbufferintegration.h +++ b/src/compositor/hardware_integration/qwaylandserverbufferintegration.h @@ -71,7 +71,8 @@ public: virtual struct ::wl_resource *resourceForClient(struct ::wl_client *) = 0; - virtual GLuint createTexture() = 0; + virtual void bindTextureToBuffer() = 0; + virtual bool isYInverted() const; QSize size() const; |