diff options
author | Robert Nagy <robert@openbsd.org> | 2022-12-13 12:48:15 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-12-13 12:56:03 +0000 |
commit | ffc26944163ffa0cb9e8a8b1ab5a1ff9b34d806d (patch) | |
tree | 58b3c24d73d8f3536e32afff68717ba49f2c6e1e | |
parent | 38d7436fd72b6d75dfb08d0efe92d3ced3a13857 (diff) | |
download | ports-ffc26944163ffa0cb9e8a8b1ab5a1ff9b34d806d.tar.gz ports-ffc26944163ffa0cb9e8a8b1ab5a1ff9b34d806d.zip |
www/{chromium,iridium,ungoogled-chromium}: enable gpu rasterization feature by default
-rw-r--r-- | www/chromium/Makefile | 1 | ||||
-rw-r--r-- | www/chromium/files/patch-gpu_config_gpu__finch__features.cc | 21 | ||||
-rw-r--r-- | www/iridium/Makefile | 1 | ||||
-rw-r--r-- | www/iridium/files/patch-gpu_config_gpu__finch__features.cc | 21 | ||||
-rw-r--r-- | www/ungoogled-chromium/Makefile | 1 | ||||
-rw-r--r-- | www/ungoogled-chromium/files/patch-gpu_config_gpu__finch__features.cc | 21 |
6 files changed, 66 insertions, 0 deletions
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 |