summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
diff options
context:
space:
mode:
authorLouai Al-Khanji <louai.al-khanji@theqtcompany.com>2016-02-19 15:58:33 -0800
committerLouai Al-Khanji <louai.al-khanji@qt.io>2016-04-29 16:09:07 +0000
commitab2d5162039bd7dac6547a5984dbe6e19b7d835c (patch)
tree6e2f8da3c6e9340634821666c8b7079870f57566 /src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
parentaae5a5b19c320f367a7e43d54d84b0562a85737a (diff)
QtWaylandCompositor: Add support for different EGL buffer formats
Change-Id: Idfeeedbf247fa81dccdf28a1aa04f878900ed262 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h')
-rw-r--r--src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
index 18893645a..57e83717a 100644
--- a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
+++ b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.h
@@ -53,7 +53,7 @@ public:
void initializeHardware(struct ::wl_display *display) Q_DECL_OVERRIDE;
void initializeBuffer(struct ::wl_resource *buffer) Q_DECL_OVERRIDE;
- int textureTargetForBuffer(struct ::wl_resource *buffer) const Q_DECL_OVERRIDE;
+ QWaylandBufferRef::BufferFormatEgl bufferFormat(struct ::wl_resource *buffer) Q_DECL_OVERRIDE;
void bindTextureToBuffer(struct ::wl_resource *buffer) Q_DECL_OVERRIDE;
void updateTextureForBuffer(struct ::wl_resource *buffer) Q_DECL_OVERRIDE;