[Mesa-dev] [PATCH 2/3] clover: stdify compat::vector a little more

Francisco Jerez currojerez at riseup.net
Sun Aug 17 23:29:02 PDT 2014


EdB <edb+mesa at sigluy.net> writes:

> make resize work like std::vector
> reserve take advantage of capacity
> rename members to be uniform with other class
> ---
>  src/gallium/state_trackers/clover/core/module.cpp |   2 +-
>  src/gallium/state_trackers/clover/util/compat.hpp | 113 +++++++++++++++-------
>  2 files changed, 78 insertions(+), 37 deletions(-)
>

This could be a *lot* simpler, see attachment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-clover-util-Have-compat-vector-track-separate-size-a.patch
Type: text/x-diff
Size: 4855 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140818/cf105760/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140818/cf105760/attachment.sig>


More information about the mesa-dev mailing list