diff options
author | junov <junov@chromium.org> | 2015-03-09 13:14:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-09 20:14:36 +0000 |
commit | 9b40df656981fa2e9eaf158f22016b0d566bdaa8 (patch) | |
tree | 62016975803b9c7e33a057b77ff03a81c9a00b25 /ui/gfx/ios | |
parent | 224eb3358720d3b93abc115a3906e6f0fbc3a479 (diff) | |
download | chromium_src-9b40df656981fa2e9eaf158f22016b0d566bdaa8.zip chromium_src-9b40df656981fa2e9eaf158f22016b0d566bdaa8.tar.gz chromium_src-9b40df656981fa2e9eaf158f22016b0d566bdaa8.tar.bz2 |
Fixing 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
Review URL: https://codereview.chromium.org/990983003
Cr-Commit-Position: refs/heads/master@{#319719}
Diffstat (limited to 'ui/gfx/ios')
0 files changed, 0 insertions, 0 deletions