Chromium Code Reviews
DescriptionFix render state restore bug in DirectRenderer
When processing multiple copy requests, DirectRenderer must restore
state between requests. Due to a change from an index based for loop
to an iterator based loop, a check within the loop for the first
iteration had gotten out of date. This caused DirectRenderer to miss
a required state restore in some cases. This change restores the
intended behavior.
The software renderer had a bug where calling UseRenderPass multiple
times would result in a crash. The bug addressed in this CL made this a
more common occurrance. A fix to the software-renderer issue was
committed in CL (899183003). This change doesn't revert the software
renderer fix as it is still possible to hit the software renderer bug
even with this bug fixed. See the additional unit test for a case where
the software renderer fix is still necessary even with this patch.
R=danakj@chromium.org
Committed: https://crrev.com/eaf9258c49f76a997f690a63cb7e3091a09990b0
Cr-Commit-Position: refs/heads/master@{#315412}
Patch Set 1 #
Total comments: 8
Patch Set 2 : CL Feedback #
Total comments: 4
Patch Set 3 : CL feedback. #
Messages
Total messages: 11 (2 generated)
|
||||||||||||||||||||||||||||