summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_tile_cache.c
AgeCommit message (Collapse)Author
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
2008-01-14Remove pipe->get/put_tile_rgba.Michel Dänzer
pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
2008-01-14Remove mapping fields from struct pipe_surface.Michel Dänzer
It's now the responsibility of surface users to keep track of their mappings.
2008-01-01fix leak, fix refcount errorBrian
2007-12-16switch on cpp instead of formatBrian
2007-12-15don't allocate scratch tile in sp_tile_cache_flush_clear() to avoid stack ↵Brian
overflow
2007-12-12move some code to avoid deref of NULL ptrBrian
2007-12-10disable assertion in sp_tile_cache_set_surface() for nowBrian
2007-12-07Try to reduce the frequency of calls to pipe->get_tex_surface()Brian
Save the surface info in the tile cache and re-use whenever possible.
2007-12-07Tile clearing optimizations.Brian
Clear using int values rather than floats when possible. Better performance now.
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
2007-12-07Make sp_tile_cache_flush_clear() static.Brian
Also, misc clean-ups, comments.
2007-12-07Some tile cache improvements, clean-ups.Brian
Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet.
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-06Hide texture layout details from the state tracker.Michel Dänzer
pipe->get_tex_surface() has to be used for access to texture image data.
2007-11-20add PIPE_FORMAT_Z24_S8 support to softpipe patshBrian
2007-11-08use pipe_surface_reference() in sp_tile_cache_set_surface()Brian
2007-10-29Make it compile under linux.Michal Krol
Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-27Remove remnants of softpipe_surface.Brian
This is the last of the clean-up following the change which moved surface allocation to the winsys layer.
2007-10-25Move the get/put_tile() functions to pipe_context.Brian
The _rgba versions are temporary until the state tracker is updated.
2007-10-24a bit more work for optimizing clears in tile cache (not enabled yet)Brian
2007-10-22Finish unifying the surface and texture tile caches.Brian
2007-10-21Start implementing cache routines for textures.Brian
First step to consolidating surface/texture caching...
2007-10-20Convert Z/stencil ops to use cached tiles like colors.Brian
Also, quite a bit of re-org of the tile caches and surface mapping/unmapping. Leave surfaces mapped between primitives now.
2007-10-19disable debug printfBrian
2007-10-19Tile cache functions.Brian