diff options
author | Jan Horak <jhorak@redhat.com> | 2020-06-29 14:33:43 +0200 |
---|---|---|
committer | Jan Horak <jhorak@redhat.com> | 2020-06-29 14:33:43 +0200 |
commit | ae1e0bfad433b3e1b69c22e0311969bb0d10abcc (patch) | |
tree | 7b85ddfeda21f7e5a755d7aa7d862c45353eefb5 /mozilla-1619882-3.patch | |
parent | Update to 78.0 build2 (diff) | |
download | librewolf-fedora-ff-ae1e0bfad433b3e1b69c22e0311969bb0d10abcc.tar.gz librewolf-fedora-ff-ae1e0bfad433b3e1b69c22e0311969bb0d10abcc.tar.bz2 librewolf-fedora-ff-ae1e0bfad433b3e1b69c22e0311969bb0d10abcc.zip |
Removed obsolete patches
Diffstat (limited to 'mozilla-1619882-3.patch')
-rw-r--r-- | mozilla-1619882-3.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/mozilla-1619882-3.patch b/mozilla-1619882-3.patch deleted file mode 100644 index 4233c31..0000000 --- a/mozilla-1619882-3.patch +++ /dev/null @@ -1,51 +0,0 @@ -diff --git a/gfx/layers/WaylandDMABUFSurfaceImage.h b/gfx/layers/WaylandDMABUFSurfaceImage.h ---- a/gfx/layers/WaylandDMABUFSurfaceImage.h -+++ b/gfx/layers/WaylandDMABUFSurfaceImage.h -@@ -13,29 +13,16 @@ - #include "mozilla/layers/TextureClient.h" - - namespace mozilla { --class VAAPIFrameHolder; --} -- --namespace mozilla { - namespace layers { - --typedef void (*AVFrameReleaseCallback)(VAAPIFrameHolder* aFrameHolder); -- - class WaylandDMABUFSurfaceImage : public Image { - public: -- explicit WaylandDMABUFSurfaceImage(WaylandDMABufSurface* aSurface, -- AVFrameReleaseCallback aReleaseCallback, -- VAAPIFrameHolder* aFrameHolder) -- : Image(nullptr, ImageFormat::WAYLAND_DMABUF), -- mSurface(aSurface), -- mReleaseCallback(aReleaseCallback), -- mFrameHolder(aFrameHolder) {} -+ explicit WaylandDMABUFSurfaceImage(WaylandDMABufSurface* aSurface) -+ : Image(nullptr, ImageFormat::WAYLAND_DMABUF), mSurface(aSurface) { -+ mSurface->GlobalRefAdd(); -+ } - -- ~WaylandDMABUFSurfaceImage() { -- if (mReleaseCallback) { -- mReleaseCallback(mFrameHolder); -- } -- } -+ ~WaylandDMABUFSurfaceImage() { mSurface->GlobalRefRelease(); } - - WaylandDMABufSurface* GetSurface() { return mSurface; } - -@@ -52,11 +39,6 @@ - private: - RefPtr<WaylandDMABufSurface> mSurface; - RefPtr<TextureClient> mTextureClient; -- -- // When WaylandDMABUFSurfaceImage is created on top of ffmpeg frame located at -- // GPU memory we need to keep it until painting of the frame is finished. -- AVFrameReleaseCallback mReleaseCallback; -- VAAPIFrameHolder* mFrameHolder; - }; - - } // namespace layers - |