diff options
author | Adam Endrodi <ext-adam.endrodi@nokia.com> | 2010-11-04 09:57:41 +0200 |
---|---|---|
committer | Adam Endrodi <ext-adam.endrodi@nokia.com> | 2010-11-04 09:57:41 +0200 |
commit | 2d4f449502a391b9279f21c262141c007275815b (patch) | |
tree | 97c2597f85385a1c17670fc6e87435ee2b98aea7 /src/mdevicestate.h | |
parent | 968406726621da2d399a7d02c552080a9a1e3ed5 (diff) |
allow for a limited number of updates on transitioning windowspastdamages
Repair transitioning windows not more than ten times per second.
Only implemented in the EGL variant.
* src/mcompositewindow.h
* src/mtexturepixmapitem.h:
Add an optional Time parameter to MCompositeWindow::updateWindowPixmap()
denoting the time when the damage notification was sent by the server.
* src/mtexturepixmapitem.h:
* src/mtexturepixmapitem_p.cpp:
Add MTexturePixmapPrivate::pastDamages to remember them for the timeframe
if necessary.
* src/mtexturepixmapitem_egl.cpp (MTexturePixmapItem::updateWindowPixmap::updateWindowPixmap):
If we receive a damage during a transition check if we can afford a repair
an do it if all's positive.
* src/mtexturepixmapitem_glx.cpp (MTexturePixmapItem::updateWindowPixmap::updateWindowPixmap)
Just added the new parameter, but left unused.
Diffstat (limited to 'src/mdevicestate.h')
0 files changed, 0 insertions, 0 deletions