From 3d67cbfce3f3c18d0ca7454c6e03a7df3a975232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kimmo=20H=E4m=E4l=E4inen?= Date: Fri, 24 Sep 2010 16:46:39 +0300 Subject: Fixes: NB#194203 - MCompositor slows down application start from the grid by 0,8s - instead of a fixed 700 ms delay, wait for damage events before starting the startup animation - move the damage object to MWindowPropertyCache so that we can create it before mapping the window, increasing possibilities to get all damage events --- src/mtexturepixmapitem_p.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mtexturepixmapitem_p.h') diff --git a/src/mtexturepixmapitem_p.h b/src/mtexturepixmapitem_p.h index 2adb0ad..75bf3b2 100644 --- a/src/mtexturepixmapitem_p.h +++ b/src/mtexturepixmapitem_p.h @@ -24,8 +24,7 @@ #include #include #include - -#include +#include #ifdef GLES2_VERSION #include @@ -64,7 +63,6 @@ public: void drawTexture(const QTransform& transform, const QRectF& drawRect, qreal opacity); void q_drawTexture(const QTransform& transform, const QRectF& drawRect, qreal opacity); - void damageTracking(bool enabled); void installEffect(MCompositeWindowShaderEffect* effect); static GLuint installPixelShader(const QByteArray& code); @@ -87,7 +85,6 @@ public: QRegion damageRegion; qreal angle; - Damage damage_object; MTexturePixmapItem *item; QPointer current_effect; -- cgit v1.2.3