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

Side by Side Diff: components/viz/service/BUILD.gn

Issue 2942283002: viz: Use a simple GpuMemoryBufferManager implementation. (Closed)
Patch Set: . Created 3 years, 6 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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 config("viz_service_implementation") { 8 config("viz_service_implementation") {
9 } 9 }
10 10
11 component("service") { 11 component("service") {
12 sources = [ 12 sources = [
13 "display_compositor/buffer_queue.cc", 13 "display_compositor/buffer_queue.cc",
14 "display_compositor/buffer_queue.h", 14 "display_compositor/buffer_queue.h",
15 "display_compositor/compositor_overlay_candidate_validator.h", 15 "display_compositor/compositor_overlay_candidate_validator.h",
16 "display_compositor/display_output_surface.cc", 16 "display_compositor/display_output_surface.cc",
17 "display_compositor/display_output_surface.h", 17 "display_compositor/display_output_surface.h",
18 "display_compositor/display_provider.h", 18 "display_compositor/display_provider.h",
19 "display_compositor/gl_helper.cc", 19 "display_compositor/gl_helper.cc",
20 "display_compositor/gl_helper.h", 20 "display_compositor/gl_helper.h",
21 "display_compositor/gl_helper_readback_support.cc", 21 "display_compositor/gl_helper_readback_support.cc",
22 "display_compositor/gl_helper_readback_support.h", 22 "display_compositor/gl_helper_readback_support.h",
23 "display_compositor/gl_helper_scaling.cc", 23 "display_compositor/gl_helper_scaling.cc",
24 "display_compositor/gl_helper_scaling.h", 24 "display_compositor/gl_helper_scaling.h",
25 "display_compositor/gpu_display_provider.cc", 25 "display_compositor/gpu_display_provider.cc",
26 "display_compositor/gpu_display_provider.h", 26 "display_compositor/gpu_display_provider.h",
27 "display_compositor/host_shared_bitmap_manager.cc", 27 "display_compositor/host_shared_bitmap_manager.cc",
28 "display_compositor/host_shared_bitmap_manager.h", 28 "display_compositor/host_shared_bitmap_manager.h",
29 "display_compositor/in_process_gpu_memory_buffer_manager.cc",
30 "display_compositor/in_process_gpu_memory_buffer_manager.h",
29 "frame_sinks/frame_eviction_manager.cc", 31 "frame_sinks/frame_eviction_manager.cc",
30 "frame_sinks/frame_eviction_manager.h", 32 "frame_sinks/frame_eviction_manager.h",
31 "frame_sinks/frame_evictor.cc", 33 "frame_sinks/frame_evictor.cc",
32 "frame_sinks/frame_evictor.h", 34 "frame_sinks/frame_evictor.h",
33 "frame_sinks/gpu_compositor_frame_sink.cc", 35 "frame_sinks/gpu_compositor_frame_sink.cc",
34 "frame_sinks/gpu_compositor_frame_sink.h", 36 "frame_sinks/gpu_compositor_frame_sink.h",
35 "frame_sinks/gpu_compositor_frame_sink_delegate.h", 37 "frame_sinks/gpu_compositor_frame_sink_delegate.h",
36 "frame_sinks/gpu_root_compositor_frame_sink.cc", 38 "frame_sinks/gpu_root_compositor_frame_sink.cc",
37 "frame_sinks/gpu_root_compositor_frame_sink.h", 39 "frame_sinks/gpu_root_compositor_frame_sink.h",
38 "frame_sinks/mojo_frame_sink_manager.cc", 40 "frame_sinks/mojo_frame_sink_manager.cc",
39 "frame_sinks/mojo_frame_sink_manager.h", 41 "frame_sinks/mojo_frame_sink_manager.h",
40 "viz_service_export.h", 42 "viz_service_export.h",
41 ] 43 ]
42 44
43 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ] 45 defines = [ "VIZ_SERVICE_IMPLEMENTATION" ]
44 46
45 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 47 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
46 48
47 public_deps = [ 49 public_deps = [
48 "//base", 50 "//base",
49 "//cc", 51 "//cc",
50 "//cc/ipc:interfaces", 52 "//cc/ipc:interfaces",
51 "//cc/surfaces", 53 "//cc/surfaces",
52 "//gpu/command_buffer/client", 54 "//gpu/command_buffer/client",
53 "//gpu/command_buffer/client:gles2_interface", 55 "//gpu/command_buffer/client:gles2_interface",
54 "//gpu/command_buffer/common", 56 "//gpu/command_buffer/common",
55 "//gpu/ipc:command_buffer", 57 "//gpu/ipc:command_buffer",
58 "//gpu/ipc/client",
danakj 2017/06/20 14:52:41 i didn't see this used while reading through?
56 "//gpu/ipc/common:surface_handle_type", 59 "//gpu/ipc/common:surface_handle_type",
60 "//gpu/ipc/service",
57 "//skia", 61 "//skia",
58 "//ui/display/types", 62 "//ui/display/types",
59 "//ui/gfx", 63 "//ui/gfx",
60 ] 64 ]
61 65
62 if (is_mac) { 66 if (is_mac) {
63 sources += [ 67 sources += [
64 "display_compositor/compositor_overlay_candidate_validator_mac.h", 68 "display_compositor/compositor_overlay_candidate_validator_mac.h",
65 "display_compositor/compositor_overlay_candidate_validator_mac.mm", 69 "display_compositor/compositor_overlay_candidate_validator_mac.mm",
66 ] 70 ]
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "//skia", 193 "//skia",
190 "//testing/gmock", 194 "//testing/gmock",
191 "//testing/gtest", 195 "//testing/gtest",
192 "//ui/gl:test_support", 196 "//ui/gl:test_support",
193 ] 197 ]
194 198
195 data_deps = [ 199 data_deps = [
196 "//third_party/mesa:osmesa", 200 "//third_party/mesa:osmesa",
197 ] 201 ]
198 } 202 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698