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

Unified Diff: ui/gl/scoped_api.h

Issue 2629633003: Refactor GL bindings so there is no global GLApi or DriverGL. (Closed)
Patch Set: rebase Created 3 years, 11 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 | « ui/gl/init/gl_initializer_x11.cc ('k') | ui/gl/scoped_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/scoped_api.h
diff --git a/ui/gl/scoped_api.h b/ui/gl/scoped_api.h
deleted file mode 100644
index 4d35f3d84753586b51fb07c41365623b5b186eb6..0000000000000000000000000000000000000000
--- a/ui/gl/scoped_api.h
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2015 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 UI_GL_SCOPED_API_H_
-#define UI_GL_SCOPED_API_H_
-
-#include "base/macros.h"
-#include "ui/gl/gl_export.h"
-
-namespace gl {
-
-class GLApi;
-
-class GL_EXPORT ScopedSetGLToRealGLApi {
- public:
- ScopedSetGLToRealGLApi();
- ~ScopedSetGLToRealGLApi();
-
- private:
- GLApi* old_gl_api_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedSetGLToRealGLApi);
-};
-
-} // namespace gl
-
-#endif // UI_GL_SCOPED_API_H_
« no previous file with comments | « ui/gl/init/gl_initializer_x11.cc ('k') | ui/gl/scoped_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698