Lines Matching defs:damage
31 SkRect damage;
32 image.getBounds(&damage);
42 canvas->drawBitmapRectToRect(image, &damage, damage);
53 virtual void PresentCanvas(const gfx::Rect& damage) OVERRIDE;
57 void UpdateNativeSurface(const gfx::Rect& damage);
84 void DriSurfaceAdapter::PresentCanvas(const gfx::Rect& damage) {
89 UpdateNativeSurface(damage);
98 void DriSurfaceAdapter::UpdateNativeSurface(const gfx::Rect& damage) {
103 // missing the previous update. Expand damage region.
104 SkRect real_damage = RectToSkRect(UnionRects(damage, last_damage_));
106 // Copy damage region.
110 last_damage_ = damage;