[PATCH 0/2] Damage driver hooks

Michel Dänzer michel at daenzer.net
Sat Jul 18 08:37:38 PDT 2009


On Fri, 2009-07-17 at 15:10 -0700, Aaron Plattner wrote: 
> This pair of patches adds hooks that allow drivers (or other server modules) to
> wrap the creation, registration, unregistration, and destruction of Damage
> objects.  This allows drivers like the NVIDIA driver to turn notifications on
> and off for direct-rendering OpenGL and VDPAU clients as Damage clients appear
> and disappear.  Currently, the driver has no way of knowing when a Damage object
> is created, which hinders screen-scraping programs like x11vnc.

How so? There's at least two possible solutions available for generating
damage from direct rendering components:

      * XDamageAdd(), as used by the Mesa libGL with DRI1.
      * Doing the actual manipulation of X drawable contents in the X
        server, as done by DRI2.


-- 
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-devel mailing list