gstreamer/gst-libs/gst/gl/cocoa
Alessandro Decina 0c459222f8 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.
2017-12-09 19:31:54 +00:00
..
gstgl_cocoa_private.h cgl: add a header for the CAOpenGLLayer support 2017-12-09 19:31:53 +00:00
gstglcaopengllayer.h gstglcaopengllayer: use the correct rectangle type for iOS and OS X 2017-12-09 19:31:54 +00:00
gstglcaopengllayer.m Revert "libgstgl: gstglcaopengllayer: set the layer as opaque" 2017-12-09 19:31:54 +00:00
gstglcontext_cocoa.h gl/cocoa: move to CGL and CAOpenGLLayer for rendering 2017-12-09 19:31:53 +00:00
gstglcontext_cocoa.m glcontext/cocoa: avoid destroying a possibly 0 GSource id 2017-12-09 19:31:53 +00:00
gstglwindow_cocoa.h glwindow: remove width/height from _draw() 2017-12-09 19:31:53 +00:00
gstglwindow_cocoa.m gstglwindow_cocoa: fix slow render rate 2017-12-09 19:31:54 +00:00
Makefile.am cgl: install the gl context and gl layer headers 2017-12-09 19:31:53 +00:00