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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 133 |
134 deps = [ | 134 deps = [ |
135 ":gles2_cmd_helper", | 135 ":gles2_cmd_helper", |
136 ":gles2_interface", | 136 ":gles2_interface", |
137 "//base", | 137 "//base", |
138 "//gpu/command_buffer/common", | 138 "//gpu/command_buffer/common", |
139 "//ui/gfx/geometry", | 139 "//ui/gfx/geometry", |
140 ] | 140 ] |
141 } | 141 } |
142 | 142 |
| 143 # Library emulates GLES2 using command_buffers. |
| 144 component("gles2_implementation_no_check") { |
| 145 sources = gles2_implementation_source_files |
| 146 |
| 147 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 148 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 149 |
| 150 defines = [ |
| 151 "GLES2_IMPL_IMPLEMENTATION", |
| 152 "GLES2_CONFORMANCE_TESTS=1", |
| 153 ] |
| 154 |
| 155 deps = [ |
| 156 ":gles2_cmd_helper", |
| 157 "//base", |
| 158 "//gpu/command_buffer/common:gles2_utils", |
| 159 "//ui/gfx", |
| 160 "//ui/gfx/geometry", |
| 161 ] |
| 162 } |
| 163 |
143 component("gl_in_process_context") { | 164 component("gl_in_process_context") { |
144 sources = [ | 165 sources = [ |
145 "gl_in_process_context.cc", | 166 "gl_in_process_context.cc", |
146 "gl_in_process_context.h", | 167 "gl_in_process_context.h", |
147 "gl_in_process_context_export.h", | 168 "gl_in_process_context_export.h", |
148 ] | 169 ] |
149 | 170 |
150 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] | 171 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] |
151 | 172 |
152 deps = [ | 173 deps = [ |
(...skipping 16 matching lines...) Expand all Loading... |
169 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 190 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
170 | 191 |
171 deps = [ | 192 deps = [ |
172 ":client", | 193 ":client", |
173 ":gles2_interface", | 194 ":gles2_interface", |
174 "//base", | 195 "//base", |
175 "//base/third_party/dynamic_annotations", | 196 "//base/third_party/dynamic_annotations", |
176 "//gpu/command_buffer/common", | 197 "//gpu/command_buffer/common", |
177 ] | 198 ] |
178 } | 199 } |
OLD | NEW |