From 45ea71f980d7f4a44af2e902356d2400b5616c12 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 17 Jun 2019 23:22:03 +0000 Subject: [PATCH] extra/chromium to 75.0.3770.90-3 --- extra/chromium/PKGBUILD | 7 +++- ...-swaps-for-linux-based-on-gl_version.patch | 34 +++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 extra/chromium/disallow-partial-swaps-for-linux-based-on-gl_version.patch diff --git a/extra/chromium/PKGBUILD b/extra/chromium/PKGBUILD index 57c959a94..35cff89a7 100644 --- a/extra/chromium/PKGBUILD +++ b/extra/chromium/PKGBUILD @@ -16,7 +16,7 @@ highmem=1 pkgname=chromium pkgver=75.0.3770.90 -pkgrel=2 +pkgrel=3 _launcher_ver=6 pkgdesc="A web browser built for speed, simplicity, and security" arch=('x86_64') @@ -35,6 +35,7 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgn chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz chromium-system-icu.patch libstdc-do-not-assume-unique_ptr-has-ostream-operator.patch + disallow-partial-swaps-for-linux-based-on-gl_version.patch chromium-fix-window-flash-for-some-WMs.patch chromium-widevine.patch chromium-skia-harmony.patch @@ -43,6 +44,7 @@ sha256sums=('b1b59abbe19ecb88c17d99fa68f5c1c5585a5d66c100858f944aa3b93b943839' '04917e3cd4307d8e31bfb0027a5dce6d086edb10ff8a716024fbb8bb0c7dccf1' 'e2d284311f49c529ea45083438a768db390bde52949995534034d2a814beab89' 'e309dfd9d790f32cb1d23103726ac25e405b6ae6757a1c957a8395667d753908' + '1e4686de75c019f38a3ed947463e429a777d5387fd29310deef2108c58617b07' '183d8cc712f0bcf1afcb01ce90c4c104a4c8d8070a06f94974a28b007d9e2ce4' 'd081f2ef8793544685aad35dea75a7e6264a2cb987ff3541e6377f4a3650a28b' '5887f78b55c4ecbbcba5930f3f0bb7bc0117c2a41c2f761805fcf7f46f1ca2b3' @@ -109,6 +111,9 @@ prepare() { # https://chromium-review.googlesource.com/1584292 patch -Np1 -i ../libstdc-do-not-assume-unique_ptr-has-ostream-operator.patch + # https://crbug.com/973216 + patch -Np1 -i ../disallow-partial-swaps-for-linux-based-on-gl_version.patch + # https://crbug.com/956061 patch -Np1 -i ../chromium-fix-window-flash-for-some-WMs.patch diff --git a/extra/chromium/disallow-partial-swaps-for-linux-based-on-gl_version.patch b/extra/chromium/disallow-partial-swaps-for-linux-based-on-gl_version.patch new file mode 100644 index 000000000..879cccf92 --- /dev/null +++ b/extra/chromium/disallow-partial-swaps-for-linux-based-on-gl_version.patch @@ -0,0 +1,34 @@ +From e6a0cdf0b7045e7f9029cce287bcc539052ef79a Mon Sep 17 00:00:00 2001 +From: Jonathan Backer +Date: Mon, 17 Jun 2019 16:46:37 +0000 +Subject: [PATCH] Disallow partial swaps for linux based on gl_version_string + +This was missed in https://chromium-review.googlesource.com/c/chromium/src/+/1601182 + +Bug: 973216,941670,957541,948640 +Change-Id: I3d2002c38fe09d87c9a3db951dfc2ab112319caf +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662528 +Reviewed-by: Peng Huang +Commit-Queue: Peng Huang +Commit-Queue: Jonathan Backer +Auto-Submit: Jonathan Backer +Cr-Commit-Position: refs/heads/master@{#669701} +--- + gpu/config/gpu_driver_bug_list.json | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/gpu/config/gpu_driver_bug_list.json b/gpu/config/gpu_driver_bug_list.json +index 591a0642e8..e4a123ccd0 100644 +--- a/gpu/config/gpu_driver_bug_list.json ++++ b/gpu/config/gpu_driver_bug_list.json +@@ -1865,10 +1865,6 @@ + }, + "gl_type": "gl", + "gl_version_string": ".*Mesa.*", +- "direct_rendering_version": { +- "op" : "<", +- "value": "2.3" +- }, + "features": [ + "disable_post_sub_buffers_for_onscreen_surfaces" + ]