summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Yiwei Zhang <zzyiwei@google.com> 2018-02-08 14:22:53 -0800
committer Yiwei Zhang <zzyiwei@google.com> 2018-02-08 14:42:38 -0800
commitdbd961590b9b49e4fbf9cb9b868c7a4323be3517 (patch)
treed3022683c1ebfe33de97ddb1e1cc24eb6999cb9d /opengl/libagl/TextureObjectManager.cpp
parenta8cbd47495b4bbf8977388d371ae9e3a71652639 (diff)
swapchain: add query for MaxBufferCount
The current vkCreateSwapchainKHR use the hard coded maxImageCount from GetPhysicalDeviceSurfaceCapabilitiesKHR, which results in possible conflicts with the maxBufferCount set by BufferQueueConsumer. Thus add a query to grab the consumer set maxBufferCount into maxImageCount of surface capability. Test: adb shell setprop debug.hwui.renderer skiavk Test: open Play store search and click on apps Bug: b/71894146 Change-Id: Iba75d977b13a849b62e6c4f259f7ca519ac26db8
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions