Skip to content
Commit cf744e5c authored by Sergey Ulanov's avatar Sergey Ulanov Committed by Commit Bot
Browse files

[Fuchsia] Synchronize image access in OutputPresenterFuchsia

Image access in OutputPresenterImages was not synchronized because
need_synchronization() was false int he images it uses.
Updated OutputPresenterFuchsia to set SCANOUT image usage bit and also
updated ExternalVkImageBacking::need_synchronization() to return true
for SCANOUT images. This ensures that image access in
OutputPresenterFuchsia properly.

Also fixed semaphore ownership handling in OutputPresenterFuchsia.

Bug: 1115692
Change-Id: Ibf375845eab2fbf320f777f45adcc98719ee239c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2353413


Commit-Queue: Sergey Ulanov <sergeyu@chromium.org>
Auto-Submit: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: default avatarPeng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#798127}
parent f99cd179
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment