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

Unified Diff: android_webview/browser/render_thread_manager.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
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | android_webview/browser/render_thread_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/render_thread_manager.h
diff --git a/android_webview/browser/render_thread_manager.h b/android_webview/browser/render_thread_manager.h
index e23b2c24841f6bccf650c32b6b49aca632fff085..b1b9301681b1b7dd4378cf0250eed2204b9e0268 100644
--- a/android_webview/browser/render_thread_manager.h
+++ b/android_webview/browser/render_thread_manager.h
@@ -60,9 +60,11 @@ class RenderThreadManager : public CompositorFrameConsumer {
bool HasFrameOnUI() const override;
void DeleteHardwareRendererOnUI() override;
- // RT thread methods.
+ // Render thread methods.
gfx::Vector2d GetScrollOffsetOnRT();
std::unique_ptr<ChildFrame> PassFrameOnRT();
+ scoped_refptr<content::SynchronousCompositor::FrameFuture>
+ PassFrameFutureOnRT();
void DrawGL(AwDrawGLInfo* draw_info);
void PostExternalDrawConstraintsToChildCompositorOnRT(
const ParentCompositorDrawConstraints& parent_draw_constraints);
« no previous file with comments | « android_webview/browser/hardware_renderer.cc ('k') | android_webview/browser/render_thread_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698