gstreamer/gst-libs/gst/gl/cocoa
Julien Isorce 4c4eec61e6 gl/cocoa: reduce custom main loop latency
This fix a very slow rendering rate regression that only
happens when using gst-launch, i.e. in the case where
the main thread does not run any NSApp loop.

Git bisect reported it has been introduced by the commit
e10d2417e2:
"move to CGL and CAOpenGLLayer for rendering".

Then the commit 7d46357627:
"gstglwindow_cocoa: fix slow render rate" attempted to fix
the slow rendering rate problem when using gst-launch.

At least for me it does not work. I tried several
combinations, for example to flush CA transactions in the
custom app loop, as mentioned in the doc, but the only solution
that fixes the slow rendering is by reducing the loop latency.
From what I tested, no need to put less than 60ms, even if the
framerate has an interval much lower (16.6ms for 60 fps).
2015-02-22 10:37:39 +00:00
..
gstgl_cocoa_private.h gl/cocoa: don't deadlock if the dispatch_sync is called from the main thread 2015-02-17 19:45:35 +11:00
gstglcaopengllayer.h gl/calayer: only start drawing if the parent gl context is ready 2015-02-17 19:45:35 +11:00
gstglcaopengllayer.m gl/calayer: only start drawing if the parent gl context is ready 2015-02-17 19:45:35 +11:00
gstglcontext_cocoa.h gl/cocoa: move to CGL and CAOpenGLLayer for rendering 2015-01-22 21:29:52 +11:00
gstglcontext_cocoa.m gl/cocoa: reduce custom main loop latency 2015-02-22 10:37:39 +00:00
gstglwindow_cocoa.h glwindow: remove width/height from _draw() 2015-01-23 16:11:31 +11:00
gstglwindow_cocoa.m gl/cocoa: don't deadlock if the dispatch_sync is called from the main thread 2015-02-17 19:45:35 +11:00
Makefile.am cgl: install the gl context and gl layer headers 2015-01-29 18:32:04 +11:00