diff options
author | Alessandro Decina <alessandro.d@gmail.com> | 2015-02-03 11:07:58 +1100 |
---|---|---|
committer | Alessandro Decina <alessandro.d@gmail.com> | 2015-02-03 11:19:35 +1100 |
commit | 7d463576271e5a4cc1070780ba1a69c971e8be1d (patch) | |
tree | 5c2672a45fcdc1af912816384fd5e343d68216df /common | |
parent | ddcc5805053b5908ac273ad4cf42d64cfe6fd4c8 (diff) | |
download | gstreamer-plugins-bad-7d463576271e5a4cc1070780ba1a69c971e8be1d.tar.gz |
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.
Diffstat (limited to 'common')
m--------- | common | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/common b/common -Subproject bc76a8b6a2db1cc0605158e672b2d420b4e130d +Subproject f2c6b95d0d98e97c37ffe27509709fdd41cd503 |