Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | u_vbuf: unbind vertex buffers on destroy | Marek Olšák | 2012-04-29 | 1 | -0/+2 |
| | |||||
* | u_vbuf: don't call u_vbuf_upload_buffers if there's nothing to upload | Marek Olšák | 2012-04-24 | 1 | -2/+8 |
| | |||||
* | u_vbuf: don't upload user buffers if the driver supports them | Marek Olšák | 2012-04-24 | 1 | -1/+1 |
| | |||||
* | u_vbuf: optimize u_vbuf_translate_find_free_vb_slots | Marek Olšák | 2012-04-24 | 1 | -27/+15 |
| | |||||
* | u_vbuf: turn bool arrays into bitmasks and loops into bitwise operations | Marek Olšák | 2012-04-24 | 1 | -110/+88 |
| | | | | | | Optimized functions: - u_vbuf_need_minmax_index - u_vbuf_mapping_vertex_buffer_blocks | ||||
* | u_vbuf: take advantage of all new vertex fetch caps | Marek Olšák | 2012-04-24 | 1 | -7/+12 |
| | |||||
* | u_vbuf: simplify u_vbuf_set_vertex_buffers | Marek Olšák | 2012-04-24 | 1 | -23/+16 |
| | |||||
* | u_vbuf: rename native_attribs -> driver_attribs | Marek Olšák | 2012-04-24 | 1 | -5/+5 |
| | |||||
* | gallium: make user vertex buffers optional | Marek Olšák | 2012-04-24 | 1 | -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 r300g | Marek Olšák | 2012-04-24 | 1 | -50/+0 |
| | |||||
* | u_vbuf: make use of the new CAPs to determine what to do | Marek Olšák | 2012-04-24 | 1 | -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_resource | Marek Olšák | 2012-04-24 | 1 | -11/+11 |
| | |||||
* | u_vbuf: override draw_vbo | Marek Olšák | 2012-04-24 | 1 | -20/+32 |
| | |||||
* | u_vbuf: override create/bind/destroy_vertex_elements_state | Marek Olšák | 2012-04-24 | 1 | -40/+43 |
| | |||||
* | u_vbuf: override set_vertex_buffers | Marek Olšák | 2012-04-24 | 1 | -33/+48 |
| | |||||
* | u_vbuf: override set_index_buffer | Marek Olšák | 2012-04-24 | 1 | -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 blocks | Marek Olšák | 2012-01-07 | 1 | -1/+35 |
| | |||||
* | u_vbuf: use cso_cache to cache vertex element states | Marek Olšák | 2012-01-05 | 1 | -10/+47 |
| | | | | Improves performance to 28 fps in Cogs. | ||||
* | u_vbuf: implement another upload codepath which unrolls indices | Marek Olšák | 2012-01-05 | 1 | -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 consistent | Marek Olšák | 2012-01-05 | 1 | -13/+11 |
| | |||||
* | u_vbuf: cleanup the computation of how many vertices to upload/translate | Marek Olšák | 2012-01-05 | 1 | -16/+23 |
| | |||||
* | u_vbuf: convert min_index,max_index to start,count | Marek Olšák | 2012-01-05 | 1 | -19/+26 |
| | |||||
* | u_vbuf: translate per-vertex, per-instance, and constant attribs separately | Marek Olšák | 2012-01-05 | 1 | -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 attribs | Marek Olšák | 2012-01-05 | 1 | -2/+4 |
| | |||||
* | u_upload_mgr: remove the 'flushed' parameter | Marek Olšák | 2012-01-05 | 1 | -4/+2 |
| | | | | | | Not used by anybody. Reviewed-by: Brian Paul <[email protected]> | ||||
* | u_vbuf: don't map user buffers, just obtain a pointer to them | Marek Olšák | 2012-01-05 | 1 | -6/+11 |
| | |||||
* | u_vbuf: only map a subrange of buffers to translate | Marek Olšák | 2012-01-05 | 1 | -9/+8 |
| | |||||
* | u_vbuf: remove the workaround for half floats and translate | Marek Olšák | 2012-01-05 | 1 | -20/+1 |
| | |||||
* | u_vbuf: Silence uninitialized variable warnings. | Vinson Lee | 2011-12-01 | 1 | -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_vbuf | Marek Olšák | 2011-11-22 | 1 | -0/+868 |