[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bino-list] Problem with frame dropping
From: |
Martin Lambers |
Subject: |
Re: [Bino-list] Problem with frame dropping |
Date: |
Thu, 23 Feb 2012 18:33:24 +0100 |
Hello Stefan!
On Thu, 23 Feb 2012 17:28:12 +0100, Stefan Eilemann wrote:
> I tracked down the bug and checked in a fix:
>
> Fix swap synchronization in Equalizer mode: The master player
> alternatingly produces "prep_frame" and "display_frame" signals, each
> one causing an eq::Config frame. Since the config frames are
> swaplocked, the maximum video framerate is then half of the display
> refresh. Fix by only swapping buffers when "display_frame" is set.
> This causes still too many eq frames to be rendered, but they can be
> rendered faster than the display refresh rate
>
> Ideally the display_frame flag should be used to optimize other stuff
> (no draw/readback/assemble/barrier?), but since I wasn't sure on the
> implications I kept it simple.
Thank you! I did not realize that it was possible to customize the
buffer swap.
Martin