summaryrefslogtreecommitdiff
path: root/src/mtexturepixmapitem_p.h
diff options
context:
space:
mode:
authorKimmo Hämäläinen <kimmo.hamalainen@nokia.com>2010-12-20 17:53:58 +0200
committerAdam Endrodi <ext-adam.endrodi@nokia.com>2011-01-05 16:10:11 +0200
commit3edfd1ac67abd50891f9430e656a270946e0f930 (patch)
tree6bd042a746796076bb905c9dacffd5e1694e371d /src/mtexturepixmapitem_p.h
parentd399fc5d09063b1767d67d53ca23a41958dc37f9 (diff)
Implement support for partial window drawing etc.
- add support for painting MTexturePixmap with modified texture coordinates for plugins - add _MEEGOTOUCH_MSTATUSBAR_GEOMETRY to MWindowPropertyCache - add MCompositeWindowShaderEffect API for the affected MCompositeWindow
Diffstat (limited to 'src/mtexturepixmapitem_p.h')
-rw-r--r--src/mtexturepixmapitem_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mtexturepixmapitem_p.h b/src/mtexturepixmapitem_p.h
index 2dbbf00..92b55d0 100644
--- a/src/mtexturepixmapitem_p.h
+++ b/src/mtexturepixmapitem_p.h
@@ -60,9 +60,11 @@ public:
void clearTexture();
bool isDirectRendered() const;
void resize(int w, int h);
- void drawTexture(const QTransform& transform, const QRectF& drawRect, qreal opacity);
+ void drawTexture(const QTransform& transform, const QRectF& drawRect,
+ qreal opacity);
- void q_drawTexture(const QTransform& transform, const QRectF& drawRect, qreal opacity);
+ void q_drawTexture(const QTransform& transform, const QRectF& drawRect,
+ qreal opacity, bool texcoords_from_rect = false);
void installEffect(MCompositeWindowShaderEffect* effect);
static GLuint installPixelShader(const QByteArray& code);