From a5be71900477280bd56786b39493a3399b52dfdb Mon Sep 17 00:00:00 2001 From: sievers Date: Tue, 9 Sep 2014 02:15:35 -0700 Subject: InProcessGL: Share MailboxManager per service The current logic ends up creating a MailboxManager per ContextGroup, so change this to share the mailbox manager across InProcessCommandBuffer::Service instances. This also allows for removing code in Android WebView that deals with passing around the share group. None of these contexts (child, parent compositor and video) need client-side share groups since mailbox names are used. TBR=tedchoc@chromium.org for content/public Review URL: https://codereview.chromium.org/540143002 Cr-Commit-Position: refs/heads/master@{#293902} --- android_webview/browser/shared_renderer_state.h | 4 ---- 1 file changed, 4 deletions(-) (limited to '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 2245f73..e4a5827 100644 --- a/android_webview/browser/shared_renderer_state.h +++ b/android_webview/browser/shared_renderer_state.h @@ -64,9 +64,6 @@ class SharedRendererState { const ParentCompositorDrawConstraints ParentDrawConstraints() const; - void SetSharedContext(gpu::GLInProcessContext* context); - gpu::GLInProcessContext* GetSharedContext() const; - void InsertReturnedResources(const cc::ReturnedResourceArray& resources); void SwapReturnedResources(cc::ReturnedResourceArray* resources); bool ReturnedResourcesEmpty() const; @@ -91,7 +88,6 @@ class SharedRendererState { scoped_ptr draw_gl_input_; bool inside_hardware_release_; ParentCompositorDrawConstraints parent_draw_constraints_; - gpu::GLInProcessContext* share_context_; cc::ReturnedResourceArray returned_resources_; base::Closure request_draw_gl_closure_; -- cgit v1.1