Descriptioncc: Change texture locking check point
Checking whether texture is acquired by main thread or not in
PendingActivationsShouldBeForced() has no meaning because texture is
always acquired by impl thread in pending state. Instead, this check
should be tested in PendingDrawShouldBeAborted().
Also, additional unittest is added for checking pending activation is
forced when context is lost.
R=brianderson@chromium.org
BUG=347797
TEST=cc_unittests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255556
Patch Set 1 #Patch Set 2 : Add test for checking pending activation is forced #Patch Set 3 : Add invariant condition of texture acquisition state #
Total comments: 4
Patch Set 4 : Modify invariant condition #
Messages
Total messages: 18 (0 generated)
|