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/service/buffer_manager.h" | 5 #include "gpu/command_buffer/service/buffer_manager.h" |
6 #include <limits> | 6 #include <limits> |
7 #include "base/debug/trace_event.h" | |
8 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/trace_event/trace_event.h" |
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
10 #include "gpu/command_buffer/service/context_state.h" | 10 #include "gpu/command_buffer/service/context_state.h" |
11 #include "gpu/command_buffer/service/error_state.h" | 11 #include "gpu/command_buffer/service/error_state.h" |
12 #include "gpu/command_buffer/service/feature_info.h" | 12 #include "gpu/command_buffer/service/feature_info.h" |
13 #include "gpu/command_buffer/service/memory_tracking.h" | 13 #include "gpu/command_buffer/service/memory_tracking.h" |
14 #include "ui/gl/gl_bindings.h" | 14 #include "ui/gl/gl_bindings.h" |
15 #include "ui/gl/gl_implementation.h" | 15 #include "ui/gl/gl_implementation.h" |
16 | 16 |
17 namespace gpu { | 17 namespace gpu { |
18 namespace gles2 { | 18 namespace gles2 { |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 return state->bound_array_buffer.get(); | 403 return state->bound_array_buffer.get(); |
404 } else { | 404 } else { |
405 return state->vertex_attrib_manager->element_array_buffer(); | 405 return state->vertex_attrib_manager->element_array_buffer(); |
406 } | 406 } |
407 } | 407 } |
408 | 408 |
409 } // namespace gles2 | 409 } // namespace gles2 |
410 } // namespace gpu | 410 } // namespace gpu |
411 | 411 |
412 | 412 |
OLD | NEW |