Re: [Mesa-dev] [RFC v5 10/19] vulkan/wsi: Rename needs_linear_copy to should_export

2017-11-13 Thread Jason Ekstrand
On Mon, Nov 6, 2017 at 2:02 PM, Louis-Francis Ratté-Boulianne < l...@collabora.com> wrote: > From: Daniel Stone > > The only use for this boolean was to decide whether or not it should > export a dmabuf FD. Simplify things a bit by giving that directly. > I'm not sure how I feel about this. To

[Mesa-dev] [RFC v5 10/19] vulkan/wsi: Rename needs_linear_copy to should_export

2017-11-06 Thread Louis-Francis Ratté-Boulianne
From: Daniel Stone The only use for this boolean was to decide whether or not it should export a dmabuf FD. Simplify things a bit by giving that directly. Signed-off-by: Daniel Stone --- src/amd/vulkan/radv_wsi.c | 6 -- src/intel/vulkan/anv_wsi.c | 21 +