summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_prim_vbuf.c
AgeCommit message (Collapse)Author
2011-03-10i915g: streamline derived state updates of the driver pipelineDaniel Vetter
Flushing the batch/hw backend doesn't invalidate the derived state. So kill the unnecessary function calls and add an assert in emit_hardware_state for paranoia. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-03-01i915g: kill relocs accoutingDaniel Vetter
No one ever cared. libdrm does dynamic resizing of its reloc-table, anyway. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-01-21i915g: Don't (un)map vbuf on each (un)map callJakob Bornecrantz
2010-12-02i915g: Make sure that new vbo gets updatedJakob Bornecrantz
Malloc likes to reuse old address as soon as possible this would cause the new vbo buffer to get the same address as the old. So make sure we set it to NULL when we allocate a new one. This fixes ipers which will fill up a couple of VBO buffers per frame. Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-12-02i915g: drop alignment parameter from iws->buffer_createDaniel Vetter
It's unnecessary. The kernel gem ignores it totally and we can't run on the old userspace fake bo manager due to lack of dri2. Also drop the redundant name string from the sw winsys as suggested by Jakob Bornecrantz Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Jakob Bornecrantz <wallbraker@gmail.com> Signed-off-by: Jakob Bornecrantz <wallbraker@gmail.com>
2010-06-22i915g: Revert debug hunks from last commitJakob Bornecrantz
2010-06-22i915g: Reduce state emission by using a index biasJakob Bornecrantz
2010-06-22i915g: Drop fifo code in vbufJakob Bornecrantz
2010-06-22i915g: Change state code in vbuf codeJakob Bornecrantz
2010-05-05gallium: rename draw() to draw_elements() in vbuf codeBrian Paul
Now we have draw_elements() and draw_arrays() to be consistent with the pipe_context drawing functions.
2010-03-26i915g: Rename winsys prefix to i915_ from intel_Jakob Bornecrantz
Since the winsys isn't shared with i965 and never will be
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2009-10-07i915g: Fix MSVC build.Vinson Lee
2009-10-07i915g: Use buffer write instead of map for lit verticesJakob Bornecrantz
2009-10-07i915g: Disable vbuf fifo and minor commenting of vbuf codeJakob Bornecrantz
The vbuf fifo doesn't appear to help once the libdrm reuse flag has been set.
2009-10-06i915g: Tweek vertexbuffer sizeJakob Bornecrantz
2009-10-05i915g: Drop the simple sufixJakob Bornecrantz
None of the other driver have a silly sufix, so just drop it. Nothing new added in this commit or any other commit but this is better marketing.