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

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: Created 5 years, 2 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: 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 3de40c75cab370b5258b4b7660e31475ced04ff0..73a3779a69e2f817657da7ebdf484ffe26b0a581 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,
gfx::Rect viewport,
gfx::Rect clip,
- gfx::Rect viewport_rect_for_tile_priority,
- 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