aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_browser_gpu_compositor__util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-content_browser_gpu_compositor__util.cc')
-rw-r--r--www/chromium/files/patch-content_browser_gpu_compositor__util.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/www/chromium/files/patch-content_browser_gpu_compositor__util.cc b/www/chromium/files/patch-content_browser_gpu_compositor__util.cc
index 853dd4cfb41c..d9084c632939 100644
--- a/www/chromium/files/patch-content_browser_gpu_compositor__util.cc
+++ b/www/chromium/files/patch-content_browser_gpu_compositor__util.cc
@@ -1,20 +1,20 @@
---- content/browser/gpu/compositor_util.cc.orig 2024-01-30 07:53:34 UTC
+--- content/browser/gpu/compositor_util.cc.orig 2024-04-19 13:02:56 UTC
+++ content/browser/gpu/compositor_util.cc
-@@ -149,7 +149,7 @@ const GpuFeatureData GetGpuFeatureData(
- {"video_decode",
- SafeGetFeatureStatus(gpu_feature_info,
- gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE),
+@@ -149,7 +149,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
+ "video_decode",
+ SafeGetFeatureStatus(
+ gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE,
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- !base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) ||
+ !base::FeatureList::IsEnabled(media::kVaapiVideoDecodeLinux) ||
#endif // BUILDFLAG(IS_LINUX)
- command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode),
-@@ -160,7 +160,7 @@ const GpuFeatureData GetGpuFeatureData(
- {"video_encode",
- SafeGetFeatureStatus(gpu_feature_info,
- gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE),
+ command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)),
+@@ -161,7 +161,7 @@ std::vector<GpuFeatureData> GetGpuFeatureData(
+ "video_encode",
+ SafeGetFeatureStatus(
+ gpu_feature_info, gpu::GPU_FEATURE_TYPE_ACCELERATED_VIDEO_ENCODE,
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- !base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux),
+ !base::FeatureList::IsEnabled(media::kVaapiVideoEncodeLinux)),
#else
- command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode),
+ command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode)),