aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_surface.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: add start_slot parameter to set_vertex_buffersMarek Olšák2012-10-311-2/+1
| | | | | | | | | | | | | | | | | | | | | This allows updating only a subrange of buffer bindings. set_vertex_buffers(pipe, start_slot, count, NULL) unbinds buffers in that range. Binding NULL resources unbinds buffers too (both buffer and user_buffer must be NULL). The meta ops are adapted to only save, change, and restore the single slot they use. The cso_context can save and restore only one vertex buffer slot. The clients can query which one it is using cso_get_aux_vertex_buffer_slot. It's currently set to 0. (the Draw module breaks if it's set to non-zero) It should decrease the CPU overhead when using a lot of meta ops, but the drivers must be able to treat each vertex buffer slot as a separate state (only r600g does so at the moment). I can imagine this also being useful for optimizing some OpenGL use cases. Reviewed-by: Brian Paul <[email protected]>
* softpipe: implement blitMarek Olšák2012-09-301-0/+55
| | | | | Tested-by: Michel Dänzer <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* softpipe: use util_clear_render_target/depth_stencil fallbacksRoland Scheidegger2010-06-071-0/+2
|
* softpipe: adapt to clear interface changesRoland Scheidegger2010-05-291-1/+0
|
* softpipe: adapt to interface changesRoland Scheidegger2010-05-171-15/+2
|
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-031-1/+1
| | | | This is a better place than in u_rect.c
* softpipe: Include declarations.José Fonseca2009-03-251-0/+1
|
* gallium: Remove do_flip argument from surface_copyJakob Bornecrantz2009-03-131-1/+12
| | | | | | | I should have gotten most uses and implementation correctly fixed, but things might break. Feel free to blame me.
* softpipe: use the new util_surface_copy/fill() functionsBrian Paul2008-09-041-120/+2
|
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-241-2/+1
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: move pipe_copy_rect(), pipe_fill_rect() protos into new u_rect.h headerBrian Paul2008-08-221-0/+1
|
* gallium: fix do_flip bug in sp_surface_copy()Brian Paul2008-08-191-1/+4
| | | | | | | Surfaces are always in y=0=top raster order so the caller should invert the Y coordinate if needed; don't do it in sp_surface_copy(). Fixes a glCopyTexture regression.
* gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-271-34/+11
| | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
* gallium: change surface_copy()'s do_flip to booleanBrian Paul2008-06-231-1/+1
|
* gallium: fix bad srcy coord if do_flipBrian Paul2008-06-231-4/+10
|
* re-add pipe_surface map/unmap inlinesKeith Whitwell2008-05-021-1/+1
|
* softpipe: use CPU flags for mappingKeith Whitwell2008-05-011-3/+3
| | | | But when creating surfaces, adjust incoming flags from GPU->CPU usage.
* gallium: tex surface checkpointKeith Whitwell2008-05-011-6/+17
|
* Code reorganization: update build.José Fonseca2008-02-151-1/+1
| | | | | | | | | Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
* Code reorganization: move files into their places.José Fonseca2008-02-151-0/+159
This is in a separate commit to ensure renames are properly preserved.