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 // A class to emulate GLES2 over command buffers. | 5 // A class to emulate GLES2 over command buffers. |
6 | 6 |
7 #include "gpu/command_buffer/client/gles2_implementation.h" | 7 #include "gpu/command_buffer/client/gles2_implementation.h" |
8 | 8 |
9 #include <GLES2/gl2.h> | 9 #include <GLES2/gl2.h> |
10 #include <GLES2/gl2ext.h> | 10 #include <GLES2/gl2ext.h> |
11 #include <GLES2/gl2extchromium.h> | 11 #include <GLES2/gl2extchromium.h> |
12 #include <GLES3/gl3.h> | 12 #include <GLES3/gl3.h> |
13 #include <stddef.h> | 13 #include <stddef.h> |
14 #include <stdint.h> | 14 #include <stdint.h> |
15 #include <algorithm> | 15 #include <algorithm> |
16 #include <map> | 16 #include <map> |
17 #include <set> | 17 #include <set> |
18 #include <sstream> | 18 #include <sstream> |
19 #include <string> | 19 #include <string> |
20 #include "base/atomic_sequence_num.h" | 20 #include "base/atomic_sequence_num.h" |
21 #include "base/compiler_specific.h" | 21 #include "base/compiler_specific.h" |
22 #include "base/strings/string_split.h" | 22 #include "base/strings/string_split.h" |
23 #include "base/strings/stringprintf.h" | 23 #include "base/strings/stringprintf.h" |
24 #include "base/sys_info.h" | 24 #include "base/sys_info.h" |
25 #include "base/thread_task_runner_handle.h" | 25 #include "base/threading/thread_task_runner_handle.h" |
26 #include "base/trace_event/memory_allocator_dump.h" | 26 #include "base/trace_event/memory_allocator_dump.h" |
27 #include "base/trace_event/memory_dump_manager.h" | 27 #include "base/trace_event/memory_dump_manager.h" |
28 #include "base/trace_event/process_memory_dump.h" | 28 #include "base/trace_event/process_memory_dump.h" |
29 #include "base/trace_event/trace_event.h" | 29 #include "base/trace_event/trace_event.h" |
30 #include "gpu/command_buffer/client/buffer_tracker.h" | 30 #include "gpu/command_buffer/client/buffer_tracker.h" |
31 #include "gpu/command_buffer/client/gles2_cmd_helper.h" | 31 #include "gpu/command_buffer/client/gles2_cmd_helper.h" |
32 #include "gpu/command_buffer/client/gpu_control.h" | 32 #include "gpu/command_buffer/client/gpu_control.h" |
33 #include "gpu/command_buffer/client/program_info_manager.h" | 33 #include "gpu/command_buffer/client/program_info_manager.h" |
34 #include "gpu/command_buffer/client/query_tracker.h" | 34 #include "gpu/command_buffer/client/query_tracker.h" |
35 #include "gpu/command_buffer/client/shared_memory_limits.h" | 35 #include "gpu/command_buffer/client/shared_memory_limits.h" |
(...skipping 6781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6817 cached_extensions_.clear(); | 6817 cached_extensions_.clear(); |
6818 } | 6818 } |
6819 | 6819 |
6820 // Include the auto-generated part of this file. We split this because it means | 6820 // Include the auto-generated part of this file. We split this because it means |
6821 // we can easily edit the non-auto generated parts right here in this file | 6821 // we can easily edit the non-auto generated parts right here in this file |
6822 // instead of having to edit some template or the code generator. | 6822 // instead of having to edit some template or the code generator. |
6823 #include "gpu/command_buffer/client/gles2_implementation_impl_autogen.h" | 6823 #include "gpu/command_buffer/client/gles2_implementation_impl_autogen.h" |
6824 | 6824 |
6825 } // namespace gles2 | 6825 } // namespace gles2 |
6826 } // namespace gpu | 6826 } // namespace gpu |
OLD | NEW |