swapchain: Added some error condition to follow vk-spec. 91/188291/1 accepted/tizen/unified/20180904.180645 submit/tizen/20180904.025652
authorJoonbum Ko <joonbum.ko@samsung.com>
Mon, 3 Sep 2018 11:55:50 +0000 (20:55 +0900)
committerJoonbum Ko <joonbum.ko@samsung.com>
Mon, 3 Sep 2018 11:55:55 +0000 (20:55 +0900)
commitfd3c481812d9a3c04b81658f45fadbfddf0e65de
tree206123f9d96b66a44ae5862cf1013a4f36473f71
parentfb49f1226df3aa88c08b0de849215b1f74e49d85
swapchain: Added some error condition to follow vk-spec.

 - minImageCount is the minimum number of presentable images that the application needs.
  The implementation will either create the swapchain with at least that many images,
   or it will fail to create the swapchain.

Change-Id: I1711c50456fd3487a495497bfd526ca9bf30d308
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
src/wsi/swapchain.c