summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_egl_api_implementation.cc
diff options
context:
space:
mode:
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-25 12:13:08 +0000
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-25 12:13:08 +0000
commit25afcfe213ffd88f8e9370d4ff1ee23ecf9ae16c (patch)
tree231cbf5a41324ba641db9c7af4913bf416c897e2 /ui/gl/gl_egl_api_implementation.cc
parent7d0cce0355811619fb78e00a1aaf0d04b103c98a (diff)
downloadchromium_src-25afcfe213ffd88f8e9370d4ff1ee23ecf9ae16c.zip
chromium_src-25afcfe213ffd88f8e9370d4ff1ee23ecf9ae16c.tar.gz
chromium_src-25afcfe213ffd88f8e9370d4ff1ee23ecf9ae16c.tar.bz2
Revert 164047 - Make GL calls go through subclassable class.
Sheriff reverting as this CL added four static initializers. BUG=155557 Review URL: https://chromiumcodereview.appspot.com/11266023 TBR=gman@chromium.org Review URL: https://codereview.chromium.org/11270035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_egl_api_implementation.cc')
-rw-r--r--ui/gl/gl_egl_api_implementation.cc44
1 files changed, 0 insertions, 44 deletions
diff --git a/ui/gl/gl_egl_api_implementation.cc b/ui/gl/gl_egl_api_implementation.cc
deleted file mode 100644
index 861c185..0000000
--- a/ui/gl/gl_egl_api_implementation.cc
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "ui/gl/gl_egl_api_implementation.h"
-
-namespace gfx {
-
-RealEGLApi g_real_egl;
-
-void InitializeGLBindingsEGL() {
- g_driver_egl.InitializeBindings();
- g_real_egl.Initialize(&g_driver_egl);
- g_current_egl_context = &g_real_egl;
-}
-
-void InitializeGLExtensionBindingsEGL(GLContext* context) {
- g_driver_egl.InitializeExtensionBindings(context);
-}
-
-void InitializeDebugGLBindingsEGL() {
- g_driver_egl.InitializeDebugBindings();
-}
-
-void ClearGLBindingsEGL() {
- g_driver_egl.ClearBindings();
-}
-
-EGLApi::EGLApi() {
-}
-
-EGLApi::~EGLApi() {
-}
-
-RealEGLApi::RealEGLApi() {
-}
-
-void RealEGLApi::Initialize(DriverEGL* driver) {
- driver_ = driver;
-}
-
-} // namespace gfx
-
-