blob: abcd386b161aa4d0ca33d3512d215bf855bd076c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- components/viz/common/features.cc.orig 2024-06-17 12:56:06 UTC
+++ components/viz/common/features.cc
@@ -251,7 +251,7 @@ BASE_FEATURE(kBufferQueueImageSetPurgeable,
"BufferQueueImageSetPurgeable",
base::FEATURE_ENABLED_BY_DEFAULT);
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
// On platforms using SkiaOutputDeviceBufferQueue and not yet universally using
// SkiaRenderer-allocated images, when this is true SkiaRenderer will allocate
// and maintain a buffer queue of images for the root render pass, instead of
@@ -535,7 +535,7 @@ bool ShouldOnBeginFrameThrottleVideo() {
return base::FeatureList::IsEnabled(features::kOnBeginFrameThrottleVideo);
}
-#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
bool ShouldRendererAllocateImages() {
return base::FeatureList::IsEnabled(kRendererAllocatesImages);
}
|