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

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

Issue 2418383002: sync compositor: Signal async frame on IO thread (Closed)
Patch Set: typo Created 4 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/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 a4d5b40e91edb64c96fc6df5772c0a8f946d5b65..660997ca9020d9e703188b6a1ec0b13f4dbff91b 100644
--- a/content/public/browser/android/synchronous_compositor.h
+++ b/content/public/browser/android/synchronous_compositor.h
@@ -86,10 +86,8 @@ class CONTENT_EXPORT SynchronousCompositor {
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) = 0;
- // Same as DemandDrawHw, but uses asynchronous IPC messages. Calls
- // SynchronousCompositorClient::OnDrawHardwareProcessFrame to return the
- // frame.
- virtual void DemandDrawHwAsync(
+ // Same as DemandDrawHw, but uses asynchronous IPC messages.
+ virtual scoped_refptr<FrameFuture> DemandDrawHwAsync(
const gfx::Size& viewport_size,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) = 0;

Powered by Google App Engine
This is Rietveld 408576698