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