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
..
2021-10-19 09:34:43 +00:00
2022-10-18 08:56:58 +00:00
2022-10-18 08:56:58 +00:00
2022-10-18 08:56:58 +00:00
2022-02-21 21:26:43 +00:00
2022-10-18 08:56:58 +00:00
2022-10-18 08:56:58 +00:00