"gles2_trace_implementation.cc",
"gles2_trace_implementation.h",
"gles2_trace_implementation_impl_autogen.h",
- "gpu_memory_buffer_factory.h",
- "gpu_memory_buffer_tracker.cc",
- "gpu_memory_buffer_tracker.h",
+ "gpu_switches.cc",
+ "gpu_switches.h",
"program_info_manager.cc",
"program_info_manager.h",
"query_tracker.cc",
]
}
-# Library emulates GLES2 using command_buffers.
-component("gles2_implementation") {
- sources = gles2_implementation_source_files
-
- defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
- all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
-
- if (is_win) {
- # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
- cflags = [ "/wd4267" ] # size_t to int truncation.
- }
-
+source_set("gpu_memory_buffer_manager") {
+ sources = [
+ "gpu_memory_buffer_manager.cc",
+ "gpu_memory_buffer_manager.h",
+ ]
deps = [
- ":gles2_cmd_helper",
- ":gles2_interface",
- "//base",
- "//gpu/command_buffer/common",
- "//ui/gfx/geometry",
- "//ui/gl",
+ "//ui/gfx",
]
}
# Library emulates GLES2 using command_buffers.
-component("gles2_implementation_client_side_arrays") {
+component("gles2_implementation") {
sources = gles2_implementation_source_files
- defines = [
- "GLES2_IMPL_IMPLEMENTATION",
- "GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1",
- ]
+ defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
if (is_win) {
"//base",
"//gpu/command_buffer/common",
"//ui/gfx/geometry",
- "//ui/gl",
]
}
deps = [
":gles2_implementation",
+ ":gpu_memory_buffer_manager",
"//gpu",
"//gpu/command_buffer/common:gles2_utils",
"//base",