forked from Lainports/freebsd-ports
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
984 B
C++
20 lines
984 B
C++
--- components/viz/common/features.cc.orig 2024-06-18 21:43:31 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);
|
|
}
|