mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
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
1,015 B
C++
20 lines
1,015 B
C++
--- components/viz/common/features.cc.orig 2024-08-14 20:54:58 UTC
|
|
+++ components/viz/common/features.cc
|
|
@@ -234,7 +234,7 @@ BASE_FEATURE(kAllowForceMergeRenderPassWithRequireOver
|
|
"AllowForceMergeRenderPassWithRequireOverlayQuads",
|
|
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
|
|
@@ -500,7 +500,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);
|
|
}
|