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

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

Issue 1989013002: Added Vulkan Descriptor Sets and Samplers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separated out descriptor layout Created 4 years, 7 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 | gpu/vulkan/vulkan_descriptor_layout.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 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 config("vulkan_config") { 8 config("vulkan_config") {
9 defines = [ "ENABLE_VULKAN" ] 9 defines = [ "ENABLE_VULKAN" ]
10 } 10 }
11 11
12 if (enable_vulkan) { 12 if (enable_vulkan) {
13 component("vulkan") { 13 component("vulkan") {
14 output_name = "vulkan_wrapper" 14 output_name = "vulkan_wrapper"
15 15
16 if (is_linux) { 16 if (is_linux) {
17 assert(use_x11, "Vulkan only support x11 at this point.") 17 assert(use_x11, "Vulkan only support x11 at this point.")
18 sources = [ 18 sources = [
19 "vulkan_command_buffer.cc", 19 "vulkan_command_buffer.cc",
20 "vulkan_command_buffer.h", 20 "vulkan_command_buffer.h",
21 "vulkan_command_pool.cc", 21 "vulkan_command_pool.cc",
22 "vulkan_command_pool.h", 22 "vulkan_command_pool.h",
23 "vulkan_descriptor_layout.cc",
24 "vulkan_descriptor_layout.h",
25 "vulkan_descriptor_pool.cc",
26 "vulkan_descriptor_pool.h",
27 "vulkan_descriptor_set.cc",
28 "vulkan_descriptor_set.h",
23 "vulkan_device_queue.cc", 29 "vulkan_device_queue.cc",
24 "vulkan_device_queue.h", 30 "vulkan_device_queue.h",
25 "vulkan_export.h", 31 "vulkan_export.h",
26 "vulkan_image_view.cc", 32 "vulkan_image_view.cc",
27 "vulkan_image_view.h", 33 "vulkan_image_view.h",
28 "vulkan_implementation.cc", 34 "vulkan_implementation.cc",
29 "vulkan_implementation.h", 35 "vulkan_implementation.h",
30 "vulkan_platform.h", 36 "vulkan_platform.h",
31 "vulkan_render_pass.cc", 37 "vulkan_render_pass.cc",
32 "vulkan_render_pass.h", 38 "vulkan_render_pass.h",
39 "vulkan_sampler.cc",
40 "vulkan_sampler.h",
33 "vulkan_shader_module.cc", 41 "vulkan_shader_module.cc",
34 "vulkan_shader_module.h", 42 "vulkan_shader_module.h",
35 "vulkan_surface.cc", 43 "vulkan_surface.cc",
36 "vulkan_surface.h", 44 "vulkan_surface.h",
37 "vulkan_swap_chain.cc", 45 "vulkan_swap_chain.cc",
38 "vulkan_swap_chain.h", 46 "vulkan_swap_chain.h",
39 ] 47 ]
40 48
41 configs += [ "//build/config:precompiled_headers" ] 49 configs += [ "//build/config:precompiled_headers" ]
42 defines = [ "VULKAN_IMPLEMENTATION" ] 50 defines = [ "VULKAN_IMPLEMENTATION" ]
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 "//testing/gtest", 99 "//testing/gtest",
92 ] 100 ]
93 101
94 if (use_x11) { 102 if (use_x11) {
95 sources += [ "tests/native_window_x11.cc" ] 103 sources += [ "tests/native_window_x11.cc" ]
96 deps += [ "//ui/gfx/x" ] 104 deps += [ "//ui/gfx/x" ]
97 configs += [ "//build/config/linux:x11" ] 105 configs += [ "//build/config/linux:x11" ]
98 } 106 }
99 } 107 }
100 } 108 }
OLDNEW
« no previous file with comments | « no previous file | gpu/vulkan/vulkan_descriptor_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698