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 7namespace gfx { 8 9GLInterface* GLInterface::interface_; 10 11void GLInterface::SetGLInterface(GLInterface* gl_interface) { 12 interface_ = gl_interface; 13} 14 15GLInterface* GLInterface::GetGLInterface() { 16 return interface_; 17} 18 19} // namespace gfx 20 21