Index: android_webview/browser/browser_view_renderer.h |
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h |
index cc3177b4bd43907694345bf75832001318767063..9a70f2f35a1968b278f54312b3eb94e823dfdd40 100644 |
--- a/android_webview/browser/browser_view_renderer.h |
+++ b/android_webview/browser/browser_view_renderer.h |
@@ -130,9 +130,6 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient, |
const gfx::Vector2dF& latest_overscroll_delta, |
const gfx::Vector2dF& current_fling_velocity) override; |
ui::TouchHandleDrawable* CreateDrawable() override; |
- void OnDrawHardwareProcessFrameFuture( |
- const scoped_refptr<content::SynchronousCompositor::FrameFuture>& |
- frame_future) override; |
// CompositorFrameProducer overrides |
void OnParentDrawConstraintsUpdated( |
@@ -204,6 +201,10 @@ class BrowserViewRenderer : public content::SynchronousCompositorClient, |
bool offscreen_pre_raster_; |
+ // Must do a synchronous draw first to ensure GL bindings are intialized. |
dcheng
2016/10/21 22:20:12
Nit: initialized, though that will push this line
boliu
2016/10/24 15:57:23
Nah, this line is only 75 chars :p
Done.
|
+ // TODO(boliu): Wait on render thread and remove this. |
+ bool allow_async_draw_; |
+ |
gfx::Vector2d last_on_draw_scroll_offset_; |
gfx::Rect last_on_draw_global_visible_rect_; |