Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: gpu/command_buffer/client/BUILD.gn

Issue 993253003: Modify build_gles2_cmd_buffer.py to generate a class that implements gpu::GLES2Interace and for eac… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 source_set("client") { 5 source_set("client") {
6 sources = [ 6 sources = [
7 "cmd_buffer_helper.cc", 7 "cmd_buffer_helper.cc",
8 "cmd_buffer_helper.h", 8 "cmd_buffer_helper.h",
9 "fenced_allocator.cc", 9 "fenced_allocator.cc",
10 "fenced_allocator.h", 10 "fenced_allocator.h",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "gles2_implementation.cc", 81 "gles2_implementation.cc",
82 "gles2_implementation.h", 82 "gles2_implementation.h",
83 "gles2_implementation_autogen.h", 83 "gles2_implementation_autogen.h",
84 "gles2_implementation_impl_autogen.h", 84 "gles2_implementation_impl_autogen.h",
85 "gles2_trace_implementation.cc", 85 "gles2_trace_implementation.cc",
86 "gles2_trace_implementation.h", 86 "gles2_trace_implementation.h",
87 "gles2_trace_implementation_autogen.h", 87 "gles2_trace_implementation_autogen.h",
88 "gles2_trace_implementation_impl_autogen.h", 88 "gles2_trace_implementation_impl_autogen.h",
89 "gpu_switches.cc", 89 "gpu_switches.cc",
90 "gpu_switches.h", 90 "gpu_switches.h",
91 "mojo_gles2_impl_autogen.cc",
92 "mojo_gles2_impl_autogen.h",
91 "program_info_manager.cc", 93 "program_info_manager.cc",
92 "program_info_manager.h", 94 "program_info_manager.h",
93 "query_tracker.cc", 95 "query_tracker.cc",
94 "query_tracker.h", 96 "query_tracker.h",
95 "share_group.cc", 97 "share_group.cc",
96 "share_group.h", 98 "share_group.h",
97 "vertex_array_object_manager.cc", 99 "vertex_array_object_manager.cc",
98 "vertex_array_object_manager.h", 100 "vertex_array_object_manager.h",
99 ] 101 ]
100 102
(...skipping 28 matching lines...) Expand all
129 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 131 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
130 132
131 defines = [ "GLES2_IMPL_IMPLEMENTATION" ] 133 defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
132 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 134 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
133 135
134 deps = [ 136 deps = [
135 ":gles2_cmd_helper", 137 ":gles2_cmd_helper",
136 ":gles2_interface", 138 ":gles2_interface",
137 "//base", 139 "//base",
138 "//gpu/command_buffer/common", 140 "//gpu/command_buffer/common",
141 "//third_party/mojo/src/mojo/public/c/gles2",
139 "//ui/gfx/geometry", 142 "//ui/gfx/geometry",
140 ] 143 ]
141 } 144 }
142 145
143 # Library emulates GLES2 using command_buffers. 146 # Library emulates GLES2 using command_buffers.
144 component("gles2_implementation_no_check") { 147 component("gles2_implementation_no_check") {
145 sources = gles2_implementation_source_files 148 sources = gles2_implementation_source_files
146 149
147 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 150 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
148 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 151 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
149 152
150 defines = [ 153 defines = [
151 "GLES2_IMPL_IMPLEMENTATION", 154 "GLES2_IMPL_IMPLEMENTATION",
152 "GLES2_CONFORMANCE_TESTS=1", 155 "GLES2_CONFORMANCE_TESTS=1",
153 ] 156 ]
154 157
155 deps = [ 158 deps = [
156 ":gles2_cmd_helper", 159 ":gles2_cmd_helper",
157 "//base", 160 "//base",
158 "//gpu/command_buffer/common:gles2_utils", 161 "//gpu/command_buffer/common:gles2_utils",
162 "//third_party/mojo/src/mojo/public/c/gles2",
159 "//ui/gfx", 163 "//ui/gfx",
160 "//ui/gfx/geometry", 164 "//ui/gfx/geometry",
161 ] 165 ]
162 } 166 }
163 167
164 component("gl_in_process_context") { 168 component("gl_in_process_context") {
165 sources = [ 169 sources = [
166 "gl_in_process_context.cc", 170 "gl_in_process_context.cc",
167 "gl_in_process_context.h", 171 "gl_in_process_context.h",
168 "gl_in_process_context_export.h", 172 "gl_in_process_context_export.h",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 ] 214 ]
211 deps = [ 215 deps = [
212 ":client", 216 ":client",
213 ":gles2_implementation_no_check", 217 ":gles2_implementation_no_check",
214 ":gles2_interface", 218 ":gles2_interface",
215 "//base", 219 "//base",
216 "//base/third_party/dynamic_annotations", 220 "//base/third_party/dynamic_annotations",
217 "//gpu/command_buffer/common", 221 "//gpu/command_buffer/common",
218 ] 222 ]
219 } 223 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698