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/atomicops.h" | |
18 #include "base/bind.h" | 17 #include "base/bind.h" |
19 #include "base/command_line.h" | 18 #include "base/command_line.h" |
20 #include "base/debug/trace_event.h" | 19 #include "base/debug/trace_event.h" |
21 #if defined(OS_MACOSX) | |
22 #include "base/mac/scoped_cftyperef.h" | |
23 #endif | |
24 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
25 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
26 #include "build/build_config.h" | 22 #include "build/build_config.h" |
27 #define GLES2_GPU_SERVICE 1 | 23 #define GLES2_GPU_SERVICE 1 |
28 #include "gpu/command_buffer/common/debug_marker_manager.h" | 24 #include "gpu/command_buffer/common/debug_marker_manager.h" |
29 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 25 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
30 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 26 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
31 #include "gpu/command_buffer/common/id_allocator.h" | 27 #include "gpu/command_buffer/common/id_allocator.h" |
32 #include "gpu/command_buffer/common/mailbox.h" | 28 #include "gpu/command_buffer/common/mailbox.h" |
33 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" | 29 #include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" |
(...skipping 10369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10403 DoDidUseTexImageIfNeeded(texture, texture->target()); | 10399 DoDidUseTexImageIfNeeded(texture, texture->target()); |
10404 } | 10400 } |
10405 | 10401 |
10406 // Include the auto-generated part of this file. We split this because it means | 10402 // Include the auto-generated part of this file. We split this because it means |
10407 // we can easily edit the non-auto generated parts right here in this file | 10403 // we can easily edit the non-auto generated parts right here in this file |
10408 // instead of having to edit some template or the code generator. | 10404 // instead of having to edit some template or the code generator. |
10409 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" | 10405 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" |
10410 | 10406 |
10411 } // namespace gles2 | 10407 } // namespace gles2 |
10412 } // namespace gpu | 10408 } // namespace gpu |
OLD | NEW |