[Mesa-dev] [RFC PATCH] vbo: create a new draw function interface for indirect draws

Marek Olšák maraeo at gmail.com
Thu Dec 31 07:10:11 PST 2015

On Thu, Dec 31, 2015 at 12:10 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> This is optional for now in the transition period, but optimally all
> backends that support indirect draws would switch over to it and we can
> remove the support for indirect in the "regular" draw function.
> This should allow a backend to properly support ARB_multi_draw_indirect
> and ARB_indirect_parameters.
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
> Nothing implements this interface for now but I wanted some feedback from people
> before going too far into this. In case it's not clear, the idea is that for
> ARB_indirect_parameters, nr_prims would be the maxcount, while indirect_nr_prims
> (+ offset) would point to the real number.

Sounds good to me.


More information about the mesa-dev mailing list