lp:~vanvugt/compiz/XDamageReport
- Get this branch:
- bzr branch lp:~vanvugt/compiz/XDamageReport
Branch merges
- Sam Spilsbury: Approve
- Tim Penhey (community): Approve
-
Diff: 86 lines (+15/-3)5 files modifiedplugins/composite/src/privates.h (+3/-0)
plugins/composite/src/screen.cpp (+9/-0)
plugins/composite/src/window.cpp (+1/-1)
plugins/decor/src/decor.cpp (+1/-1)
plugins/opengl/src/texture.cpp (+1/-1)
Related bugs
Related blueprints
Branch information
Recent revisions
- 3245. By Daniel van Vugt
-
Avoid a potential race condition.
If any unhandled damage events that grow the bounding box remain in the queue
when we're rendering a frame, they will count as new damage we don't yet
know about (and so haven't redrawn). However calling XDamageSubtract with
repair==None tells the server we have repaired all damage when it's possible
we haven't repaired the full region described by those unhandled events.The solution to this is to keep a copy of the bounding box of each damaged
drawable and only tell the server we've repaired the region that we actually
do know about and have repaired. - 3243. By Daniel van Vugt
-
Actually, default to Bounding Box. It gives me lower CPU and fixes a scrolling
artefact that seems to be specific to xchat + Delta Rectangles. - 3241. By Daniel van Vugt
-
Change default damage report mode to Delta Rectangles. While it seems to
perform at least as fast as Bounding Box, and both much faster than
Raw Rectangles, Delta Rectangles should be fastest in more cases I think. - 3238. By Daniel van Vugt
-
Initial prototype... works!
Previously with glxgears (or whatever) rendering 3700 FPS, compiz would get
7400 XDamageNotify's per second. Now it's only around 120 per second (the
refresh rate x2). - 3237. By Daniel van Vugt
-
Improve the fix for LP: #1005569:
Calling CompOption::setName should not implicitly construct a new string
object every time, when the name is not changing.This is also an alternative fix to the previous commit, but both together
don't hurt either.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:compiz/0.9.8