pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: Allow hardware acceleration up to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2154a38142e2
branches:  trunk
changeset: 409055:2154a38142e2
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Wed Jan 15 10:50:37 2020 +0000

description:
firefox: Allow hardware acceleration up to 4K UHD resolution

Bump PKGREVISION.

diffstat:

 www/firefox/Makefile                                 |   3 ++-
 www/firefox/distinfo                                 |   3 ++-
 www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 4c23dd9fe58e -r 2154a38142e2 www/firefox/Makefile
--- a/www/firefox/Makefile      Wed Jan 15 09:04:16 2020 +0000
+++ b/www/firefox/Makefile      Wed Jan 15 10:50:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.405 2020/01/09 15:06:28 ryoon Exp $
+# $NetBSD: Makefile,v 1.406 2020/01/15 10:50:37 ryoon Exp $
 
 FIREFOX_VER=           ${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
 MOZ_BRANCH=            72.0
@@ -6,6 +6,7 @@
 
 DISTNAME=      firefox-${FIREFOX_VER}.source
 PKGNAME=       ${DISTNAME:S/.source//:S/b/beta/:S/esr//}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES+= ${MASTER_SITE_MOZILLA:=firefox/releases/${FIREFOX_VER}/source/}
 EXTRACT_SUFX=  .tar.xz
diff -r 4c23dd9fe58e -r 2154a38142e2 www/firefox/distinfo
--- a/www/firefox/distinfo      Wed Jan 15 09:04:16 2020 +0000
+++ b/www/firefox/distinfo      Wed Jan 15 10:50:37 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.375 2020/01/09 15:06:29 ryoon Exp $
+$NetBSD: distinfo,v 1.376 2020/01/15 10:50:37 ryoon Exp $
 
 SHA1 (firefox-72.0.1.source.tar.xz) = bfe2a6c57cc9c192681388c9e4af9c0c44f315a6
 RMD160 (firefox-72.0.1.source.tar.xz) = 1332177b77c54b9a1ef2180730fc9c08a5a7b730
@@ -14,6 +14,7 @@
 SHA1 (patch-gfx_angle_checkout_src_common_third__party_smhasher_src_PMurHash.cpp) = e458c9c8dc66edc69c1874734af28a77fc5e3993
 SHA1 (patch-gfx_angle_checkout_src_compiler_translator_InfoSink.h) = 2f73c76c48852613e0c55c1680fcc2a9eb3cf4ef
 SHA1 (patch-gfx_skia_skia_src_core_SkCpu.cpp) = 36218819254f3681b9c717d652ea78c9f20d49ad
+SHA1 (patch-gfx_thebes_gfxPlatform.cpp) = 243333d8a091e98ace0fd4a94df7c2d37e3b2aad
 SHA1 (patch-ipc_chromium_src_base_lock__impl__posix.cc) = d84d9b4d416e049423120dcbf9199644ce1c93ab
 SHA1 (patch-ipc_chromium_src_base_message__pump__libevent.cc) = 4a6606da590cfb8d855bde58b9c6f90e98d0870c
 SHA1 (patch-ipc_chromium_src_base_platform__thread__posix.cc) = 35d20981d33ccdb1d8ffb8039e48798777f11658
diff -r 4c23dd9fe58e -r 2154a38142e2 www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox/patches/patch-gfx_thebes_gfxPlatform.cpp      Wed Jan 15 10:50:37 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-gfx_thebes_gfxPlatform.cpp,v 1.5 2020/01/15 10:50:38 ryoon Exp $
+
+* Hardware acceleration for up to 4K UHD.
+
+--- gfx/thebes/gfxPlatform.cpp.orig    2020-01-08 01:23:32.000000000 +0000
++++ gfx/thebes/gfxPlatform.cpp
+@@ -2935,7 +2935,7 @@ static void UpdateWRQualificationForInte
+   const int64_t kMaxPixels = 1920 * 1200;  // WUXGA
+ #    else
+   // Allow up to 4k on Linux
+-  const int64_t kMaxPixels = 3440 * 1440;  // UWQHD
++  const int64_t kMaxPixels = 3840 * 2160;  // 4K UHD
+ #    endif
+   if (aScreenPixels > kMaxPixels) {
+     aFeature.Disable(



Home | Main Index | Thread Index | Old Index