applemedia/gl: Update code to use ARC
authorNick Kallen <nickkallen@me.com>
Fri, 3 Feb 2017 13:46:39 +0000 (14:46 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:27 +0000 (19:32 +0000)
commit7b42f26b80acdef7f28bded92e55b1d070286583
treedc6fe64145170be7410ffb2afe77c46e0092cc2c
parentee49afed974620b15b6886b73dff13e1a947a63a
applemedia/gl: Update code to use ARC

All code interacting with Objective-C objects should now use Automated
Reference Counting rather than manual memory management or Garbage
Collection. Because ARC prohibits C-structs from containing
references to Objective-C objects, all such fields are now typed
'gpointer'. Setting and gettings Objective-C fields on such a
struct now uses explicit __bridge_* calls to tell ARC about
object lifetimes.

https://bugzilla.gnome.org/show_bug.cgi?id=777847
14 files changed:
ext/gl/caopengllayersink.h
ext/gl/caopengllayersink.m
gst-libs/gst/gl/cocoa/Makefile.am
gst-libs/gst/gl/cocoa/gstglcaopengllayer.m
gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
gst-libs/gst/gl/cocoa/gstgldisplay_cocoa.m
gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
gst-libs/gst/gl/eagl/Makefile.am
gst-libs/gst/gl/eagl/gstglcontext_eagl.h
gst-libs/gst/gl/eagl/gstglcontext_eagl.m
gst-libs/gst/gl/eagl/gstglwindow_eagl.h
gst-libs/gst/gl/eagl/gstglwindow_eagl.m
tests/examples/gl/cocoa/Makefile.am
tests/examples/gl/cocoa/cocoa-videooverlay.m