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

Unified Diff: content/renderer/android/synchronous_compositor_output_surface.h

Issue 1418273002: cc: Move draw params from SetExternalDrawConstraints to OnDraw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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: content/renderer/android/synchronous_compositor_output_surface.h
diff --git a/content/renderer/android/synchronous_compositor_output_surface.h b/content/renderer/android/synchronous_compositor_output_surface.h
index f183d1f4b27b85cf3a89229a4f125eff3a7ab571..ae02739f1264eb80f55d001c34046f035270c600 100644
--- a/content/renderer/android/synchronous_compositor_output_surface.h
+++ b/content/renderer/android/synchronous_compositor_output_surface.h
@@ -95,8 +95,6 @@ class SynchronousCompositorOutputSurface
void InvokeComposite(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 hardware_draw);
bool CalledOnValidThread() const;
@@ -107,13 +105,6 @@ class SynchronousCompositorOutputSurface
// Not owned.
SynchronousCompositorOutputSurfaceClient* sync_client_;
- gfx::Transform cached_hw_transform_;
- gfx::Rect cached_hw_viewport_;
- gfx::Rect cached_hw_clip_;
- gfx::Rect cached_hw_viewport_rect_for_tile_priority_;
- gfx::Transform cached_hw_transform_for_tile_priority_;
- bool next_hardware_draw_needs_damage_;
-
// Only valid (non-NULL) during a DemandDrawSw() call.
SkCanvas* current_sw_canvas_;

Powered by Google App Engine
This is Rietveld 408576698