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 "gpu/command_buffer/client/gles2_interface_stub.h" | 5 #include "gpu/command_buffer/client/gles2_interface_stub.h" |
6 | 6 |
7 namespace gpu { | 7 namespace gpu { |
8 namespace gles2 { | 8 namespace gles2 { |
9 | 9 |
10 GLES2InterfaceStub::GLES2InterfaceStub() { | 10 GLES2InterfaceStub::GLES2InterfaceStub() { |
11 } | 11 } |
12 | 12 |
13 GLES2InterfaceStub::~GLES2InterfaceStub() { | 13 GLES2InterfaceStub::~GLES2InterfaceStub() { |
14 } | 14 } |
15 | 15 |
16 // Include the auto-generated part of this class. We split this because | 16 // Include the auto-generated part of this class. We split this because |
17 // it means we can easily edit the non-auto generated parts right here in | 17 // it means we can easily edit the non-auto generated parts right here in |
18 // this file instead of having to edit some template or the code generator. | 18 // this file instead of having to edit some template or the code generator. |
19 #include "gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h" | 19 #include "gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h" |
20 | 20 |
| 21 GLboolean GLES2InterfaceStub::IsContextLost() { |
| 22 return false; |
| 23 } |
| 24 |
21 } // namespace gles2 | 25 } // namespace gles2 |
22 } // namespace gpu | 26 } // namespace gpu |
23 | 27 |
24 | 28 |
OLD | NEW |