- Refresh patch: * chromium-non-void-return.patch - Add new patch to fix aarch64 build: * chromium-fix_swiftshader.patch - Update %arm build, but keep it disabled for now, as ld requires lots of RAM - Up to 72.0.3626.14 - Update chromium-vaapi.patch - Update chromium-system-icu.patch - Increase %limit_build value to avoid OOM - Rework aarch64 build requirements - Reduce jumbo_file_merge_limit to 8 for aarch64 to avoid OOM - Fix again aarch64 skia build: * chromium-skia-aarch64-buildfix.patch - Up to 71.0.3551.3 - Up to 70.0.3528.4 - Up to chromium-70.0.3521.2 - Add patch trying to build with system icu: * chromium-system-icu.patch - Up to chromium-70.0.3510.0 - Up to 69.0.3497.23 - Up to chromium-69.0.3497.12 - Add patch to fix aarch64 build: * chromium-vpx-aarch64.patch - Up to 69.0.3493.3 - Up to 69.0.3486.0 - Up to 69.0.3472.3 - Up to 69.0.3452.0 - Up to 68.0.3440.17 OBS-URL: https://build.opensuse.org/request/show/708453 OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium?expand=0&rev=1258
30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
Index: chromium-75.0.3770.15/media/gpu/vaapi/vaapi_wrapper.cc
|
|
===================================================================
|
|
--- chromium-75.0.3770.15.orig/media/gpu/vaapi/vaapi_wrapper.cc
|
|
+++ chromium-75.0.3770.15/media/gpu/vaapi/vaapi_wrapper.cc
|
|
@@ -292,9 +292,6 @@ bool VADisplayState::Initialize() {
|
|
}
|
|
|
|
bool VADisplayState::InitializeOnce() {
|
|
- static_assert(VA_MAJOR_VERSION >= 1 && VA_MINOR_VERSION >= 1,
|
|
- "Requires VA-API >= 1.1.0");
|
|
-
|
|
switch (gl::GetGLImplementation()) {
|
|
case gl::kGLImplementationEGLGLES2:
|
|
va_display_ = vaGetDisplayDRM(drm_fd_.get());
|
|
Index: chromium-75.0.3770.15/media/gpu/vaapi/vaapi_jpeg_decoder.cc
|
|
===================================================================
|
|
--- chromium-75.0.3770.15.orig/media/gpu/vaapi/vaapi_jpeg_decoder.cc
|
|
+++ chromium-75.0.3770.15/media/gpu/vaapi/vaapi_jpeg_decoder.cc
|
|
@@ -21,6 +21,10 @@
|
|
#include "media/gpu/vaapi/vaapi_utils.h"
|
|
#include "media/gpu/vaapi/vaapi_wrapper.h"
|
|
|
|
+#ifndef VA_FOURCC_I420
|
|
+#define VA_FOURCC_I420 0x30323449
|
|
+#endif
|
|
+
|
|
namespace media {
|
|
|
|
namespace {
|