git: ffc26944163f - main - www/{chromium,iridium,ungoogled-chromium}: enable gpu rasterization feature by default
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Dec 2022 12:56:06 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=ffc26944163ffa0cb9e8a8b1ab5a1ff9b34d806d commit ffc26944163ffa0cb9e8a8b1ab5a1ff9b34d806d Author: Robert Nagy <robert@openbsd.org> AuthorDate: 2022-12-13 12:48:15 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2022-12-13 12:56:03 +0000 www/{chromium,iridium,ungoogled-chromium}: enable gpu rasterization feature by default --- www/chromium/Makefile | 1 + .../files/patch-gpu_config_gpu__finch__features.cc | 21 +++++++++++++++++++++ www/iridium/Makefile | 1 + .../files/patch-gpu_config_gpu__finch__features.cc | 21 +++++++++++++++++++++ www/ungoogled-chromium/Makefile | 1 + .../files/patch-gpu_config_gpu__finch__features.cc | 21 +++++++++++++++++++++ 6 files changed, 66 insertions(+) diff --git a/www/chromium/Makefile b/www/chromium/Makefile index c07000eb2628..67d5da69991b 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -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 diff --git a/www/chromium/files/patch-gpu_config_gpu__finch__features.cc b/www/chromium/files/patch-gpu_config_gpu__finch__features.cc new file mode 100644 index 000000000000..230697001321 --- /dev/null +++ b/www/chromium/files/patch-gpu_config_gpu__finch__features.cc @@ -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 diff --git a/www/iridium/Makefile b/www/iridium/Makefile index fe774f3228be..eea103f7ce5a 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -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 diff --git a/www/iridium/files/patch-gpu_config_gpu__finch__features.cc b/www/iridium/files/patch-gpu_config_gpu__finch__features.cc new file mode 100644 index 000000000000..230697001321 --- /dev/null +++ b/www/iridium/files/patch-gpu_config_gpu__finch__features.cc @@ -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 diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index ccd65514f813..454847861064 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -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 diff --git a/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc b/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc new file mode 100644 index 000000000000..230697001321 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc @@ -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