mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 20:20:38 +00:00
7d46357627
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. |
||
---|---|---|
.. | ||
gstgl_cocoa_private.h | ||
gstglcaopengllayer.h | ||
gstglcaopengllayer.m | ||
gstglcontext_cocoa.h | ||
gstglcontext_cocoa.m | ||
gstglwindow_cocoa.h | ||
gstglwindow_cocoa.m | ||
Makefile.am |