gstreamer/gst-libs/gst/gl/cocoa
Alessandro Decina 90889bc73f libgstgl: cocoa, eagl: don't marshal GL calls to the context thread
Execute GL calls without marshalling them to the context thread. In the cocoa
and eagl backends calling gst_gl_context_activate is cheap and therefore calling
it on the current thread and serializing GL calls with a per-context lock is
more efficient (faster and has less overhead) than marshalling everything to the
context thread.

This optimization cuts a large overhead in g_poll (continuously waking up the
context thread) and in g_mutex_*/g_cond_* (waiting for results from the context
thread).
2017-12-09 19:32:17 +00:00
..
gstgl_cocoa_private.h libgstgl: cocoa, eagl: don't marshal GL calls to the context thread 2017-12-09 19:32:17 +00:00
gstglcaopengllayer.h glwindow: add API to request a resize event on the next draw 2017-12-09 19:32:08 +00:00
gstglcaopengllayer.m glcontext: add a method to add a context to another share group 2017-12-09 19:32:17 +00:00
gstglcontext_cocoa.h gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
gstglcontext_cocoa.m libgstgl: cocoa, eagl: don't marshal GL calls to the context thread 2017-12-09 19:32:17 +00:00
gstgldisplay_cocoa.h gl: add GstGLDisplayCocoa 2017-12-09 19:31:58 +00:00
gstgldisplay_cocoa.m gl: add GstGLDisplayCocoa 2017-12-09 19:31:58 +00:00
gstglwindow_cocoa.h gl: be consistent in gobject boilerpate 2017-12-09 19:32:09 +00:00
gstglwindow_cocoa.m libgstgl: cocoa, eagl: don't marshal GL calls to the context thread 2017-12-09 19:32:17 +00:00
Makefile.am gl: add GstGLDisplayCocoa 2017-12-09 19:31:58 +00:00