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

Unified Diff: cc/output/output_surface.h

Issue 2646243002: Use IDCompositionSurface to implement DirectCompositionSurfaceWin. (Closed)
Patch Set: rebase Created 3 years, 10 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: cc/output/output_surface.h
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h
index 740039cbc686eef5e9cf707f85b1100d632e307f..d90cb7d3faf52f356d7c430242b529741284d910 100644
--- a/cc/output/output_surface.h
+++ b/cc/output/output_surface.h
@@ -83,6 +83,11 @@ class CC_EXPORT OutputSurface {
// OutputSurfaces.
virtual void BindFramebuffer() = 0;
+ // Marks that the given rectangle will be drawn to on the default, bound
+ // framebuffer. Only valid for surfaces with set_draw_rectangle in the
+ // context capabilities.
+ virtual void SetDrawRectangle(const gfx::Rect& rect) {}
+
// Get the class capable of informing cc of hardware overlay capability.
virtual OverlayCandidateValidator* GetOverlayCandidateValidator() const = 0;

Powered by Google App Engine
This is Rietveld 408576698