-
Sergey Ulanov authored
OutputPresenterFuchsia was setting image constraints for allocated buffers. As result the images were always allocated with pixel_format=R8G8B8A8 without any flags set in format_modifiers. As result, device-specific optimizations were not enabled for these buffers, so GPU was using more memory bandwidth than would be possible otherwise. This change updates OutputPresenterFuchsia to avoid setting any constraints for the buffer collection. Instead buffer collection constraints are set only through Vulkan. This ensures that the buffers are allocated with all possible optimizations supported by the Vulkan driver. Bug: 1128740 Change-Id: I7ec8f605ace86a33062d5296a1b6b2e1f647b3c5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414757Reviewed-by:
Emircan Uysaler <emircan@chromium.org> Reviewed-by:
Peng Huang <penghuang@chromium.org> Commit-Queue: Emircan Uysaler <emircan@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#808101}
4165f719