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
..
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2023-01-13 19:08:48 +00:00
2022-12-10 15:13:09 +00:00
2022-09-23 11:08:06 -04:00
2022-11-18 00:50:56 +00:00
2023-01-13 19:08:48 +00:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-12-10 15:13:09 +00:00
2022-12-10 15:13:09 +00:00
2022-09-23 11:08:06 -04:00
2022-09-23 11:08:06 -04:00
2022-10-31 23:50:28 +00:00
2022-12-10 15:13:09 +00:00
2022-12-10 15:13:09 +00:00
2022-12-10 15:13:09 +00:00