OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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/gl/gl_context_stub.h" | 5 #include "ui/gl/gl_context_stub.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 | 8 |
9 GLContextStub::GLContextStub() : GLContextReal(NULL) {} | 9 GLContextStub::GLContextStub() : GLContextReal(NULL) {} |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 return NULL; | 32 return NULL; |
33 } | 33 } |
34 | 34 |
35 void GLContextStub::SetSwapInterval(int interval) { | 35 void GLContextStub::SetSwapInterval(int interval) { |
36 } | 36 } |
37 | 37 |
38 std::string GLContextStub::GetExtensions() { | 38 std::string GLContextStub::GetExtensions() { |
39 return std::string(); | 39 return std::string(); |
40 } | 40 } |
41 | 41 |
| 42 std::string GLContextStub::GetGLRenderer() { |
| 43 return std::string("CHROMIUM"); |
| 44 } |
| 45 |
42 GLContextStub::~GLContextStub() {} | 46 GLContextStub::~GLContextStub() {} |
43 | 47 |
44 } // namespace gfx | 48 } // namespace gfx |
OLD | NEW |