Home | History | Annotate | Download | only in gl
      1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "ui/gl/gl_interface.h"
      6 
      7 namespace gfx {
      8 
      9 GLInterface* GLInterface::interface_;
     10 
     11 void GLInterface::SetGLInterface(GLInterface* gl_interface) {
     12   interface_ = gl_interface;
     13 }
     14 
     15 GLInterface* GLInterface::GetGLInterface() {
     16   return interface_;
     17 }
     18 
     19 }  // namespace gfx
     20 
     21