diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
commit | 7218e1b46bceac05841e90472501742d905fb3fc (patch) | |
tree | 56fae051db521b8fce8014cbc8b11484885b14b3 /www-client/chromium/files | |
parent | 6d691ad5b6239929063441bbd14c489e92e7396e (diff) |
gentoo resync : 12.03.2021
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-87-webcodecs-deps.patch | 27 | ||||
-rw-r--r-- | www-client/chromium/files/chromium-88-ozone-deps.patch | 40 |
2 files changed, 0 insertions, 67 deletions
diff --git a/www-client/chromium/files/chromium-87-webcodecs-deps.patch b/www-client/chromium/files/chromium-87-webcodecs-deps.patch deleted file mode 100644 index e9d411305ee9..000000000000 --- a/www-client/chromium/files/chromium-87-webcodecs-deps.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 47f6a3bcf7e72c467ca6a2cd633a5c3585a218d5 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Fri, 2 Oct 2020 06:44:53 +0000 -Subject: [PATCH] add dependency on openh264:encoder - -webcodecs uses openh264 encoder, but dependency is missing. With -unbundled openh264 library build fails, because include path is -incomplete. ---- - third_party/blink/renderer/modules/webcodecs/BUILD.gn | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/third_party/blink/renderer/modules/webcodecs/BUILD.gn b/third_party/blink/renderer/modules/webcodecs/BUILD.gn -index 99d0e47..7c4d188 100644 ---- a/third_party/blink/renderer/modules/webcodecs/BUILD.gn -+++ b/third_party/blink/renderer/modules/webcodecs/BUILD.gn -@@ -54,6 +54,7 @@ blink_modules_sources("webcodecs") { - "//media/mojo/clients", - "//media/mojo/mojom", - "//third_party/libyuv:libyuv", -+ "//third_party/openh264:encoder", - ] - public_deps = [ - "//third_party/blink/renderer/modules/mediastream:mediastream", --- -2.26.2 - diff --git a/www-client/chromium/files/chromium-88-ozone-deps.patch b/www-client/chromium/files/chromium-88-ozone-deps.patch deleted file mode 100644 index 6274ded44aca..000000000000 --- a/www-client/chromium/files/chromium-88-ozone-deps.patch +++ /dev/null @@ -1,40 +0,0 @@ -From a5a6050ed551972faaaa65ebc2b4e7e1958738a1 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Fri, 6 Nov 2020 16:17:30 +0000 -Subject: [PATCH] fix building without Ozone - -When building with use_x11=true and use_ozone=false build fails, -because features::IsUsingOzonePlatform() is not defined: - -../../content/browser/gpu/gpu_internals_ui.cc: In function -'std::unique_ptr<base::ListValue> -content::{anonymous}::GpuMemoryBufferInfo(const gfx::GpuExtraInfo&)' -../../content/browser/gpu/gpu_internals_ui.cc:397:18: error: -'IsUsingOzonePlatform' is not a member of 'features' - 397 | if (!features::IsUsingOzonePlatform()) { - | ^~~~~~~~~~~~~~~~~~~~ ---- - content/browser/gpu/gpu_internals_ui.cc | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc -index 4f07186..01dfcbf 100644 ---- a/content/browser/gpu/gpu_internals_ui.cc -+++ b/content/browser/gpu/gpu_internals_ui.cc -@@ -394,7 +394,12 @@ std::unique_ptr<base::ListValue> GpuMemoryBufferInfo( - - gpu::GpuMemoryBufferConfigurationSet native_config; - #if defined(USE_X11) -- if (!features::IsUsingOzonePlatform()) { -+#if defined(USE_OZONE) -+ const auto is_using_ozone_platform = features::IsUsingOzonePlatform(); -+#else -+ const auto is_using_ozone_platform = false; -+#endif -+ if (!is_using_ozone_platform) { - for (const auto& config : gpu_extra_info.gpu_memory_buffer_support_x11) { - native_config.emplace(config); - } --- -2.26.2 - |