DescriptionCorrectly track texture cleared state for sharing
When sharing textures in mailboxes using MailboxManagerSync
there's an optimization that if textures are not updated then
there is no need to share it again. However the code that
checks whether textures are updated ignores the cleared
state, causing shared texture to remain uncleared
indefinitely.
Fix by check the cleared state. And add a unit test.
BUG=453199
Committed: https://crrev.com/2f4ff4807f5d7805a5658ceb7ba71072152ea6c9
Cr-Commit-Position: refs/heads/master@{#313814}
Patch Set 1 #Patch Set 2 : test #Patch Set 3 : blank line #
Total comments: 2
Patch Set 4 : c++11 #
Messages
Total messages: 8 (2 generated)
|