diff options
author | Kimmo Hämäläinen <kimmo.hamalainen@nokia.com> | 2010-07-09 10:54:07 +0300 |
---|---|---|
committer | Kimmo Hämäläinen <kimmo.hamalainen@nokia.com> | 2010-07-09 12:53:17 +0300 |
commit | 86656525f9256c3422dd8ecebddf1074c19a01f8 (patch) | |
tree | e355b8e16ed31a172020ca904b41a9632de91fc2 /src/mtexturepixmapitem.h | |
parent | a540a67c5a49262ec75d35cdbc608d3fcc6b4f92 (diff) |
Changes: Add new class MWindowPropertyCache to further avoid round trips.
- Rename isTransitioning() -> hasTransitioningWindow()
- Rename thisIsTransitioning() -> isWindowTransitioning()
- Fix a crasher bug in windowctl
- Increase sleeps in two test scripts.
- Use MWindowPropertyCache to track window properties for windows that have
received MapRequest
- Move hasAlpha() from MTexturePixmap to MWindowPropertyCache since it's
dependent only to the X window visual
- Add beingMapped() to identify windows that have received MapRequest but
not MapNotify yet
Diffstat (limited to 'src/mtexturepixmapitem.h')
-rw-r--r-- | src/mtexturepixmapitem.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mtexturepixmapitem.h b/src/mtexturepixmapitem.h index d27f810..83ad80a 100644 --- a/src/mtexturepixmapitem.h +++ b/src/mtexturepixmapitem.h @@ -45,10 +45,10 @@ public: * Constructs a MTexturePixmapItem * * \param window the redirected window where the texture is derived. - * \param windowType internal window type representation of this window + * \param mpc window property cache * \param parent QGraphicsItem, defaults to 0 */ - MTexturePixmapItem(Window window, MCompAtoms::Type windowType, + MTexturePixmapItem(Window window, MWindowPropertyCache *mpc, QGLWidget *glwidget, QGraphicsItem *parent = 0); /*! * Destroys the MTexturePixmapItem and frees the allocated @@ -83,12 +83,6 @@ public: bool isDirectRendered() const; /*! - Returns true if the window corresponding to the offscreen pixmap has an - alpha channel, otherwise returns false. - */ - bool hasAlpha() const; - - /*! * Sets the width and height if the item */ void resize(int w, int h); |