gl: rename platform cocoa to cgl
authorJulien Isorce <julien.isorce@gmail.com>
Tue, 27 May 2014 07:46:16 +0000 (08:46 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:41 +0000 (19:31 +0000)
commitb84a2eaf9fcbdbcf26337db24541a22e0efdbbbf
tree0ae1170bbc8717245f4ea4d314f2d884a7ba53a1
parent9349d39023e4467025e2ff8c040cc7e9b01b09f8
gl: rename platform cocoa to cgl

Before:
GST_GL_PLATFORM=cocoa GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

After:
GST_GL_PLATFORM=cgl GST_GL_WINDOW=cocoa
gst-launch-1.0 videotestsrc ! glimagesink

but still pass --enable-cocoa to configure script
because currently it can only be used with cocoa API.

We could later have cgl/gstglcontext_cgl.h that manages
a CGLContextObj directly and cocoa/gstglcontext_cocoa.h
would just wrap it.
So that it could be used with other Apple's window APIs.

https://bugzilla.gnome.org/show_bug.cgi?id=729245
gst-libs/gst/gl/gstglcontext.c
tests/examples/gl/qt/qglwtextureshare/glcontextid.h
tests/examples/gl/qt/qglwtextureshare/qglrenderer.cpp