diff options
author | jk <jk@vin.ovh> | 2021-01-31 01:04:50 -0500 |
---|---|---|
committer | jk <jk@vin.ovh> | 2021-01-31 01:04:50 -0500 |
commit | a38badc73fc1d8a91dd35b4df5095ca54004b85c (patch) | |
tree | 13c1b69be2e4833a02def4e724cab2875734173f /wayland-egl.patch | |
parent | d03fa86d2741d4c26bd33ac10d28bceb52a4a910 (diff) | |
download | ungoogled-chromium-a38badc73fc1d8a91dd35b4df5095ca54004b85c.tar.gz ungoogled-chromium-a38badc73fc1d8a91dd35b4df5095ca54004b85c.tar.bz2 ungoogled-chromium-a38badc73fc1d8a91dd35b4df5095ca54004b85c.zip |
upgpkg: ungoogled-chromium 88.0.4324.104-1
upstream release
Diffstat (limited to 'wayland-egl.patch')
-rw-r--r-- | wayland-egl.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/wayland-egl.patch b/wayland-egl.patch index 34e274e..58a0798 100644 --- a/wayland-egl.patch +++ b/wayland-egl.patch @@ -1,39 +1,3 @@ ---- a/media/gpu/vaapi/vaapi_video_decode_accelerator.cc 2020-10-07 09:38:47.000000000 -0700 -+++ b/media/gpu/vaapi/vaapi_video_decode_accelerator.cc 2020-10-08 14:09:34.550174093 -0700 -@@ -698,7 +698,6 @@ - // The X11/ANGLE implementation can use |vaapi_wrapper_| to copy from an - // internal libva buffer into an X Pixmap without having to use a processing - // wrapper. --#if !defined(USE_X11) - // If we aren't in BufferAllocationMode::kNone, we have to allocate a - // |vpp_vaapi_wrapper_| for VaapiPicture to DownloadFromSurface() the VA's - // internal decoded frame. -@@ -708,6 +707,7 @@ - VaapiWrapper::kVideoProcess, VAProfileNone, - base::Bind(&ReportVaapiErrorToUMA, - "Media.VaapiVideoDecodeAccelerator.Vpp.VAAPIError")); -+#if !defined(USE_X11) - RETURN_AND_NOTIFY_ON_FAILURE(vpp_vaapi_wrapper_, - "Failed to initialize VppVaapiWrapper", - PLATFORM_FAILURE, ); -@@ -715,11 +715,15 @@ - RETURN_AND_NOTIFY_ON_FAILURE( - vpp_vaapi_wrapper_->CreateContext(gfx::Size()), - "Failed to create Context", PLATFORM_FAILURE, ); -+#else -+ if (vpp_vaapi_wrapper_) -+ vpp_vaapi_wrapper_->CreateContext(gfx::Size()); -+#endif // !defined(USE_X11) - } -- vaapi_wrapper_for_picture = vpp_vaapi_wrapper_; -+ vaapi_wrapper_for_picture = (vpp_vaapi_wrapper_)? -+ vpp_vaapi_wrapper_:vaapi_wrapper_for_picture; - } - --#endif // !defined(USE_X11) - - for (size_t i = 0; i < buffers.size(); ++i) { - // TODO(b/139460315): Create with buffers[i] once the AMD driver issue is --- a/ui/gl/gl_image_native_pixmap.cc 2020-05-18 11:40:06.000000000 -0700 +++ b/ui/gl/gl_image_native_pixmap.cc 2020-05-22 02:07:16.007770442 -0700 @@ -288,6 +288,8 @@ |