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

Unified Diff: content/public/browser/android/synchronous_compositor.h

Issue 2188943002: Remove OutputSurfaceClient external clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: viewport -> viewport_size Created 4 years, 5 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/public/browser/android/synchronous_compositor.h
diff --git a/content/public/browser/android/synchronous_compositor.h b/content/public/browser/android/synchronous_compositor.h
index 6f02cfbedd795e2d9c979af368916055050ed61e..0b0b7ebccf3f7ecab4ba94fa5be1b291abdeb264 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -59,13 +59,12 @@ class CONTENT_EXPORT SynchronousCompositor {
DISALLOW_COPY_AND_ASSIGN(Frame);
};
- // "On demand" hardware draw. The content is first clipped to |damage_area|,
- // then transformed through |transform|, and finally clipped to |view_size|.
+ // "On demand" hardware draw. Parameters are used by compositor for this draw.
+ // |viewport_size| is the current size to improve results during resize.
+ // |viewport_rect_for_tile_priority| and |transform_for_tile_priority| are
+ // used to customize the tiling decisions of compositor.
virtual Frame DemandDrawHw(
- const gfx::Size& surface_size,
- const gfx::Transform& transform,
- const gfx::Rect& viewport,
- const gfx::Rect& clip,
+ const gfx::Size& viewport_size,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) = 0;
« no previous file with comments | « content/common/android/sync_compositor_messages.cc ('k') | content/public/test/test_synchronous_compositor_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698