enable gpu rasterization feature by default
This commit is contained in:
parent
4cf87765b3
commit
adebfa211b
@ -11,6 +11,7 @@ DPB_PROPERTIES+= lonesome
|
||||
COMMENT= Iridium browser
|
||||
|
||||
V= 2022.12.108.1
|
||||
REVISION= 0
|
||||
|
||||
DISTNAME= iridium-browser-${V}
|
||||
PKGNAME= iridium-${V}
|
||||
|
22
www/iridium/patches/patch-gpu_config_gpu_finch_features_cc
Normal file
22
www/iridium/patches/patch-gpu_config_gpu_finch_features_cc
Normal 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
|
Loading…
Reference in New Issue
Block a user