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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.h

Issue 1944603002: Delete WebGraphicsContext3DCommandBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@construct
Patch Set: killitwithfire: const Created 4 years, 8 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 | « content/common/gpu/client/DEPS ('k') | content/common/gpu/client/context_provider_command_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/client/context_provider_command_buffer.h
diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h
index 109da66d64705dcf58c57868d08a9bc5413bbd99..17204d0992ce91e00140d5650aa824f766550465 100644
--- a/content/common/gpu/client/context_provider_command_buffer.h
+++ b/content/common/gpu/client/context_provider_command_buffer.h
@@ -25,7 +25,10 @@
namespace gpu {
class CommandBufferProxyImpl;
class GpuChannelHost;
+class TransferBuffer;
namespace gles2 {
+class GLES2CmdHelper;
+class GLES2Implementation;
class GLES2TraceImplementation;
}
}
@@ -94,6 +97,7 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
base::ThreadChecker context_thread_checker_;
bool bind_succeeded_ = false;
+ bool bind_failed_ = false;
gpu::SurfaceHandle surface_handle_;
GURL active_url_;
@@ -106,8 +110,11 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
scoped_refptr<SharedProviders> shared_providers_;
scoped_refptr<gpu::GpuChannelHost> channel_;
- base::Lock context_lock_; // Referenced by context3d_.
- std::unique_ptr<WebGraphicsContext3DCommandBufferImpl> context3d_;
+ base::Lock context_lock_; // Referenced by command_buffer_.
+ std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_;
+ std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
+ std::unique_ptr<gpu::TransferBuffer> transfer_buffer_;
+ std::unique_ptr<gpu::gles2::GLES2Implementation> gles2_impl_;
std::unique_ptr<gpu::gles2::GLES2TraceImplementation> trace_impl_;
std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
« no previous file with comments | « content/common/gpu/client/DEPS ('k') | content/common/gpu/client/context_provider_command_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698