From: Fufu Fang Date: Fri, 22 Oct 2021 08:55:13 +0000 (+0100) Subject: Remove the TODO on the max Wayland image size. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b96455b8459bd32580d2fe64e2579726a7003d7f;p=platform%2Fcore%2Fuifw%2Fvulkan-wsi-tizen.git Remove the TODO on the max Wayland image size. It is valid to create windows exceeding the display size. It is correct to set the image size limits to the GPU limits. Change-Id: I53d0865ad1a540cd2eb92137ef325f000bd76159 Signed-off-by: Fufu Fang --- diff --git a/wsi/wayland/surface_properties.cpp b/wsi/wayland/surface_properties.cpp index 57744a7..41f237e 100644 --- a/wsi/wayland/surface_properties.cpp +++ b/wsi/wayland/surface_properties.cpp @@ -76,7 +76,6 @@ VkResult surface_properties::get_surface_capabilities(VkPhysicalDevice physical_ pSurfaceCapabilities->currentExtent = { 0xffffffff, 0xffffffff }; pSurfaceCapabilities->minImageExtent = { 1, 1 }; - /* TODO: Ask the device for max - for now setting the max from the GPU, may be ask the display somehow*/ VkPhysicalDeviceProperties dev_props; layer::instance_private_data::get(physical_device).disp.GetPhysicalDeviceProperties(physical_device, &dev_props);