aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_region.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove non-meaningful region_idle() interfaceKeith Whitwell2007-09-171-7/+0
| | | | This is already handled by the semanics of map(), etc.
* merge buffer_unreference(), buffer_reference()Brian2007-09-101-2/+2
|
* assertionsBrian2007-08-171-1/+7
|
* Continue reducing dependencies on core mesa include files.Keith Whitwell2007-08-141-32/+32
| | | | Mainly down to the support for legacy TNL processing now.
* fix invalid usage of buffer_unreference()Brian2007-08-111-1/+1
| | | | | | | Need to pass the address of the buffer ptr, not the buffer ptr. Before, the region->buffer type was void * so it wasn't effectively type-checked. Changing the type to pipe_buffer_object* allows the compiler to detect the error. Fixing this solves a segfault.
* Lift common winsys functions into pipe's new p_winsys.Keith Whitwell2007-08-101-10/+13
|
* alignment/pitch/width clean-upsBrian2007-08-101-6/+17
|
* pipe->region_alloc() now takes width instead of pitch, plus a flags paramBrian2007-08-101-1/+1
|
* remove dst!=src assertionBrian2007-08-071-1/+0
|
* Add pipe buffer managment functions.Keith Whitwell2007-08-061-9/+1
| | | | | The state_tracker driver needs these to implement, eg. pixel buffer objects, vertex buffer objects.
* Add a new interface between softpipe and the window system / buffer manager.Keith Whitwell2007-08-051-100/+187
| | | | | | | | | | | | | | | This interface is defined by softpipe and any window system (eg i915pipe) wishing to use softpipe is required to implement the interface. Currently the interface is all about buffer management. Generalizing, each pipe driver will advertise an interface in a similar spirit to this, and again any window system driver wishing to use that rendering pipeline will have to implement the interface it defines. It clearly isn't a one-way street however, as softpipe could just do its own buffer management with malloc. The interaction with a buffer manager is desired to allow us to exercise the hardware swapbuffers functionality of the i915pipe driver, and also to get a feel for the way hardware drivers which really need a buffer manager will work.
* implement masking in sp_region_fill()Brian2007-08-011-11/+48
|
* More work on glClear.Brian2007-08-011-1/+1
| | | | Add a 'mask' param to region_fill() to help with clearing combined Z/stencil buffers, glColorMask, etc.
* Checkpoint: glClear changes - working, bug very rough.Brian2007-08-011-0/+55
|
* Redesign pipe_surface in terms of pipe_region.Brian2007-07-311-0/+105
struct pipe_buffer goes away. Added basic region functions to softpipe to allocate/release malloc'd regions. Surface-related code is fairly coherent now.