[Mesa-dev] [PATCH-v2] gallium: Unified draw_vbo.

Chia-I Wu olvaffe at gmail.com
Wed Jul 28 23:03:22 PDT 2010


On Tue, Jul 27, 2010 at 12:36 PM, Chia-I Wu <olvaffe at gmail.com> wrote:
> This is the second try for unified draw_vbo call.  I again upload the
> patches as a branch here
>
>  http://cgit.freedesktop.org/~olv/mesa/log/?h=gallium-unified-draw-2
>
> due to the size.
>
> Changes since v1:
>
>  - make index buffer a state and add pipe_context::set_index_buffer
>  - there is a boolean in pipe_draw_info controlling whether draw_vbo
>    should or should not use the index buffer
>
> Please review.
I've rebased and merged the branch to master.  I've only tested softpipe,
llvmpipe, and i915g.  I try to keep the changes to other drivers minimal, but I
can only hope that I do not break them.  Blame me if they do..

While the index buffer has now become a state, most drivers still do not treat
it like one.  It requires some knowledge of the respective hardware to make
the change.  I will wait for a few days in case there are regressions, and make
the change for the draw module.

-- 
olv at LunarG.com


More information about the mesa-dev mailing list