gl: rename platform cocoa to cgl
authorJulien Isorce <julien.isorce@gmail.com>
Tue, 27 May 2014 07:46:16 +0000 (08:46 +0100)
committerJulien Isorce <julien.isorce@gmail.com>
Tue, 27 May 2014 07:46:16 +0000 (08:46 +0100)
commitfbe6dd9c5f645ba2af050d46b080dc180c37c165
tree1b33a8238a3b331f4ea159171397b594e3713422
parent81716909fe34804655a7e962dce55f7fbf60cb66
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
configure.ac
gst-libs/gst/gl/gstglcontext.c
tests/examples/gl/qt/qglwtextureshare/glcontextid.h
tests/examples/gl/qt/qglwtextureshare/qglrenderer.cpp