diff options
author | sievers <sievers@chromium.org> | 2014-09-09 02:15:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-09 09:18:00 +0000 |
commit | a5be71900477280bd56786b39493a3399b52dfdb (patch) | |
tree | 5f1be8b6df2a4bf006411823cf3794c54d639e2a /android_webview/browser/shared_renderer_state.h | |
parent | e0dd0295045531750465047312651a30aab5d6a2 (diff) | |
download | chromium_src-a5be71900477280bd56786b39493a3399b52dfdb.zip chromium_src-a5be71900477280bd56786b39493a3399b52dfdb.tar.gz chromium_src-a5be71900477280bd56786b39493a3399b52dfdb.tar.bz2 |
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}
Diffstat (limited to 'android_webview/browser/shared_renderer_state.h')
-rw-r--r-- | android_webview/browser/shared_renderer_state.h | 4 |
1 files changed, 0 insertions, 4 deletions
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<DrawGLInput> 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_; |