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

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

Issue 2174203002: OnDrawHardware() implementation with async messages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added flag to branch old and new implementation Created 4 years, 4 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 0b0b7ebccf3f7ecab4ba94fa5be1b291abdeb264..e6d4410d553e814c97b91108e28550f963e88ad8 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -68,6 +68,10 @@ class CONTENT_EXPORT SynchronousCompositor {
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) = 0;
+ virtual Frame DemandDrawHw_Async(
boliu 2016/08/11 19:23:40 add some documentation
ojars 2016/08/23 02:15:42 Done.
+ const gfx::Size& viewport_size,
+ const gfx::Rect& viewport_rect_for_tile_priority,
+ const gfx::Transform& transform_for_tile_priority) = 0;
boliu 2016/08/11 19:23:40 blank line below
ojars 2016/08/23 02:15:42 Done.
// For delegated rendering, return resources from parent compositor to this.
// Note that all resources must be returned before ReleaseHwDraw.
virtual void ReturnResources(uint32_t output_surface_id,

Powered by Google App Engine
This is Rietveld 408576698