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

Unified Diff: content/browser/android/synchronous_compositor_host.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/browser/android/synchronous_compositor_host.h
diff --git a/content/browser/android/synchronous_compositor_host.h b/content/browser/android/synchronous_compositor_host.h
index 657cf394fcd4a2e6b97d325b1bf92540873ed5b3..d87cf6ea6b6a6c23030cd98178065f2f4accb9f4 100644
--- a/content/browser/android/synchronous_compositor_host.h
+++ b/content/browser/android/synchronous_compositor_host.h
@@ -59,7 +59,7 @@ class SynchronousCompositorHost : public SynchronousCompositor {
const gfx::Size& viewport_size,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) override;
- void DemandDrawHwAsync(
+ scoped_refptr<FrameFuture> DemandDrawHwAsync(
const gfx::Size& viewport_size,
const gfx::Rect& viewport_rect_for_tile_priority,
const gfx::Transform& transform_for_tile_priority) override;
@@ -99,14 +99,13 @@ class SynchronousCompositorHost : public SynchronousCompositor {
SynchronousCompositor::Frame ProcessHardwareFrame(
uint32_t compositor_frame_sink_id,
cc::CompositorFrame compositor_frame);
- bool DemandDrawHwReceiveFrame(const IPC::Message& message);
+ SynchronousCompositorObserver* GetFilter();
RenderWidgetHostViewAndroid* const rwhva_;
SynchronousCompositorClient* const client_;
const scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
const int process_id_;
const int routing_id_;
- SynchronousCompositorObserver* const rph_observer_;
IPC::Sender* const sender_;
const bool use_in_process_zero_copy_software_draw_;
« no previous file with comments | « android_webview/browser/render_thread_manager.cc ('k') | content/browser/android/synchronous_compositor_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698