Re: [Mesa-dev] [PATCH 11/16] vulkan/wsi: Add modifiers support to wsi_create_native_image

2018-02-13 Thread Jason Ekstrand
On Tue, Feb 13, 2018 at 10:27 AM, Daniel Stone wrote: > Hi Jason, > > On 9 February 2018 at 23:43, Jason Ekstrand wrote: > > + uint32_t image_modifier_count = 0, modifier_prop_count = 0; > > + struct wsi_format_modifier_properties *modifier_props = NULL; > > + uint64_t *image_modifiers = N

Re: [Mesa-dev] [PATCH 11/16] vulkan/wsi: Add modifiers support to wsi_create_native_image

2018-02-13 Thread Daniel Stone
Hi Jason, On 9 February 2018 at 23:43, Jason Ekstrand wrote: > + uint32_t image_modifier_count = 0, modifier_prop_count = 0; > + struct wsi_format_modifier_properties *modifier_props = NULL; > + uint64_t *image_modifiers = NULL; > + if (num_modifier_lists == 0) { > + /* If we don't h

[Mesa-dev] [PATCH 11/16] vulkan/wsi: Add modifiers support to wsi_create_native_image

2018-02-09 Thread Jason Ekstrand
This involves extending our fake extension a bit to allow for additional querying and passing of modifier information. The added bits are intended to look a lot like the draft of VK_EXT_image_drm_format_modifier. Once the extension gets finalized, we'll simply transition all of the structs used in