| Index: android_webview/browser/shared_renderer_state.h
|
| diff --git a/android_webview/browser/shared_renderer_state.h b/android_webview/browser/shared_renderer_state.h
|
| index 2245f73b21e79fd5fedd8c255d47c3563ed52e44..79b10b6b145e25751f70e2c67cedd44a20fed44f 100644
|
| --- a/android_webview/browser/shared_renderer_state.h
|
| +++ b/android_webview/browser/shared_renderer_state.h
|
| @@ -57,7 +57,8 @@ class SharedRendererState {
|
| scoped_ptr<DrawGLInput> PassDrawGLInput();
|
|
|
| bool IsInsideHardwareRelease() const;
|
| - void UpdateDrawConstraints(
|
| + // Returns true if the draw constraints are updated.
|
| + bool UpdateDrawConstraints(
|
| const ParentCompositorDrawConstraints& parent_draw_constraints);
|
| void PostExternalDrawConstraintsToChildCompositor(
|
| const ParentCompositorDrawConstraints& parent_draw_constraints);
|
| @@ -67,6 +68,10 @@ class SharedRendererState {
|
| void SetSharedContext(gpu::GLInProcessContext* context);
|
| gpu::GLInProcessContext* GetSharedContext() const;
|
|
|
| + void SetForceInvalidateOnNextDrawGL(
|
| + bool needs_force_invalidate_on_next_draw_gl);
|
| + bool NeedsForceInvalidateOnNextDrawGL() const;
|
| +
|
| void InsertReturnedResources(const cc::ReturnedResourceArray& resources);
|
| void SwapReturnedResources(cc::ReturnedResourceArray* resources);
|
| bool ReturnedResourcesEmpty() const;
|
| @@ -90,6 +95,7 @@ class SharedRendererState {
|
| mutable base::Lock lock_;
|
| scoped_ptr<DrawGLInput> draw_gl_input_;
|
| bool inside_hardware_release_;
|
| + bool needs_force_invalidate_on_next_draw_gl_;
|
| ParentCompositorDrawConstraints parent_draw_constraints_;
|
| gpu::GLInProcessContext* share_context_;
|
| cc::ReturnedResourceArray returned_resources_;
|
|
|