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

Side by Side Diff: services/ui/surfaces/BUILD.gn

Issue 2654693003: Decouple GpuCompositorFrameSink from DisplayCompositor (Closed)
Patch Set: Refactor code Created 3 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 6
7 source_set("surfaces") { 7 source_set("surfaces") {
8 sources = [ 8 sources = [
9 "display_compositor.cc", 9 "display_compositor.cc",
10 "display_compositor.h", 10 "display_compositor.h",
11 "display_output_surface.cc", 11 "display_output_surface.cc",
12 "display_output_surface.h", 12 "display_output_surface.h",
13 "gpu_compositor_frame_sink.cc",
14 "gpu_compositor_frame_sink.h",
15 "gpu_display_compositor_frame_sink.cc",
16 "gpu_display_compositor_frame_sink.h",
17 "gpu_offscreen_compositor_frame_sink.cc",
18 "gpu_offscreen_compositor_frame_sink.h",
19 ] 13 ]
20 14
21 deps = [ 15 deps = [
22 "//base", 16 "//base",
23 "//cc", 17 "//cc",
24 "//cc/ipc:internal_interfaces", 18 "//cc/ipc:internal_interfaces",
25 "//cc/surfaces", 19 "//cc/surfaces",
26 "//components/display_compositor", 20 "//components/display_compositor",
27 "//gpu/command_buffer/client", 21 "//gpu/command_buffer/client",
28 "//gpu/command_buffer/client:gles2_interface", 22 "//gpu/command_buffer/client:gles2_interface",
29 "//gpu/ipc:command_buffer", 23 "//gpu/ipc:command_buffer",
30 "//ui/display/types", 24 "//ui/display/types",
31 "//ui/gfx", 25 "//ui/gfx",
32 "//ui/gfx/geometry/mojo", 26 "//ui/gfx/geometry/mojo",
33 ] 27 ]
34 28
35 if (use_ozone) { 29 if (use_ozone) {
36 sources += [ 30 sources += [
37 "display_output_surface_ozone.cc", 31 "display_output_surface_ozone.cc",
38 "display_output_surface_ozone.h", 32 "display_output_surface_ozone.h",
39 ] 33 ]
40 deps += [ 34 deps += [
41 "//gpu/command_buffer/common", 35 "//gpu/command_buffer/common",
42 "//ui/gl", 36 "//ui/gl",
43 ] 37 ]
44 } 38 }
45 } 39 }
OLDNEW
« no previous file with comments | « components/display_compositor/gpu_offscreen_compositor_frame_sink.cc ('k') | services/ui/surfaces/display_compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698