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

Eric Anholt eric at anholt.net
Wed Jul 27 19:02:52 UTC 2016


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160727/a3569c95/attachment.sig>


More information about the mesa-dev mailing list