diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-02-18 03:12:25 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-02-18 03:36:37 -0800 |
commit | 0536326f814739a4ee6136f4156431e77fe45769 (patch) | |
tree | e911431e878f2fa0ee6f102bfdc10cfe1202c2cb /src/modules/pixbounce/draw.h | |
parent | 561bc18c2ff6ba42d4640eccb097b7f4bc8fecc3 (diff) |
fb: make inactive pages list doubly-linked
This introduces a previous pointer to _fb_page_t, but it's
only used on the inactive list.
This is a preparatory commit to facilitate adding inactive pages
at the head and consuming inactive pages off the tail, without
having to always iterate the list for the new tail.
Rebuilding pages on resize needs to happen somewhere, and the
inactive list seems like the right place to do it. And to do it
with a simple per-fb pages-needing-rebuild counter requires
turning the inactive list into a FIFO queue.
Diffstat (limited to 'src/modules/pixbounce/draw.h')
0 files changed, 0 insertions, 0 deletions