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

2018-06-19 Thread Keith Packard
Jason Ekstrand writes: > They're being used as helpers and they're actually kind-of nice for > that. Sounds good. I hadn't actually looked at the details; just saw the functions going away in the initializers. -- -keith signature.asc Description: PGP signature ___

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

2018-06-19 Thread Jason Ekstrand
On Tue, Jun 19, 2018 at 5:09 PM, Keith Packard wrote: > Jason Ekstrand 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

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

2018-06-19 Thread Keith Packard
Jason Ekstrand 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? Reviewed-by: Keith Packard -- -keith signature.asc Description: PGP signature _

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

2018-06-16 Thread Jason Ekstrand
Instead, we can just use get_capabilities2. This way back-ends only have to implement one hook. --- src/vulkan/wsi/wsi_common.c | 11 ++- src/vulkan/wsi/wsi_common_display.c | 1 - src/vulkan/wsi/wsi_common_private.h | 2 -- src/vulkan/wsi/wsi_common_wayland.c | 1 - src/vulkan