OLD | NEW |
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 | 128 |
129 deps = [ | 129 deps = [ |
130 ":gles2_cmd_helper", | 130 ":gles2_cmd_helper", |
131 ":gles2_interface", | 131 ":gles2_interface", |
132 "//base", | 132 "//base", |
133 "//gpu/command_buffer/common", | 133 "//gpu/command_buffer/common", |
134 "//ui/gfx/geometry", | 134 "//ui/gfx/geometry", |
135 ] | 135 ] |
136 } | 136 } |
137 | 137 |
138 # Library emulates GLES2 using command_buffers. | |
139 component("gles2_implementation_client_side_arrays") { | |
140 sources = gles2_implementation_source_files | |
141 | |
142 defines = [ | |
143 "GLES2_IMPL_IMPLEMENTATION", | |
144 "GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1", | |
145 ] | |
146 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | |
147 | |
148 if (is_win) { | |
149 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
150 cflags = [ "/wd4267" ] # size_t to int truncation. | |
151 } | |
152 | |
153 deps = [ | |
154 ":gles2_cmd_helper", | |
155 ":gles2_interface", | |
156 "//base", | |
157 "//gpu/command_buffer/common", | |
158 "//ui/gfx/geometry", | |
159 "//ui/gl", | |
160 ] | |
161 } | |
162 | |
163 component("gl_in_process_context") { | 138 component("gl_in_process_context") { |
164 sources = [ | 139 sources = [ |
165 "gl_in_process_context.h", | 140 "gl_in_process_context.h", |
166 "gl_in_process_context.cc", | 141 "gl_in_process_context.cc", |
167 "gl_in_process_context_export.h", | 142 "gl_in_process_context_export.h", |
168 ] | 143 ] |
169 | 144 |
170 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] | 145 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] |
171 | 146 |
172 deps = [ | 147 deps = [ |
(...skipping 19 matching lines...) Expand all Loading... |
192 | 167 |
193 deps = [ | 168 deps = [ |
194 ":client", | 169 ":client", |
195 ":gles2_interface", | 170 ":gles2_interface", |
196 "//base", | 171 "//base", |
197 "//base/third_party/dynamic_annotations", | 172 "//base/third_party/dynamic_annotations", |
198 "//gpu/command_buffer/common", | 173 "//gpu/command_buffer/common", |
199 ] | 174 ] |
200 } | 175 } |
201 | 176 |
OLD | NEW |