OLD | NEW |
1 // Copyright (c) 2010 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 "app/gfx/gl/gl_context_stub.h" | 5 #include "ui/gfx/gl/gl_context_stub.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 | 8 |
9 StubGLContext::~StubGLContext() {} | 9 StubGLContext::~StubGLContext() {} |
10 | 10 |
11 bool StubGLContext::MakeCurrent() { | 11 bool StubGLContext::MakeCurrent() { |
12 return true; | 12 return true; |
13 } | 13 } |
14 | 14 |
15 bool StubGLContext::IsCurrent() { | 15 bool StubGLContext::IsCurrent() { |
(...skipping 14 matching lines...) Expand all Loading... |
30 | 30 |
31 void* StubGLContext::GetHandle() { | 31 void* StubGLContext::GetHandle() { |
32 return NULL; | 32 return NULL; |
33 } | 33 } |
34 | 34 |
35 std::string StubGLContext::GetExtensions() { | 35 std::string StubGLContext::GetExtensions() { |
36 return std::string(); | 36 return std::string(); |
37 } | 37 } |
38 | 38 |
39 } // namespace gfx | 39 } // namespace gfx |
OLD | NEW |