| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_IMPLEMENTATION_H_ | 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| 7 | 7 |
| 8 #include <GLES2/gl2.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <string> | 11 #include <string> |
| 10 #include <vector> | 12 #include <vector> |
| 13 |
| 11 #include "../common/gles2_cmd_utils.h" | 14 #include "../common/gles2_cmd_utils.h" |
| 12 #include "../common/scoped_ptr.h" | 15 #include "../common/scoped_ptr.h" |
| 13 #include "../client/gles2_cmd_helper.h" | 16 #include "../client/gles2_cmd_helper.h" |
| 14 #include "../client/ring_buffer.h" | 17 #include "../client/ring_buffer.h" |
| 15 | 18 |
| 16 #define GLES2_SUPPORT_CLIENT_SIDE_BUFFERS 1 | 19 #define GLES2_SUPPORT_CLIENT_SIDE_BUFFERS 1 |
| 17 | 20 |
| 18 namespace gpu { | 21 namespace gpu { |
| 19 namespace gles2 { | 22 namespace gles2 { |
| 20 | 23 |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 GLStringMap gl_strings_; | 292 GLStringMap gl_strings_; |
| 290 | 293 |
| 291 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); | 294 DISALLOW_COPY_AND_ASSIGN(GLES2Implementation); |
| 292 }; | 295 }; |
| 293 | 296 |
| 294 } // namespace gles2 | 297 } // namespace gles2 |
| 295 } // namespace gpu | 298 } // namespace gpu |
| 296 | 299 |
| 297 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 300 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
| 298 | 301 |
| OLD | NEW |