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

Side by Side Diff: gpu/vulkan/BUILD.gn

Issue 1829163003: Added initial implementation of the Vulkan Context Provider. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vk_surface_patch
Patch Set: Block off vulkan_cc with enable_vulkan (not relevant in future patch) Created 4 years, 8 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 | « cc/output/vulkan_in_process_context_provider.cc ('k') | gpu/vulkan/tests/vulkan_test.cc » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 if (enable_vulkan) { 8 if (enable_vulkan) {
9 component("vulkan") { 9 component("vulkan") {
10 output_name = "vulkan_wrapper" 10 output_name = "vulkan_wrapper"
11 11
12 if (is_linux) { 12 if (is_linux) {
13 assert(use_x11, "Vulkan only support x11 at this point.") 13 assert(use_x11, "Vulkan only support x11 at this point.")
14 sources = [ 14 sources = [
15 "vulkan_command_buffer.cc", 15 "vulkan_command_buffer.cc",
16 "vulkan_command_buffer.h", 16 "vulkan_command_buffer.h",
17 "vulkan_command_pool.cc", 17 "vulkan_command_pool.cc",
18 "vulkan_command_pool.h", 18 "vulkan_command_pool.h",
19 "vulkan_device_queue.cc",
20 "vulkan_device_queue.h",
19 "vulkan_export.h", 21 "vulkan_export.h",
20 "vulkan_image_view.cc", 22 "vulkan_image_view.cc",
21 "vulkan_image_view.h", 23 "vulkan_image_view.h",
22 "vulkan_implementation.cc", 24 "vulkan_implementation.cc",
23 "vulkan_implementation.h", 25 "vulkan_implementation.h",
24 "vulkan_platform.h", 26 "vulkan_platform.h",
25 "vulkan_render_pass.cc", 27 "vulkan_render_pass.cc",
26 "vulkan_render_pass.h", 28 "vulkan_render_pass.h",
27 "vulkan_surface.cc", 29 "vulkan_surface.cc",
28 "vulkan_surface.h", 30 "vulkan_surface.h",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 "//testing/gtest", 78 "//testing/gtest",
77 ] 79 ]
78 80
79 if (use_x11) { 81 if (use_x11) {
80 sources += [ "tests/native_window_x11.cc" ] 82 sources += [ "tests/native_window_x11.cc" ]
81 deps += [ "//ui/gfx/x" ] 83 deps += [ "//ui/gfx/x" ]
82 configs += [ "//build/config/linux:x11" ] 84 configs += [ "//build/config/linux:x11" ]
83 } 85 }
84 } 86 }
85 } 87 }
OLDNEW
« no previous file with comments | « cc/output/vulkan_in_process_context_provider.cc ('k') | gpu/vulkan/tests/vulkan_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698