gstreamer/gst-libs/gst/gl/cocoa
Julien Isorce aa4bdcd707 gl/cocoa: set the view to use for drawing by the context
It avoids to draw to an invalid buffer.
Withtout this the default frame buffer is undefined:
glBindFramebuffer (GL_FRAMEBUFFER, 0)

Visually you could see some white frames at the beginning
when lunching videotestsrc ! glimagesink

With OpenGL Profiler from XCode you could see some
GL_INVALID_FRAMEBUFFER_OPERATION for the first frames
2014-04-24 09:09:13 +01:00
..
gstgl_cocoa_private.h [837/906] cocoa: resize OpenGL view size each time the window is resized 2014-03-15 18:37:03 +01:00
gstglcontext_cocoa.h [794/906] context: add subclasses for the different platforms (egl, glx, wgl, etc) 2014-03-15 18:37:01 +01:00
gstglcontext_cocoa.m gl/cocoa: set the view to use for drawing by the context 2014-04-24 09:09:13 +01:00
gstglwindow_cocoa.h [733/906] gl: Major header and include cleanup 2014-03-15 18:36:57 +01:00
gstglwindow_cocoa.m gl/cocoa: make gst_gl_window_cocoa_send_message_async re-entrant 2014-04-12 17:33:44 +01:00
Makefile.am gl: fix out-of-source builds pt2 2014-03-27 22:03:14 +11:00