summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_setup.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-07-22 15:08:42 +0100
committerJosé Fonseca <jfonseca@vmware.com>2009-08-29 09:21:17 +0100
commit2301314e7ccd37faae80353d35109bb029dc9335 (patch)
tree2204dad40e37adbaa8bb70bd6f07c34f674b7786 /src/gallium/drivers/llvmpipe/lp_setup.c
parentdf1823ec5b2c64a9d1a5fc13be0e0f37741c3ffa (diff)
llvmpipe: shortcircuit repeated lookups of the same tile
The lp_tile_cache is often called repeatedly to look up the same tile. Add a cache (to the cache) of the single tile most recently retreived and make a quick inline check to see if this matches the subsequent request. Add a tile_address bitfield struct to make this check easier.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
0 files changed, 0 insertions, 0 deletions