enable gpu rasterization feature by default

This commit is contained in:
robert 2022-12-13 12:50:03 +00:00
parent 4cf87765b3
commit adebfa211b
2 changed files with 23 additions and 0 deletions

View File

@ -11,6 +11,7 @@ DPB_PROPERTIES+= lonesome
COMMENT= Iridium browser
V= 2022.12.108.1
REVISION= 0
DISTNAME= iridium-browser-${V}
PKGNAME= iridium-${V}

View File

@ -0,0 +1,22 @@
Index: gpu/config/gpu_finch_features.cc
--- gpu/config/gpu_finch_features.cc.orig
+++ gpu/config/gpu_finch_features.cc
@@ -57,7 +57,7 @@ bool IsDeviceBlocked(const char* field, const std::str
BASE_FEATURE(kUseGles2ForOopR,
"UseGles2ForOopR",
#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_WIN) || \
- BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
@@ -135,7 +135,8 @@ const base::FeatureParam<std::string>
BASE_FEATURE(kDefaultEnableGpuRasterization,
"DefaultEnableGpuRasterization",
#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX)
+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_LINUX) || \
+ BUILDFLAG(IS_BSD)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT