[Mesa-dev] [PATCH 1/2] vulkan/wsi: Get rid of the get_capabilities hook

Jason Ekstrand jason at jlekstrand.net
Wed Jun 20 00:43:39 UTC 2018

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

> Jason Ekstrand <jason at jlekstrand.net> writes:
> > Instead, we can just use get_capabilities2.  This way back-ends only
> > have to implement one hook.
> Yeah, this looks nice. Are you going to remove the unused functions at
> some point?

They're being used as helpers and they're actually kind-of nice for that.
Other places where we've implemented chained versions of things it's really
nice to have one helper for each type of link in the chain.  Those just
become for the first link.  We could inline them if needed but I haven't
seen a point.

> Reviewed-by: Keith Packard <keithp at keithp.com>
> --
> -keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180619/2d586a5d/attachment.html>

More information about the mesa-dev mailing list