Jason Ekstrand <ja...@jlekstrand.net> writes:

> I just sent a v2 which allocates a temporary array, calls properties2, and
> then copies it back over.  It doesn't duplicate the iteration code and
> instead just leverages propertie2.  On the down side, it's a bit more
> allocation and data motion but, compared to the ioctl that properties2 is
> doing, it shouldn't be noticeable.  Let me know what you think of that
> version.

Seems a bit better; this is not exactly a high-use API and clearer
counts for a lot.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to