841aa08ea4
Reduce the cost of the inner loop, by keeping a set of pointers to the
first and the last areas in the series, subtracting the cost of the first
area from the score, and adding the cost of the last area while walking
the list. This commit also moves the scanning loop from exaOffscreenAlloc
into a separate function.
Idea by Michel Dänzer.
(cherry picked from commit
|
||
---|---|---|
.. | ||
exa_accel.c | ||
exa_migration.c | ||
exa_offscreen.c | ||
exa_priv.h | ||
exa_render.c | ||
exa_unaccel.c | ||
exa.c | ||
exa.h | ||
Makefile.am |