aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_vbuf.c
Commit message (Collapse)AuthorAgeFilesLines
* u_vbuf: unbind vertex buffers on destroyMarek Olšák2012-04-291-0/+2
|
* u_vbuf: don't call u_vbuf_upload_buffers if there's nothing to uploadMarek Olšák2012-04-241-2/+8
|
* u_vbuf: don't upload user buffers if the driver supports themMarek Olšák2012-04-241-1/+1
|
* u_vbuf: optimize u_vbuf_translate_find_free_vb_slotsMarek Olšák2012-04-241-27/+15
|
* u_vbuf: turn bool arrays into bitmasks and loops into bitwise operationsMarek Olšák2012-04-241-110/+88
| | | | | | Optimized functions: - u_vbuf_need_minmax_index - u_vbuf_mapping_vertex_buffer_blocks
* u_vbuf: take advantage of all new vertex fetch capsMarek Olšák2012-04-241-7/+12
|
* u_vbuf: simplify u_vbuf_set_vertex_buffersMarek Olšák2012-04-241-23/+16
|
* u_vbuf: rename native_attribs -> driver_attribsMarek Olšák2012-04-241-5/+5
|
* gallium: make user vertex buffers optionalMarek Olšák2012-04-241-153/+151
| | | | | | | | | | | This couldn't be split because it would break bisecting. Summary: * r300g,r600g: stop using u_vbuf * r300g,r600g: also report that the FIXED vertex type is unsupported * u_vbuf: refactor for use in the state tracker * cso: wire up u_vbuf with cso_context * st/mesa: conditionally install u_vbuf
* u_vbuf: pull u_vbuf_draw_max_vertex_count into r300gMarek Olšák2012-04-241-50/+0
|
* u_vbuf: make use of the new CAPs to determine what to doMarek Olšák2012-04-241-22/+29
| | | | | | | This adds the ability to initialize u_vbuf_caps before creating u_vbuf itself. It will be useful for determining if u_vbuf should be used or not. Also adapt r300g and r600g.
* u_vbuf: use user_ptr from pipe_resourceMarek Olšák2012-04-241-11/+11
|
* u_vbuf: override draw_vboMarek Olšák2012-04-241-20/+32
|
* u_vbuf: override create/bind/destroy_vertex_elements_stateMarek Olšák2012-04-241-40/+43
|
* u_vbuf: override set_vertex_buffersMarek Olšák2012-04-241-33/+48
|
* u_vbuf: override set_index_bufferMarek Olšák2012-04-241-5/+30
| | | | This makes u_vbuf_mgr call the driver instead of the other way around.
* u_vbuf: don't unroll indices if mapping vertex buffers blocksMarek Olšák2012-01-071-1/+35
|
* u_vbuf: use cso_cache to cache vertex element statesMarek Olšák2012-01-051-10/+47
| | | | Improves performance to 28 fps in Cogs.
* u_vbuf: implement another upload codepath which unrolls indicesMarek Olšák2012-01-051-26/+119
| | | | | | | Improves performance from cca 1 fps to 23 fps in Cogs. This new codepath is not always used, instead, there is a heuristic which determines whether to use it. Using translate for uploads is generally slower than what we have had already, it's a win only in a few cases.
* u_vbuf: cleanup variable names to be consistentMarek Olšák2012-01-051-13/+11
|
* u_vbuf: cleanup the computation of how many vertices to upload/translateMarek Olšák2012-01-051-16/+23
|
* u_vbuf: convert min_index,max_index to start,countMarek Olšák2012-01-051-19/+26
|
* u_vbuf: translate per-vertex, per-instance, and constant attribs separatelyMarek Olšák2012-01-051-104/+236
| | | | | | | We don't wanna convert per-instance or constant (zero-stride) attribs into ordinary vertex attribs. More importantly, the translation of instance attribs now finally works.
* u_vbuf: take start_instance into account when uploading instanced attribsMarek Olšák2012-01-051-2/+4
|
* u_upload_mgr: remove the 'flushed' parameterMarek Olšák2012-01-051-4/+2
| | | | | | Not used by anybody. Reviewed-by: Brian Paul <[email protected]>
* u_vbuf: don't map user buffers, just obtain a pointer to themMarek Olšák2012-01-051-6/+11
|
* u_vbuf: only map a subrange of buffers to translateMarek Olšák2012-01-051-9/+8
|
* u_vbuf: remove the workaround for half floats and translateMarek Olšák2012-01-051-20/+1
|
* u_vbuf: Silence uninitialized variable warnings.Vinson Lee2011-12-011-0/+2
| | | | | | | | | | Fixes these GCC warnings. u_vbuf.c: In function ‘u_vbuf_draw_begin’: u_vbuf.c:839:20: warning: ‘max_index’ may be used uninitialized in this function [-Wuninitialized] u_vbuf.c:838:20: warning: ‘min_index’ may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* u_vbuf_mgr: rename to u_vbufMarek Olšák2011-11-221-0/+868