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 "../client/vertex_array_object_manager.h" | 5 #include "gpu/command_buffer/client/vertex_array_object_manager.h" |
6 | 6 |
7 #include "../client/gles2_cmd_helper.h" | 7 #include "gpu/command_buffer/client/gles2_cmd_helper.h" |
8 #include "../client/gles2_implementation.h" | 8 #include "gpu/command_buffer/client/gles2_implementation.h" |
9 #include "../common/logging.h" | 9 #include "gpu/command_buffer/common/logging.h" |
10 | 10 |
11 #if defined(__native_client__) && !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) | 11 #if defined(__native_client__) && !defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) |
12 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS | 12 #define GLES2_SUPPORT_CLIENT_SIDE_ARRAYS |
13 #endif | 13 #endif |
14 | 14 |
15 namespace gpu { | 15 namespace gpu { |
16 namespace gles2 { | 16 namespace gles2 { |
17 | 17 |
18 #if defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) | 18 #if defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) |
19 | 19 |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 &simulated_client_side_buffers); | 631 &simulated_client_side_buffers); |
632 *simulated = *simulated || simulated_client_side_buffers; | 632 *simulated = *simulated || simulated_client_side_buffers; |
633 #endif // defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) | 633 #endif // defined(GLES2_SUPPORT_CLIENT_SIDE_ARRAYS) |
634 return true; | 634 return true; |
635 } | 635 } |
636 | 636 |
637 } // namespace gles2 | 637 } // namespace gles2 |
638 } // namespace gpu | 638 } // namespace gpu |
639 | 639 |
640 | 640 |
OLD | NEW |