Chromium Code Reviews
DescriptionFixing analysis_canvas treatment of save layers with src xfermode
Code in AnalysisCanvas::willSaveLayer was treating the case of layers
composited with kSrc_Mode as if they did not affect the destination,
when in fact it is kDst_Mode that does not affect the destination.
As a result of this error, the compositor was culling layers that
contained opaque canvas elements, which are composited with
'src' for performance.
BUG=464694
TEST=skia_unittest AnalysisCanvasTest.SaveLayerWithXfermode
Committed: https://crrev.com/9b40df656981fa2e9eaf158f22016b0d566bdaa8
Cr-Commit-Position: refs/heads/master@{#319719}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|
||||||||||||||||||||||||||||