summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_surface.c
AgeCommit message (Collapse)Author
2007-11-01implement get/put_tile() for xlib driverBrian
2007-10-29minor code simplificationBrian
2007-10-29fix memcpy bugsBrian
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-26surface_alloc() is now a winsys function.Brian
This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
2007-10-25clean-up, simplify some tile code, more to comeBrian
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-24get_tile() for z16, z32, s8z24 surfaces needs to return 4 floats per pixel ↵Brian
(for depth texture sampling)
2007-10-20Remove obsolete read/write_quad() functionsBrian
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-19get/put_tile_raw() funcs for 16/32bpp surfacesBrian
2007-10-19Initial implementation of surface tile caching.Brian
Instead of using read/write_quad() functions, do framebuffer accesses via get/put_tile(). A cache of tiles is used to avoid frequent get/put() calls. Only implemented for color buffers right now.
2007-10-18Corrected the file permissions in src/mesa/pipe.Oliver McFadden
2007-10-16lower clamp bound for UNCLAMPED_FLOAT_TO_SHORT() is -1Brian
2007-10-1416-bit RGBA surface format for accum buffersBrian
2007-10-13added z16/z32_git_tile(), change s8z24_get_tile() to return Z as float, ↵Brian
ignore stencil
2007-10-10disable some assertions which pop up during window resize, but can be ↵Brian
ignored for now
2007-10-10use pipe_region_reference() in softpipe_get_tex_surface() to fix refcount errorBrian
2007-10-03added s8z24_get_tile()Brian
2007-09-26added a8r8g8b8_put_tile()Brian
2007-08-24Add support for more surface types in sp_surface.cBrian
replace PIPE_FORMAT_U_L8_A8 with PIPE_FORMAT_U_A8_L8
2007-08-16Silence warnings.michal
2007-08-14Continue reducing dependencies on core mesa include files.Keith Whitwell
Mainly down to the support for legacy TNL processing now.
2007-08-11do clipping in get_tile()Brian
2007-08-10add missing break stmtBrian
2007-08-10include surface.offset in address calculationsBrian
2007-08-10flesh out w/ more formats, y=0=top conventionBrian
2007-08-09export softpipe_init_surface_funcs()Brian
2007-08-08use surface offset value in get_tile()Brian
2007-08-08added assertionBrian
2007-08-08more get_tile() workBrian
2007-08-07added a get_tile() funcBrian
2007-08-07sketch out new pipe surface/sampler typesBrian
2007-08-01s/Z24_S8/S8_Z24/ (stencil is in the high byte)Brian
2007-07-31Redesign pipe_surface in terms of pipe_region.Brian
struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.
2007-06-14Renamed softpipe directories and files to something less confusing.Keith Whitwell
softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later.