DescriptionSeparate out resource mailbox creation and fix synchronization issue.
The resource transfer function has been split up so it does the lazy
resource mailbox creation in a separate pass. This allows us to setup
the sync token directly on the resource itself before the transfer.
The texture binding code is also done on the first pass, this fixes
a subtle synchronization issue where previously the bound textures
could potentially not have a sync token attached to it if no mailboxes
were lazily created.
BUG=584381
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/d5650cab68401bcd2bb89e1a98c65378d493f785
Cr-Commit-Position: refs/heads/master@{#373847}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Added function comment and formatted. #Patch Set 3 : Removed assumption that sync token is cleared #
Messages
Total messages: 18 (7 generated)
|