Add DamagePendingRegion.
DamagePendingRegion returns a pointer to the region of a drawable that will be damaged by the current operation for damage records that chose to get damage reported only at the end of the operation.
This commit is contained in:
parent
5c7ee3f47f
commit
f27931bdd2
|
@ -1987,6 +1987,12 @@ DamageRegion (DamagePtr pDamage)
|
|||
return &pDamage->damage;
|
||||
}
|
||||
|
||||
_X_EXPORT RegionPtr
|
||||
DamagePendingRegion (DamagePtr pDamage)
|
||||
{
|
||||
return &pDamage->pendingDamage;
|
||||
}
|
||||
|
||||
_X_EXPORT void
|
||||
DamageDamageRegion (DrawablePtr pDrawable,
|
||||
RegionPtr pRegion)
|
||||
|
|
|
@ -75,6 +75,9 @@ DamageEmpty (DamagePtr pDamage);
|
|||
RegionPtr
|
||||
DamageRegion (DamagePtr pDamage);
|
||||
|
||||
RegionPtr
|
||||
DamagePendingRegion (DamagePtr pDamage);
|
||||
|
||||
void
|
||||
DamageDamageRegion (DrawablePtr pDrawable,
|
||||
const RegionPtr pRegion);
|
||||
|
|
Loading…
Reference in New Issue