|author||Derek Foreman <firstname.lastname@example.org>||2018-01-30 17:06:48 -0600|
|committer||Derek Foreman <email@example.com>||2018-01-30 17:09:52 -0600|
wl2_surface_dmabuf: Trim the buffer queue after a while
If we have more buffers than we need for 100 frames then drop the oldest. This can happen if we're on a hardware plane and then removed from it, or really whenever the compositor feels like holding onto a few frames. Trimming the queue too soon could result in having to do a costly full frame redraw, so we wait a while to make sure we don't need one again. Having more frames than we need costs us a little every draw since we always use the oldest available. It also wastes memory.
Diffstat (limited to 'po/POTFILES.in')
0 files changed, 0 insertions, 0 deletions