Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: ui/gfx/ozone/surface_ozone_canvas.h

Issue 249413003: ozone: dri: Composite to intermediate surface & copy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor cleanup Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/ozone/surface_ozone_canvas.h
diff --git a/ui/gfx/ozone/surface_ozone_canvas.h b/ui/gfx/ozone/surface_ozone_canvas.h
index 7b09b230bfa5db640c2662e780648320c6e50d05..0d8592af45d265991e1277a8eaf54c72d97f5d72 100644
--- a/ui/gfx/ozone/surface_ozone_canvas.h
+++ b/ui/gfx/ozone/surface_ozone_canvas.h
@@ -36,7 +36,7 @@ class GFX_EXPORT SurfaceOzoneCanvas {
// Present the current canvas. After presenting, the compositor must call
// GetCanvas() to get the next canvas.
- virtual bool PresentCanvas() = 0;
+ virtual bool PresentCanvas(const gfx::Rect& damage) = 0;
// Returns a gfx::VsyncProvider for this surface. Note that this may be
// called after we have entered the sandbox so if there are operations (e.g.

Powered by Google App Engine
This is Rietveld 408576698