aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-12-05 12:29:57 +0000
committerRene Ladan <rene@FreeBSD.org>2020-12-05 12:29:57 +0000
commit06a5d2111549478c2f0e505de2e21fee4186dee1 (patch)
tree301ba3fa32c36a85fe8fcebea9a731920a500679 /www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc
parent373b40e4870c76510a1a7a6469e515f8ece5e379 (diff)
downloadports-06a5d2111549478c2f0e505de2e21fee4186dee1.tar.gz
ports-06a5d2111549478c2f0e505de2e21fee4186dee1.zip
www/chromium: Synchronize with HEAD
MFH: r552588 r553068 r553141 r554786 r554895 r555115 r556709 r556720 r556921 www/chromium: drop pkg-message which was only useful for FreeBSD <= 11.2 Phabricator: D26646 www/chromium: Update to version 85.0.4183.121 Submitted by: cem, rene Obtained from: some patches from OpenBSD port www/chromium: Use SNDIO instead of ALSA for audio by default There are stuttering sound issues when using ALSA, so switch to something that works. PR: 250370 www/chromium: attempt to fix build on aarch64 PR: 246982 Reported by: Bob Prohaska Approved by: portmgr (tier-2 blanket) www/chromium: improve cpu features detection on aarch64 Approved by: portmgr (tier-2 blanket) www/chromium: Make online detection always positive Summary: navigator.onLine is currently broken in www/chromium. This change introduce a workaround that always return positive for online detection. Sponsored by: The FreeBSD Foundation Submitted by: Ka Ho Ng <khng300@gmail.com> Differential Revision: https://reviews.freebsd.org/D26490 www/chromium: Update to version 87.0.4280.66 Submitted by: Matthias Wolf, cem, rene Obtained from: Some patches from OpenBSD port (robert@openbsd.org) Unbreak INDEX www/chromium: Update to 87.0.4280.88 https://chromereleases.googleblog.com/2020/12/stable-channel-update-for-desktop.html Changes: https://chromium.googlesource.com/chromium/src/+log/87.0.4280.67..87.0.4280.88?pretty=fuller&n=10000 Approved by: jrm Differential Revision: https://reviews.freebsd.org/D27452
Notes
Notes: svn path=/branches/2020Q4/; revision=557055
Diffstat (limited to 'www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc')
-rw-r--r--www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc b/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc
index 9cd7f68d1d12..12e75d6fe7f2 100644
--- a/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc
+++ b/www/chromium/files/patch-gpu_ipc_service_gpu__watchdog__thread.cc
@@ -1,15 +1,15 @@
---- gpu/ipc/service/gpu_watchdog_thread.cc.orig 2020-05-13 18:39:44 UTC
+--- gpu/ipc/service/gpu_watchdog_thread.cc.orig 2020-11-13 06:36:44 UTC
+++ gpu/ipc/service/gpu_watchdog_thread.cc
-@@ -64,7 +64,7 @@ void GpuWatchdogTimeoutHistogram(GpuWatchdogTimeoutEve
- base::UmaHistogramEnumeration("GPU.WatchdogThread.V1.Timeout", timeout_event);
- }
+@@ -57,7 +57,7 @@ const int kNewGpuTimeout = 17000;
+ const int kNewGpuTimeout = 15000;
+ #endif
-#if defined(USE_X11)
+#if defined(USE_X11) && !defined(OS_BSD)
const base::FilePath::CharType kTtyFilePath[] =
FILE_PATH_LITERAL("/sys/class/tty/tty0/active");
#endif
-@@ -82,7 +82,7 @@ GpuWatchdogThreadImplV1::GpuWatchdogThreadImplV1()
+@@ -75,7 +75,7 @@ GpuWatchdogThreadImplV1::GpuWatchdogThreadImplV1()
arm_cpu_time_(),
#endif
suspension_counter_(this)
@@ -18,7 +18,7 @@
,
host_tty_(-1)
#endif
-@@ -104,7 +104,7 @@ GpuWatchdogThreadImplV1::GpuWatchdogThreadImplV1()
+@@ -97,7 +97,7 @@ GpuWatchdogThreadImplV1::GpuWatchdogThreadImplV1()
DCHECK(result);
#endif
@@ -27,7 +27,7 @@
tty_file_ = base::OpenFile(base::FilePath(kTtyFilePath), "r");
UpdateActiveTTY();
host_tty_ = active_tty_;
-@@ -252,7 +252,7 @@ GpuWatchdogThreadImplV1::~GpuWatchdogThreadImplV1() {
+@@ -239,7 +239,7 @@ GpuWatchdogThreadImplV1::~GpuWatchdogThreadImplV1() {
base::PowerMonitor::RemoveObserver(this);
@@ -36,7 +36,7 @@
if (tty_file_)
fclose(tty_file_);
#endif
-@@ -435,7 +435,7 @@ void GpuWatchdogThreadImplV1::DeliberatelyTerminateToR
+@@ -388,7 +388,7 @@ void GpuWatchdogThreadImplV1::DeliberatelyTerminateToR
return;
#endif
@@ -45,7 +45,7 @@
// Don't crash if we're not on the TTY of our host X11 server.
UpdateActiveTTY();
if (host_tty_ != -1 && active_tty_ != -1 && host_tty_ != active_tty_) {
-@@ -610,7 +610,7 @@ base::ThreadTicks GpuWatchdogThreadImplV1::GetWatchedT
+@@ -548,7 +548,7 @@ base::ThreadTicks GpuWatchdogThreadImplV1::GetWatchedT
}
#endif