From b9363b2794c6f287be68eebb361117cdfbf060ca Mon Sep 17 00:00:00 2001 From: "apatrick@chromium.org" Date: Wed, 9 Jun 2010 22:06:15 +0000 Subject: 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 --- gpu/command_buffer/service/gl_interface.cc | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 gpu/command_buffer/service/gl_interface.cc (limited to 'gpu/command_buffer/service/gl_interface.cc') 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 - -- cgit v1.1