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 <cmath> |
10 #include <list> | 11 #include <list> |
11 #include <map> | 12 #include <map> |
12 #include <queue> | 13 #include <queue> |
13 #include <stack> | 14 #include <stack> |
14 #include <string> | 15 #include <string> |
15 #include <vector> | 16 #include <vector> |
16 | 17 |
17 #include "base/at_exit.h" | 18 #include "base/at_exit.h" |
18 #include "base/bind.h" | 19 #include "base/bind.h" |
19 #include "base/callback_helpers.h" | 20 #include "base/callback_helpers.h" |
20 #include "base/command_line.h" | 21 #include "base/command_line.h" |
21 #include "base/float_util.h" | |
22 #include "base/memory/scoped_ptr.h" | 22 #include "base/memory/scoped_ptr.h" |
23 #include "base/numerics/safe_math.h" | 23 #include "base/numerics/safe_math.h" |
24 #include "base/strings/string_number_conversions.h" | 24 #include "base/strings/string_number_conversions.h" |
25 #include "base/strings/string_split.h" | 25 #include "base/strings/string_split.h" |
26 #include "base/trace_event/trace_event.h" | 26 #include "base/trace_event/trace_event.h" |
27 #include "base/trace_event/trace_event_synthetic_delay.h" | 27 #include "base/trace_event/trace_event_synthetic_delay.h" |
28 #include "build/build_config.h" | 28 #include "build/build_config.h" |
29 #define GLES2_GPU_SERVICE 1 | 29 #define GLES2_GPU_SERVICE 1 |
30 #include "gpu/command_buffer/common/debug_marker_manager.h" | 30 #include "gpu/command_buffer/common/debug_marker_manager.h" |
31 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 31 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
(...skipping 12536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12568 } | 12568 } |
12569 } | 12569 } |
12570 | 12570 |
12571 // Include the auto-generated part of this file. We split this because it means | 12571 // Include the auto-generated part of this file. We split this because it means |
12572 // we can easily edit the non-auto generated parts right here in this file | 12572 // we can easily edit the non-auto generated parts right here in this file |
12573 // instead of having to edit some template or the code generator. | 12573 // instead of having to edit some template or the code generator. |
12574 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 12574 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
12575 | 12575 |
12576 } // namespace gles2 | 12576 } // namespace gles2 |
12577 } // namespace gpu | 12577 } // namespace gpu |
OLD | NEW |