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

Unified Diff: mojo/public/bindings/gles2_client/gles2_client_impl.h

Issue 101413002: [Mojo] Remove dependency between mojo/public and gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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/public/bindings/gles2_client/DEPS ('k') | mojo/public/bindings/gles2_client/gles2_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/gles2_client/gles2_client_impl.h
diff --git a/mojo/public/bindings/gles2_client/gles2_client_impl.h b/mojo/public/bindings/gles2_client/gles2_client_impl.h
deleted file mode 100644
index 9213905cc3e47755bb308ccd747cd67d9769bdc1..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/gles2_client/gles2_client_impl.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 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_PUBLIC_BINDINGS_GLES2_CLIENT_GLES2_CLIENT_IMPL_H_
-#define MOJO_PUBLIC_BINDINGS_GLES2_CLIENT_GLES2_CLIENT_IMPL_H_
-
-#include "mojo/public/bindings/lib/remote_ptr.h"
-#include "mojom/gles2.h"
-
-namespace mojo {
-class GLES2ClientImpl;
-
-class GLES2Delegate {
- public:
- virtual ~GLES2Delegate();
- virtual void DidCreateContext(
- GLES2ClientImpl* gl, uint32_t width, uint32_t height);
- virtual void ContextLost(GLES2ClientImpl* gl);
-};
-
-class GLES2ClientImpl : public GLES2ClientStub {
- public:
- explicit GLES2ClientImpl(GLES2Delegate* delegate,
- ScopedMessagePipeHandle gl);
- virtual ~GLES2ClientImpl();
-
- static void Initialize();
- static void Terminate();
-
- void SwapBuffers();
-
- private:
- virtual void DidCreateContext(
- uint64_t encoded, uint32_t width, uint32_t height) MOJO_OVERRIDE;
- virtual void ContextLost() MOJO_OVERRIDE;
-
- GLES2Delegate* delegate_;
- RemotePtr<GLES2> gl_;
-};
-
-} // mojo
-
-#endif // MOJO_PUBLIC_BINDINGS_GLES2_CLIENT_GLES2_CLIENT_IMPL_H_
« no previous file with comments | « mojo/public/bindings/gles2_client/DEPS ('k') | mojo/public/bindings/gles2_client/gles2_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698