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

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: 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: 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 337b066df431d78498fc0444dda8b219e11d787a..8f762c406e979825094d669a79daac51f85b169f 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