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/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <list> | 10 #include <list> |
11 #include <map> | 11 #include <map> |
12 #include <stack> | 12 #include <stack> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/at_exit.h" | 16 #include "base/at_exit.h" |
17 #include "base/bind.h" | 17 #include "base/bind.h" |
18 #include "base/callback_helpers.h" | 18 #include "base/callback_helpers.h" |
19 #include "base/command_line.h" | 19 #include "base/command_line.h" |
20 #include "base/debug/trace_event.h" | 20 #include "base/debug/trace_event.h" |
21 #include "base/debug/trace_event_synthetic_delay.h" | 21 #include "base/debug/trace_event_synthetic_delay.h" |
| 22 #include "base/float_util.h" |
22 #include "base/memory/scoped_ptr.h" | 23 #include "base/memory/scoped_ptr.h" |
23 #include "base/numerics/safe_math.h" | 24 #include "base/numerics/safe_math.h" |
24 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
25 #include "base/strings/string_split.h" | 26 #include "base/strings/string_split.h" |
26 #include "build/build_config.h" | 27 #include "build/build_config.h" |
27 #define GLES2_GPU_SERVICE 1 | 28 #define GLES2_GPU_SERVICE 1 |
28 #include "gpu/command_buffer/common/debug_marker_manager.h" | 29 #include "gpu/command_buffer/common/debug_marker_manager.h" |
29 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 30 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
30 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 31 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
31 #include "gpu/command_buffer/common/id_allocator.h" | 32 #include "gpu/command_buffer/common/id_allocator.h" |
(...skipping 10898 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10930 } | 10931 } |
10931 } | 10932 } |
10932 | 10933 |
10933 // Include the auto-generated part of this file. We split this because it means | 10934 // Include the auto-generated part of this file. We split this because it means |
10934 // we can easily edit the non-auto generated parts right here in this file | 10935 // we can easily edit the non-auto generated parts right here in this file |
10935 // instead of having to edit some template or the code generator. | 10936 // instead of having to edit some template or the code generator. |
10936 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 10937 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
10937 | 10938 |
10938 } // namespace gles2 | 10939 } // namespace gles2 |
10939 } // namespace gpu | 10940 } // namespace gpu |
OLD | NEW |