OpenSolaris

Printable Version Enter a New Search
Bug ID 6582977
Synopsis X Damage Extension Version 1.1 [LSARC/2007/421]
State 10-Fix Delivered:Verified (Fix available in build)
Category:Subcategory xserver:client_libs
Keywords pkg-rev
Responsible Engineer Alan Coopersmith
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_71
Fixed In snv_71
Release Fixed solaris_nevada(snv_71) , solaris_10u5(s10u5_02) (Bug ID:2154066)
Related Bugs 6580970 , 6644843
Submit Date 19-July-2007
Last Update Date 8-April-2009
Description
This case updates the definition of the X Damage protocol used in Solaris
from version 1.0 to version 1.1 of the spec from the X.Org Foundation.

It additionally updates the libXdamage client API from version 1.0 to 
version 1.1.

Support for version 1.1 in the Xorg server will be handled by the Xorg
server 1.3 case coming to PSARC soon.

The added request to the protocol is described in this section of the 
protocol spec [1]:

  3.1 Additions in the 1.1 version of the protocol

  Damage is automatically computed by the X Server for X rendering
  operations, but direct rendering extensions have allowed clients to
  perform rendering outside of the control of the X Server.  The 1.1
  version of the protocol added a request to allow direct rendering
  clients to report damage to a drawable.  Some direct rendering
  clients, due to architectural limitations, always perform rendering
  to the root window, even in when it should be performed to the
  backing pixmap in the Composite case.  To provide less-incorrect
  rendering in this cases, the direct rendering client should
  translate its damage region to screen coordinates and report the
  damage against the root window rather than the drawable.

The new function in the API is simply a C binding to this new protocol 
request:

  void XDamageAdd (Display *dpy, Drawable drawable, XserverRegion region);
Work Around
N/A
Comments
N/A