diff options
author | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 11:19:19 +0000 |
---|---|---|
committer | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 11:19:19 +0000 |
commit | bfac689d6c25602931658142b34f34f503aa6c10 (patch) | |
tree | 2aca12b76d41e2338c1192c380351e760d21fa56 /skia/skia_chrome.gypi | |
parent | 56e8e2029edf5b1a6e733bb43da41e7a543c2dc9 (diff) | |
download | chromium_src-bfac689d6c25602931658142b34f34f503aa6c10.zip chromium_src-bfac689d6c25602931658142b34f34f503aa6c10.tar.gz chromium_src-bfac689d6c25602931658142b34f34f503aa6c10.tar.bz2 |
Optimize alpha software PictureDrawQuads.
Instead of mallocing another bitmap, edit the SkPicture's draw commands
at playback time to use the PictureDrawQuad's opacity. This
results in similar performance as if Blink had baked in the opacity in
the first place. However, it's not correct in some cases:
filed http://crbug.com/280374 to track.
Also turn off setFilterBitmap for software PictureDrawQuads as this is
very costly in practice.
BUG=275048
Review URL: https://chromiumcodereview.appspot.com/22867046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/skia_chrome.gypi')
-rw-r--r-- | skia/skia_chrome.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/skia_chrome.gypi b/skia/skia_chrome.gypi index a9880c0..203e3f6 100644 --- a/skia/skia_chrome.gypi +++ b/skia/skia_chrome.gypi @@ -49,6 +49,8 @@ 'ext/lazy_pixel_ref_utils.cc', 'ext/lazy_pixel_ref_utils.h', 'ext/SkThread_chrome.cc', + 'ext/opacity_draw_filter.cc', + 'ext/opacity_draw_filter.h', 'ext/paint_simplifier.cc', 'ext/paint_simplifier.h', 'ext/platform_canvas.cc', |