Hash :
4e6fe5e0
Author :
Date :
2024-02-29T15:01:06
Vulkan: Cache ImageLoadContext in context This avoids the need to requery this from the display every time. Bug: angleproject:8564 Change-Id: Ied650e7789741f59b7662c0f97c55132b105778d Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/5332074 Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: Charlie Lao <cclao@google.com> Reviewed-by: Geoff Lang <geofflang@chromium.org>
# Copyright 2024 The ANGLE Project Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# This file houses the build configuration for the ANGLE Wgpu back-end.
import("//third_party/dawn/scripts/dawn_features.gni")
import("../../../../gni/angle.gni")
import("wgpu_sources.gni")
assert(angle_enable_wgpu)
assert(defined(angle_dawn_dir))
config("angle_wgpu_backend_config") {
defines = [ "ANGLE_ENABLE_WGPU" ]
}
angle_source_set("angle_wgpu_backend") {
sources = wgpu_backend_sources
public_deps = [ "$angle_root:libANGLE_headers" ]
deps = [
"$angle_root:angle_image_util",
"${angle_dawn_dir}/include/dawn:cpp_headers",
"${angle_dawn_dir}/include/dawn:headers",
"${angle_dawn_dir}/src/dawn:cpp",
"${angle_dawn_dir}/src/dawn:proc",
"${angle_dawn_dir}/src/dawn/native",
]
}