Commit Graph

14 Commits

Author SHA1 Message Date
Michel Dänzer
b859cdf6f1 Eliminate struct pipe_region.
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for
(un)mapping.
2007-12-07 12:30:35 +01:00
Michel Dänzer
753db0d840 Hide texture layout details from the state tracker.
pipe->get_tex_surface() has to be used for access to texture image data.
2007-12-06 11:18:11 +01:00
Brian
5a6017d496 add PIPE_FORMAT_Z24_S8 support to softpipe patsh 2007-11-20 08:36:06 -07:00
Brian
a7be1c5ac2 use pipe_surface_reference() in sp_tile_cache_set_surface() 2007-11-08 15:00:11 -07:00
Michal Krol
7de874ec2c Make it compile under linux.
Move pipe_region/surface_reference functions to pipe/p_inlines.h.
Remove #include "p_util.h" from pipe/p_context.h.
2007-10-29 17:05:38 +00:00
Michal Krol
ee295fccdd Make gallium compile in win32.
Use FREE, MALLOC, CALLOC, GETENV wrappers.
Silence compiler warnings.
Add proper copyrights.
2007-10-29 17:05:38 +00:00
Brian
f6a73c3f28 Remove remnants of softpipe_surface.
This is the last of the clean-up following the change which moved surface
allocation to the winsys layer.
2007-10-27 09:26:59 -06:00
Brian
ee80e0b620 Move the get/put_tile() functions to pipe_context.
The _rgba versions are temporary until the state tracker is updated.
2007-10-25 20:32:45 -06:00
Brian
76a4fd098f a bit more work for optimizing clears in tile cache (not enabled yet) 2007-10-24 12:32:42 -06:00
Brian
70eb7996f2 Finish unifying the surface and texture tile caches. 2007-10-22 09:37:26 -06:00
Brian
b3204c2aff Start implementing cache routines for textures.
First step to consolidating surface/texture caching...
2007-10-21 18:06:35 -06:00
Brian
7e83963998 Convert Z/stencil ops to use cached tiles like colors.
Also, quite a bit of re-org of the tile caches and surface mapping/unmapping.
Leave surfaces mapped between primitives now.
2007-10-20 15:18:02 -06:00
Brian
257f0da6a2 disable debug printf 2007-10-19 10:13:55 -06:00
Brian
46c3cf1831 Tile cache functions. 2007-10-19 10:08:24 -06:00