Lines Matching refs:damage
201 * determine whether it's a shadow damage or a hw damage and call the
206 saa_report_damage(DamagePtr damage, RegionPtr reg, void *closure)
213 LogMessage(X_ERROR, "Damage report inside prepare access.\n");
216 DamageEmpty(damage);
220 * saa_notify_destroy_damage - Handle destroy damage notification
222 * \param damage[in] damage Pointer to damage about to be destroyed
225 * Makes sure that whatever code destroys a damage object clears the
226 * saa_pixmap damage pointer. This is extra protection. Typically
231 saa_notify_destroy_damage(DamagePtr damage, void *closure)
236 if (spix->damage == damage)
237 spix->damage = NULL;
246 if (spix->damage)
249 spix->damage = DamageCreate(saa_report_damage, saa_notify_destroy_damage,
251 if (!spix->damage)
254 DamageRegister(&pixmap->drawable, spix->damage);
255 DamageSetReportAfterOp(spix->damage, TRUE);
263 return (spix->damage ? DamageRegion(spix->damage) : NULL);
364 if (spix->damage)
774 * Correct saa functionality relies on Damage, so set it up now.
776 * so that damage happens outside of saa.
784 * doesn't free objects pointed to by our damage pointers.