diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:06:15 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-09 22:06:15 +0000 |
commit | b9363b2794c6f287be68eebb361117cdfbf060ca (patch) | |
tree | 74408c31f3920ae183663b0f16e633349805798e /gpu/command_buffer/service/gl_interface.cc | |
parent | c8c9712650efaa201c97ad6ff4edb6aa092dfd17 (diff) | |
download | chromium_src-b9363b2794c6f287be68eebb361117cdfbf060ca.zip chromium_src-b9363b2794c6f287be68eebb361117cdfbf060ca.tar.gz chromium_src-b9363b2794c6f287be68eebb361117cdfbf060ca.tar.bz2 |
Added EGL based GLContext.
Python script to generate code to dynamically bind to GL functions (native GL, OSMesa, EGL or mock GL for unit tests). This replaces GLEW because GLEW doesn't bind to the GLES dialect of GL.
Moved the mock GL code into app/gfx/gl.
Updated the GPU code and AcceleratedSurface to use the new GL bindings.
TEST=trybots
BUG=none
Review URL: http://codereview.chromium.org/2134006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49332 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service/gl_interface.cc')
-rw-r--r-- | gpu/command_buffer/service/gl_interface.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gpu/command_buffer/service/gl_interface.cc b/gpu/command_buffer/service/gl_interface.cc deleted file mode 100644 index b077a84..0000000 --- a/gpu/command_buffer/service/gl_interface.cc +++ /dev/null @@ -1,20 +0,0 @@ -// Copyright (c) 2009 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 "gpu/command_buffer/service/gl_interface.h" - -namespace gles2 { - -GLInterface* GLInterface::interface_; - -void GLInterface::SetGLInterface(GLInterface* gl_interface) { - interface_ = gl_interface; -} - -GLInterface* GLInterface::GetGLInterface() { - return interface_; -} - -} // namespace gles2 - |