summaryrefslogtreecommitdiff
path: root/mozilla-1619882-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mozilla-1619882-3.patch')
-rw-r--r--mozilla-1619882-3.patch51
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
-
bgstack15