[Mesa-dev] [PATCH] anv, radv: Add support for VK_KHR_get_display_properties2

Keith Packard keithp at keithp.com
Wed Jun 20 21:30:34 UTC 2018


Jason Ekstrand <jason at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180620/48b01cb6/attachment.sig>


More information about the mesa-dev mailing list