| 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_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ |
| 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <GLES2/gl2.h> | 8 #include <GLES2/gl2.h> |
| 9 #include "gles2_impl_export.h" | 9 |
| 10 #include "base/compiler_specific.h" |
| 10 | 11 |
| 11 namespace gpu { | 12 namespace gpu { |
| 12 namespace gles2 { | 13 namespace gles2 { |
| 13 | 14 |
| 14 // This class is the interface for all client side GL functions. | 15 // This class is the interface for all client side GL functions. |
| 15 class GLES2_IMPL_EXPORT GLES2Interface { | 16 class GLES2Interface { |
| 16 public: | 17 public: |
| 17 GLES2Interface(); | 18 GLES2Interface() {} |
| 18 virtual ~GLES2Interface(); | 19 virtual ~GLES2Interface() {} |
| 19 | 20 |
| 20 // Include the auto-generated part of this class. We split this because | 21 // 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 | 22 // 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. | 23 // this file instead of having to edit some template or the code generator. |
| 23 #include "gpu/command_buffer/client/gles2_interface_autogen.h" | 24 #include "gpu/command_buffer/client/gles2_interface_autogen.h" |
| 24 }; | 25 }; |
| 25 | 26 |
| 26 } // namespace gles2 | 27 } // namespace gles2 |
| 27 } // namespace gpu | 28 } // namespace gpu |
| 28 | 29 |
| 29 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ | 30 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_H_ |
| OLD | NEW |