|
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);
|