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;
|
return &pDamage->damage;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_X_EXPORT RegionPtr
|
||||||
|
DamagePendingRegion (DamagePtr pDamage)
|
||||||
|
{
|
||||||
|
return &pDamage->pendingDamage;
|
||||||
|
}
|
||||||
|
|
||||||
_X_EXPORT void
|
_X_EXPORT void
|
||||||
DamageDamageRegion (DrawablePtr pDrawable,
|
DamageDamageRegion (DrawablePtr pDrawable,
|
||||||
RegionPtr pRegion)
|
RegionPtr pRegion)
|
||||||
|
|
|
@ -75,6 +75,9 @@ DamageEmpty (DamagePtr pDamage);
|
||||||
RegionPtr
|
RegionPtr
|
||||||
DamageRegion (DamagePtr pDamage);
|
DamageRegion (DamagePtr pDamage);
|
||||||
|
|
||||||
|
RegionPtr
|
||||||
|
DamagePendingRegion (DamagePtr pDamage);
|
||||||
|
|
||||||
void
|
void
|
||||||
DamageDamageRegion (DrawablePtr pDrawable,
|
DamageDamageRegion (DrawablePtr pDrawable,
|
||||||
const RegionPtr pRegion);
|
const RegionPtr pRegion);
|
||||||
|
|
Loading…
Reference in New Issue