Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-05-05 | gallium: rename draw() to draw_elements() in vbuf code | Brian Paul | |
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions. | |||
2010-04-26 | draw: Pass-through pipe_buffer::max_index to translate. | José Fonseca | |
max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now. | |||
2010-03-26 | draw: Use translate function instead of switch cases | Jakob Bornecrantz | |
2010-02-22 | gallium: Remove bypass_vs_clip_and_viewport from rasteriser state. | Michal Krol | |
Needs testing. | |||
2010-01-21 | draw: Remove unnecessary headers. | Vinson Lee | |
2009-10-02 | gallium: remove // comment and extra whitespace | Brian Paul | |
2009-03-13 | gallium: consolidate bypass_vs and bypass_clipping flags | Keith Whitwell | |
The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords. | |||
2009-02-17 | draw: second argument to unmap is max, not count | Keith Whitwell | |
2009-02-17 | draw: add map/unmap directives for swtnl driver interface | Keith Whitwell | |
Previously draw module asked for a pointer into (mapped) vertex data, which it would incrementally fill and emit draw commands against. This was hard for the drivers to deal with, especially in the case where a draw command would force a flush and thus an unmap of the vertex data. With this change, the draw module explicitly maps & then unmaps vertex data prior to emitting draw commands. | |||
2009-01-27 | gallium: standardize on stride instead of pitch in the interface | Zack Rusin | |
2008-12-10 | gallium: change 65535 to UNDEFINED_VERTEX_ID | Alan Hourihane | |
2008-12-10 | gallium: more vertex count checks | Alan Hourihane | |
2008-12-10 | gallium: temporary check for > 65535 vertices | Alan Hourihane | |
2008-10-06 | make draw's vertex_info struct smaller/quicker to compare with memcmp() | Keith Whitwell | |
2008-10-02 | draw: don't keep refetching constant inputs | Keith Whitwell | |
2008-08-26 | draw: attempt atomic submit of large drawelements calls | Keith Whitwell | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-06-18 | gallium: split long prims into chunks with an even number of vertices | Brian Paul | |
This fixes culling "parity" errors when splitting long tri strips. Splitting strips into chunks with an odd number of vertices causes front/back-face orientation to get reversed and upsets culling. | |||
2008-06-06 | draw: fix intermediate buffer confusion in draw_vs_varient.c | Keith Whitwell | |
The final output buffer can't be used to hold intermediate results as the intermediate vertex size may be greater than the final vertex size, and in any case the output buffer may be uncached in hw drivers. | |||
2008-06-04 | draw: respect driver's max vertex buffer size | Keith Whitwell | |
2008-05-29 | draw: draw_range_elements trial | Keith Whitwell | |
2008-05-29 | draw: share machine | Keith Whitwell | |
2008-05-27 | draw: support psize in vs_varient paths | Keith Whitwell | |
Preserve the vinfo "EMIT_*" format descriptors in the varient key, and deal with PSIZE directly in each implementation. | |||
2008-05-27 | draw: add disabled debug code | Keith Whitwell | |
2008-05-27 | draw: ensure vs outputs mapped correctly to vinfo attribs | Keith Whitwell | |
2008-05-27 | draw: explicitly list nr_inputs, outputs in varient key | Keith Whitwell | |
2008-05-27 | draw: Fix for EMIT_4UB case | Jakob Bornecrantz | |
2008-05-27 | draw: hook up viewport / rhw emit to varient key state | Keith Whitwell | |
2008-05-23 | draw: fse works with elts, remove assert | Keith Whitwell | |
2008-05-23 | draw: add viewport to varient state | Keith Whitwell | |
2008-05-23 | draw: create specialized vs varients incorporating fetch & emit | Keith Whitwell | |
2008-05-23 | draw: get rid of fetch-shade-emit frontend hack | Keith Whitwell | |
The code is now living in it's intended place as a pt middle end. | |||
2008-05-12 | draw: turn fse path into a middle end | Keith Whitwell | |
Also add some util functions in pt_util.c | |||
2008-05-12 | draw: add fetch-shade-emit path | Keith Whitwell | |
Enable with TEST_FSE=t. Performs fetch from API-provided vertex buffers, transformation with one of three (two working) hard-coded shaders, and final emit to hardware vertices all in a single pass. Currently only really useful for profiling in conjunction with SP_NO_RAST=t. |