Descriptioncc: Return a NullCanvas instead of NULL in context lost situations.
This reduces the difference in code paths between normal usage and
context lost situations.
Also moves the save()/restore() pair required for GPU raster
into the RasterBuffer class so it can be avoided when unnecessary.
BUG=406404
Committed: https://crrev.com/102706b5cedfa35c68069f185a4f8c187d485722
Cr-Commit-Position: refs/heads/master@{#295290}
Patch Set 1 #Patch Set 2 : update unit test #
Messages
Total messages: 7 (2 generated)
|