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

Unified Diff: mojo/examples/sample_app/sample_gles2_delegate.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/examples/sample_app/sample_app.cc ('k') | mojo/examples/sample_app/sample_gles2_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/sample_app/sample_gles2_delegate.h
diff --git a/mojo/examples/sample_app/sample_gles2_delegate.h b/mojo/examples/sample_app/sample_gles2_delegate.h
deleted file mode 100644
index efd4872d29443868d4c62eb74b8aa50fa2a3ffb1..0000000000000000000000000000000000000000
--- a/mojo/examples/sample_app/sample_gles2_delegate.h
+++ /dev/null
@@ -1,36 +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_EXAMPLES_SAMPLE_APP_SAMPLE_GLES2_DELEGATE_H_
-#define MOJO_EXAMPLES_SAMPLE_APP_SAMPLE_GLES2_DELEGATE_H_
-
-#include "base/timer/timer.h"
-#include "mojo/examples/sample_app/spinning_cube.h"
-#include "mojo/public/bindings/gles2_client/gles2_client_impl.h"
-
-namespace mojo {
-namespace examples {
-
-class SampleGLES2Delegate : public GLES2Delegate {
- public:
- SampleGLES2Delegate();
- virtual ~SampleGLES2Delegate();
-
- private:
- virtual void DidCreateContext(
- GLES2ClientImpl* gl, uint32_t width, uint32_t height) MOJO_OVERRIDE;
- virtual void ContextLost(GLES2ClientImpl* gl) MOJO_OVERRIDE;
-
- void Draw();
-
- base::Time last_time_;
- base::RepeatingTimer<SampleGLES2Delegate> timer_;
- SpinningCube cube_;
- GLES2ClientImpl* gl_;
-};
-
-} // namespace examples
-} // namespace mojo
-
-#endif // MOJO_EXAMPLES_SAMPLE_APP_SAMPLE_GLES2_DELEGATE_H_
« no previous file with comments | « mojo/examples/sample_app/sample_app.cc ('k') | mojo/examples/sample_app/sample_gles2_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698