summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_tile_cache.c
AgeCommit message (Collapse)Author
2009-10-04llvmpipe: Ensure tile cache transfers are mapped before flushing it.José Fonseca
2009-10-04llvmpipe: Autogenerate lp_tile_soa.c from u_format.csv.José Fonseca
This is just a temporary change until we code generate the tile read/write functions in runtime. The new code avoids an extra memcpy that exists in u_tile.c functions, from which lp_tile_soa.c was originally based. This achieves up to 5% improvement, particularly in frames with little geometry overlap.
2009-10-03llvmpipe: Fetch tile only if a color buffer is bound.José Fonseca
2009-09-23llvmpipe: move tile cache datatypes into .c file since they're privateBrian Paul
2009-09-23llvmpipe: added max texture/surface size sanity checkBrian Paul
Carried over from softpipe driver.
2009-09-20llvmpipe: Fix lp_get_cached_tile.José Fonseca
Align coordinates to tile boundaries.
2009-09-20llvmpipe: Update tile status on flush.José Fonseca
2009-08-29llvmpipe: Update for changes in master.José Fonseca
2009-08-29llvmpipe: Don't limit the number of tiles in the cache.José Fonseca
2009-08-29llvmpipe: Clean dead tile cache code.José Fonseca
2009-08-29llvmpipe: Simplify tile clears. Use pipe_fill_rect instead of scratch tile.José Fonseca
2009-08-29llvmpipe: Start hiding llvmpipe_cached_tile.José Fonseca
2009-08-29llvmpipe: Drop depth/stencil support from tile cache.José Fonseca
2009-08-29llvmpipe: use align_malloc for all structs containing ALIGN16 membersKeith Whitwell
Unless the struct is allocated aligned, aligning the members isn't very helpful.
2009-08-29llvmpipe: Tile in SoA format identical to the blender function output.José Fonseca
2009-08-29llvmpipe: Add missing include.José Fonseca
2009-08-29llvmpipe: Tiles in rgba8 format.José Fonseca
2009-08-29llvmpipe: Store tile color in SoA.José Fonseca
2009-08-29llvmpipe: Split the texture cache from the color/depth/stencil cache.José Fonseca
2009-08-29llvmpipe: also shortcircuit non-texture tile lookupsKeith Whitwell
2009-08-29llvmpipe: shortcircuit repeated lookups of the same tileKeith Whitwell
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.
2009-08-29llvmpipe: make some small steps to flush texture cache less frequentlyKeith Whitwell
No performance gain yet, but the code is a bit cleaner.
2009-08-29llvmpipe: remove backwards dependency from tilecache to llvmpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie llvmpipe). Remove llvmpipe parameter to all the tilecache function calls, and also remove the need to keep a llvmpipe pointer in the sampler structs.
2009-08-29llvmpipe: Fork softpipe for experimentation with llvm.José Fonseca