| Index: components/mus/public/cpp/gles2_context.h
|
| diff --git a/components/mus/public/cpp/gles2_context.h b/components/mus/public/cpp/gles2_context.h
|
| index f2239b280a6936921ae3df8fbf94205651c70ba5..c41d8073f0d693e4d506e812ff8d0e7826ab0187 100644
|
| --- a/components/mus/public/cpp/gles2_context.h
|
| +++ b/components/mus/public/cpp/gles2_context.h
|
| @@ -11,23 +11,26 @@
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| -#include "components/mus/public/cpp/lib/command_buffer_client_impl.h"
|
| +#include "components/mus/public/cpp/mus_public_export.h"
|
| #include "gpu/command_buffer/client/gles2_implementation.h"
|
| +#include "mojo/public/cpp/system/core.h"
|
|
|
| namespace gpu {
|
| +class CommandBufferProxyImpl;
|
| class TransferBuffer;
|
| namespace gles2 {
|
| class GLES2CmdHelper;
|
| -class GLES2Implementation;
|
| }
|
| }
|
|
|
| namespace mus {
|
|
|
| -class GLES2Context {
|
| +class CommandBufferClientImpl;
|
| +
|
| +class MUS_PUBLIC_EXPORT GLES2Context {
|
| public:
|
| - explicit GLES2Context(const std::vector<int32_t>& attribs,
|
| - mojo::ScopedMessagePipeHandle command_buffer_handle);
|
| + GLES2Context(const std::vector<int32_t>& attribs,
|
| + mojo::ScopedMessagePipeHandle command_buffer_handle);
|
| virtual ~GLES2Context();
|
| bool Initialize();
|
|
|
| @@ -37,7 +40,8 @@ class GLES2Context {
|
| gpu::ContextSupport* context_support() const { return implementation_.get(); }
|
|
|
| private:
|
| - CommandBufferClientImpl command_buffer_;
|
| + std::unique_ptr<CommandBufferClientImpl> command_buffer_client_impl_;
|
| + std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_proxy_impl_;
|
| std::unique_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
|
| std::unique_ptr<gpu::TransferBuffer> transfer_buffer_;
|
| std::unique_ptr<gpu::gles2::GLES2Implementation> implementation_;
|
|
|