gstreamer/subprojects/gst-plugins-base/gst-libs/gst/gl/cocoa
Sebastian Dröge 086c8da446 gl/cocoa: Store a weak reference to the GstGLWindow instead of the GstGLContext
We can't rely on the `GstGLContext` to stay alive and need to keep track
of it. For that we keep track of the `GstGLWindow` in a weak reference
to avoid a reference cycle, and get the corresponding `GstGLContext`
whenever needed.

With contributions from Nirbheek Chauhan.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1697

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3729>
2023-01-17 22:35:29 +05:30
..
gstgl_cocoa_private.h gl/vulkan: Fix static linking on macOS 2022-10-24 00:48:08 +00:00
gstglcaopengllayer.h gl/cocoa: Store a weak reference to the GstGLWindow instead of the GstGLContext 2023-01-17 22:35:29 +05:30
gstglcaopengllayer.m gl/cocoa: Store a weak reference to the GstGLWindow instead of the GstGLContext 2023-01-17 22:35:29 +05:30
gstglcontext_cocoa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstglcontext_cocoa.m gl/vulkan: Fix static linking on macOS 2022-10-24 00:48:08 +00:00
gstgldisplay_cocoa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstgldisplay_cocoa.m gl: Add/fix various annotations 2022-10-18 08:56:58 +00:00
gstglwindow_cocoa.h Move files from gst-plugins-base into the "subprojects/gst-plugins-base/" subdir 2021-09-24 16:13:26 -03:00
gstglwindow_cocoa.m gl/cocoa: Store a weak reference to the GstGLWindow instead of the GstGLContext 2023-01-17 22:35:29 +05:30