[Vulkan] Increased number of swapchain images until vsync problem is solved
authoradam.b <jsr184@gmail.com>
Thu, 29 Mar 2018 18:01:56 +0000 (19:01 +0100)
committerDavid Steele <david.steele@samsung.com>
Thu, 3 May 2018 13:18:57 +0000 (13:18 +0000)
Change-Id: I342ec48f4c54bd285ab19a977daf649e7a254fb3

dali/graphics/vulkan/vulkan-graphics.cpp

index e35db0d..b4e7bb3 100644 (file)
@@ -299,7 +299,7 @@ SwapchainRef Graphics::CreateSwapchainForSurface( SurfaceRef surface )
 {
   auto swapchain = Swapchain::New( *this,
                                    GetGraphicsQueue(0u),
-                                   surface, 2, 0 );
+                                   surface, 4, 0 );
 
   // store swapchain in the correct pair
   for( auto&& val : mSurfaceFBIDMap )