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

Unified Diff: cc/surfaces/display.cc

Issue 1418273002: cc: Move draw params from SetExternalDrawConstraints to OnDraw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests fixed Created 5 years, 1 month 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/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 7cd9d6d126b566dd5547595523d92a181a2d466d..a1ebb15b9766f7caad1f029776013de95d1ec6be 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -297,7 +297,10 @@ void Display::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
client_->SetMemoryPolicy(policy);
}
-void Display::OnDraw() {
+void Display::OnDraw(const gfx::Transform& transform,
+ const gfx::Rect& viewport,
+ const gfx::Rect& clip,
+ bool resourceless_software_draw) {
NOTREACHED();
}
@@ -312,12 +315,8 @@ void Display::ReclaimResources(const CompositorFrameAck* ack) {
}
void Display::SetExternalDrawConstraints(
- const gfx::Transform& transform,
- const gfx::Rect& viewport,
- const gfx::Rect& clip,
const gfx::Rect& viewport_rect_for_tile_priority,
- const gfx::Transform& transform_for_tile_priority,
- bool resourceless_software_draw) {
+ const gfx::Transform& transform_for_tile_priority) {
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698