diff options
Diffstat (limited to 'devel/electron38/files/patch-content_browser_gpu_compositor__util.cc')
-rw-r--r-- | devel/electron38/files/patch-content_browser_gpu_compositor__util.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron38/files/patch-content_browser_gpu_compositor__util.cc b/devel/electron38/files/patch-content_browser_gpu_compositor__util.cc new file mode 100644 index 000000000000..a655723daeb8 --- /dev/null +++ b/devel/electron38/files/patch-content_browser_gpu_compositor__util.cc @@ -0,0 +1,20 @@ +--- content/browser/gpu/compositor_util.cc.orig 2025-06-30 07:04:30 UTC ++++ content/browser/gpu/compositor_util.cc +@@ -143,7 +143,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::kAcceleratedVideoDecodeLinux) || + #endif // BUILDFLAG(IS_LINUX) + command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode)), +@@ -155,7 +155,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::kAcceleratedVideoEncodeLinux)), + #else + command_line.HasSwitch(switches::kDisableAcceleratedVideoEncode)), |