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

Unified Diff: mojo/gles2/gles2_context.h

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 years, 2 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 | « mojo/gles2/command_buffer_client_impl.cc ('k') | mojo/gles2/gles2_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/gles2_context.h
diff --git a/mojo/gles2/gles2_context.h b/mojo/gles2/gles2_context.h
deleted file mode 100644
index 7dd108553a902064d3f9375c9c398008ca9056e5..0000000000000000000000000000000000000000
--- a/mojo/gles2/gles2_context.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_GLES2_GLES2_CONTEXT_H_
-#define MOJO_GLES2_GLES2_CONTEXT_H_
-
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "gpu/command_buffer/client/gles2_implementation.h"
-#include "mojo/gles2/command_buffer_client_impl.h"
-#include "mojo/public/c/gles2/gles2.h"
-
-struct MojoGLES2ContextPrivate {};
-
-namespace gpu {
-class TransferBuffer;
-namespace gles2 {
-class GLES2CmdHelper;
-class GLES2Implementation;
-}
-}
-
-namespace mojo {
-namespace gles2 {
-
-class GLES2Context : public CommandBufferDelegate,
- public MojoGLES2ContextPrivate {
- public:
- explicit GLES2Context(const MojoAsyncWaiter* async_waiter,
- ScopedMessagePipeHandle command_buffer_handle,
- MojoGLES2ContextLost lost_callback,
- void* closure);
- ~GLES2Context() override;
- bool Initialize();
-
- gpu::gles2::GLES2Interface* interface() const {
- return implementation_.get();
- }
- gpu::ContextSupport* context_support() const { return implementation_.get(); }
-
- private:
- void ContextLost() override;
-
- CommandBufferClientImpl command_buffer_;
- scoped_ptr<gpu::gles2::GLES2CmdHelper> gles2_helper_;
- scoped_ptr<gpu::TransferBuffer> transfer_buffer_;
- scoped_ptr<gpu::gles2::GLES2Implementation> implementation_;
- MojoGLES2ContextLost lost_callback_;
- void* closure_;
-
- MOJO_DISALLOW_COPY_AND_ASSIGN(GLES2Context);
-};
-
-} // namespace gles2
-} // namespace mojo
-
-#endif // MOJO_GLES2_GLES2_CONTEXT_H_
« no previous file with comments | « mojo/gles2/command_buffer_client_impl.cc ('k') | mojo/gles2/gles2_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698