summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-05-21 13:02:03 +0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-21 12:33:11 +0200
commit813af13f665de9655f74830a99ab7ed45ebc9865 (patch)
tree5116de66bcd62080f04c2ccbf36dd32dceec68a6 /src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
parent9550e25c2b0dc152b378635f9515a04a5234672b (diff)
Don't create an invalidated surface when not needed
After invalidateSurface() is called we don't want to recreate the EGLSurface on setGeometry() until makeCurrent is called Change-Id: Ide10ecf3bff40a01fa1ed249986a631c77c2bf63 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h')
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
index 6c6c77e09..298dd7d25 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h
@@ -58,7 +58,7 @@ public:
~QWaylandEglWindow();
WindowType windowType() const;
- void create();
+ void updateSurface(bool create);
virtual void setGeometry(const QRect &rect);
QRect contentsRect() const;