[Mesa-dev] [PATCH 01/11] mesa: Add flush_vertices argument to _mesa_bind_vertex_buffer.

Mathias Fröhlich Mathias.Froehlich at gmx.net
Fri Jul 29 04:57:30 UTC 2016


Good Morning,

On Wednesday, July 27, 2016 12:02:52 Eric Anholt wrote:
> Mathias.Froehlich at gmx.net writes:
> 
> > From: Mathias Fröhlich <mathias.froehlich at web.de>
> >
> > Similar to _mesa_update_array_format add an argument to
> > avoid calling FLUSH_VERTICES in certain cases.
> > This will be used with the following change.
> 
> Do we need to avoid calling FLUSH_VERTICES in the following change,
> though?  We've already called FLUSH_VERTICES(ctx, 0) at the top of
> _mesa_DeleteBuffers(), and here you're ORing the _NEW_ARRAY NewState in
> anyway, so it seems like we could just skip this change.

Indeed, that works without.
I have removed this patch from the series and updated the rest.

Thanks

Mathias


More information about the mesa-dev mailing list