gstreamer/gst-libs/gst/gl/cocoa
Alessandro Decina 7d46357627 gstglwindow_cocoa: fix slow render rate
In gst_gl_window_cocoa_draw we used to just call setNeedsDisplay:YES. That was
creating an implicit CA transaction which was getting committed at the next
runloop iteration. Since we don't know how often the main runloop is running,
and when we run it implicitly (from gst_gl_window_cocoa_nsapp_iteration) we only
do so every 200ms, use an explicit CA transaction instead and commit it
immediately. CA transactions nest and debounce automatically so this will never
result in extra work.
2015-02-03 11:19:35 +11:00
..
gstgl_cocoa_private.h cgl: add a header for the CAOpenGLLayer support 2015-01-29 18:32:04 +11:00
gstglcaopengllayer.h gstglcaopengllayer: use the correct rectangle type for iOS and OS X 2015-02-02 23:43:54 +11:00
gstglcaopengllayer.m Revert "libgstgl: gstglcaopengllayer: set the layer as opaque" 2015-01-30 12:32:17 +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 glcontext/cocoa: avoid destroying a possibly 0 GSource id 2015-01-22 21:43:51 +11:00
gstglwindow_cocoa.h glwindow: remove width/height from _draw() 2015-01-23 16:11:31 +11:00
gstglwindow_cocoa.m gstglwindow_cocoa: fix slow render rate 2015-02-03 11:19:35 +11:00
Makefile.am cgl: install the gl context and gl layer headers 2015-01-29 18:32:04 +11:00