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

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
« no previous file with comments | « no previous file | components/viz/service/display_compositor/gpu_display_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
49 deps = [
50 # Note that dependency on //gpu/ipc/client is for GpuMemoryBufferImpl. This
51 # dependency should not be in public_deps.
52 "//gpu/ipc/client",
53 "//gpu/ipc/service",
54 ]
55
47 public_deps = [ 56 public_deps = [
48 "//base", 57 "//base",
49 "//cc", 58 "//cc",
50 "//cc/ipc:interfaces", 59 "//cc/ipc:interfaces",
51 "//cc/surfaces", 60 "//cc/surfaces",
52 "//gpu/command_buffer/client", 61 "//gpu/command_buffer/client",
53 "//gpu/command_buffer/client:gles2_interface", 62 "//gpu/command_buffer/client:gles2_interface",
54 "//gpu/command_buffer/common", 63 "//gpu/command_buffer/common",
55 "//gpu/ipc:command_buffer", 64 "//gpu/ipc:command_buffer",
56 "//gpu/ipc/common:surface_handle_type", 65 "//gpu/ipc/common:surface_handle_type",
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "//skia", 198 "//skia",
190 "//testing/gmock", 199 "//testing/gmock",
191 "//testing/gtest", 200 "//testing/gtest",
192 "//ui/gl:test_support", 201 "//ui/gl:test_support",
193 ] 202 ]
194 203
195 data_deps = [ 204 data_deps = [
196 "//third_party/mesa:osmesa", 205 "//third_party/mesa:osmesa",
197 ] 206 ]
198 } 207 }
OLDNEW
« no previous file with comments | « no previous file | components/viz/service/display_compositor/gpu_display_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698