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

Jason Ekstrand jason at jlekstrand.net
Wed Jun 20 15:14:20 UTC 2018

On Tue, Jun 19, 2018 at 10:05 PM, Keith Packard <keithp at keithp.com> wrote:

> Jason Ekstrand <jason at jlekstrand.net> writes:
> > Thoughts?
> You've looked at the code more closely than I have; please feel free to
> leave it if you think it would seem worse as separate functions.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180620/8e6a0b3c/attachment.html>

More information about the mesa-dev mailing list