aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_index_modify.h
Commit message (Collapse)AuthorAgeFilesLines
* gallium: remove pipe_index_buffer and set_index_bufferMarek Olšák2017-05-101-4/+3
| | | | | | | | | | | | | | pipe_draw_info::indexed is replaced with index_size. index_size == 0 means non-indexed. Instead of pipe_index_buffer::offset, pipe_draw_info::start is used. For indexed indirect draws, pipe_draw_info::start is added to the indirect start. This is the only case when "start" affects indirect draws. pipe_draw_info::index is a union. Use either index::resource or index::user depending on the value of pipe_draw_info::has_user_indices. v2: fixes for nine, svga
* gallium/util: use const in u_index_modify helpersMarek Olšák2017-03-301-3/+3
| | | | | | Reviewed-by: Nicolai Hähnle <[email protected]> Tested-by: Edmondo Tommasina <[email protected]> Reviewed-by: Samuel Pitoiset <[email protected]>
* gallium/u_index_modify: don't add PIPE_TRANSFER_UNSYNCHRONIZED unconditionallyMarek Olšák2017-02-191-0/+3
| | | | | | | | It's OK for r300g (because r300g can't write to buffers via the GPU), but not later hardware. This issue was spotted randomly. Cc: [email protected] Reviewed-by: Nicolai Hähnle <[email protected]>
* gallium/util: remove unused u_index_modify helpersMarek Olšák2017-02-181-23/+0
| | | | Reviewed-by: Nicolai Hähnle <[email protected]>
* gallium: add void *user_buffer in pipe_index_bufferMarek Olšák2012-04-301-6/+10
| | | | | | | Adapted drivers: i915, llvmpipe, r300, r600, radeonsi, softpipe. User index buffers have been disabled in nv30, nv50, nvc0 and svga to keep things working.
* util: Add forward declarations in u_index_modify.h.Vinson Lee2010-12-301-0/+3
|
* util: add a way to store translated indices to a user memory in u_index_modifyMarek Olšák2010-12-291-0/+24
| | | | I am about to use the upload buffer in r300g instead.
* util/r300g: split the r300 index buffer modifier functions out to utilDave Airlie2010-09-201-0/+41
These can be used by other drivers, like r600g. Signed-off-by: Dave Airlie <[email protected]>