mirror of
https://git.freebsd.org/ports.git
synced 2025-05-21 03:23:10 -04:00
This update also removes the --audio-backend command line switch in favor of an actual setting in the browser that can be changed at chrome://flags/#audio-backend Security: https://vuxml.freebsd.org/freebsd/15d398ea-4f73-11ef-8a0f-a8a1599412c6.html
20 lines
1 KiB
C++
20 lines
1 KiB
C++
--- gpu/vulkan/vulkan_device_queue.cc.orig 2024-07-30 11:12:21 UTC
|
|
+++ gpu/vulkan/vulkan_device_queue.cc
|
|
@@ -149,7 +149,7 @@ bool VulkanDeviceQueue::Initialize(
|
|
|
|
// In dual-CPU cases, we cannot detect the active GPU correctly on Linux,
|
|
// so don't select GPU device based on the |gpu_info|.
|
|
-#if !BUILDFLAG(IS_LINUX)
|
|
+#if !BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_BSD)
|
|
// If gpu_info is provided, the device should match it.
|
|
if (gpu_info && (device_properties.vendorID != gpu_info->gpu.vendor_id ||
|
|
device_properties.deviceID != gpu_info->gpu.device_id)) {
|
|
@@ -292,7 +292,7 @@ bool VulkanDeviceQueue::Initialize(
|
|
// Android, Fuchsia, Linux, and CrOS (VaapiVideoDecoder) need YCbCr sampler
|
|
// support.
|
|
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS)
|
|
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
if (!physical_device_info.feature_sampler_ycbcr_conversion) {
|
|
LOG(ERROR) << "samplerYcbcrConversion is not supported.";
|
|
return false;
|