| 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 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_ |
| 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "gpu/command_buffer/client/gles2_interface.h" | 8 #include "gpu/command_buffer/client/gles2_interface.h" |
| 10 | 9 |
| 11 namespace gpu { | 10 namespace gpu { |
| 12 namespace gles2 { | 11 namespace gles2 { |
| 13 | 12 |
| 14 // This class a stub to help with mocks for the GLES2Interface class. | 13 // This class a stub to help with mocks for the GLES2Interface class. |
| 15 class GLES2InterfaceStub : public GLES2Interface { | 14 class GLES2InterfaceStub : public GLES2Interface { |
| 16 public: | 15 public: |
| 17 GLES2InterfaceStub(); | 16 GLES2InterfaceStub(); |
| 18 virtual ~GLES2InterfaceStub(); | 17 virtual ~GLES2InterfaceStub(); |
| 19 | 18 |
| 20 // Include the auto-generated part of this class. We split this because | 19 // Include the auto-generated part of this class. We split this because |
| 21 // it means we can easily edit the non-auto generated parts right here in | 20 // it means we can easily edit the non-auto generated parts right here in |
| 22 // this file instead of having to edit some template or the code generator. | 21 // this file instead of having to edit some template or the code generator. |
| 23 #include "gpu/command_buffer/client/gles2_interface_stub_autogen.h" | 22 #include "gpu/command_buffer/client/gles2_interface_stub_autogen.h" |
| 24 }; | 23 }; |
| 25 | 24 |
| 26 } // namespace gles2 | 25 } // namespace gles2 |
| 27 } // namespace gpu | 26 } // namespace gpu |
| 28 | 27 |
| 29 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_ | 28 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_H_ |
| OLD | NEW |