OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "ui/gfx/gl/gl_surface.h" | 5 #include "ui/gfx/gl/gl_surface.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 | 8 |
9 GLSurface::GLSurface() { | 9 GLSurface::GLSurface() { |
10 } | 10 } |
11 | 11 |
12 GLSurface::~GLSurface() { | 12 GLSurface::~GLSurface() { |
13 } | 13 } |
14 | 14 |
15 bool GLSurface::Initialize() | 15 bool GLSurface::Initialize() |
16 { | 16 { |
17 return true; | 17 return true; |
18 } | 18 } |
19 | 19 |
20 unsigned int GLSurface::GetBackingFrameBufferObject() { | 20 unsigned int GLSurface::GetBackingFrameBufferObject() { |
21 return 0; | 21 return 0; |
22 } | 22 } |
23 | 23 |
| 24 void GLSurface::OnMakeCurrent() { |
| 25 } |
| 26 |
24 } // namespace gfx | 27 } // namespace gfx |
OLD | NEW |