www/{chromium,iridium,ungoogled-chromium}: enable gpu rasterization feature by default
This commit is contained in:
parent
38d7436fd7
commit
ffc2694416
@ -1,5 +1,6 @@
|
||||
PORTNAME= chromium
|
||||
PORTVERSION= 108.0.5359.98
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www wayland
|
||||
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
|
||||
https://nerd.hu/distfiles/:external
|
||||
|
21
www/chromium/files/patch-gpu_config_gpu__finch__features.cc
Normal file
21
www/chromium/files/patch-gpu_config_gpu__finch__features.cc
Normal file
@ -0,0 +1,21 @@
|
||||
--- gpu/config/gpu_finch_features.cc.orig 2022-12-13 12:44:51 UTC
|
||||
+++ 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
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= iridium
|
||||
PORTVERSION= 2022.12.108.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www wayland
|
||||
MASTER_SITES= https://downloads.iridiumbrowser.de/source/
|
||||
PKGNAMESUFFIX= -browser
|
||||
|
21
www/iridium/files/patch-gpu_config_gpu__finch__features.cc
Normal file
21
www/iridium/files/patch-gpu_config_gpu__finch__features.cc
Normal file
@ -0,0 +1,21 @@
|
||||
--- gpu/config/gpu_finch_features.cc.orig 2022-12-13 12:44:51 UTC
|
||||
+++ 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
|
@ -1,6 +1,7 @@
|
||||
PORTNAME= ungoogled-chromium
|
||||
PORTVERSION= 108.0.5359.98
|
||||
UGVERSION= ${DISTVERSION}-1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www wayland
|
||||
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
|
||||
https://nerd.hu/distfiles/:external
|
||||
|
@ -0,0 +1,21 @@
|
||||
--- gpu/config/gpu_finch_features.cc.orig 2022-12-13 12:44:51 UTC
|
||||
+++ 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