diff options
author | tomhudson@chromium.org <tomhudson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-14 16:36:28 +0000 |
---|---|---|
committer | tomhudson@chromium.org <tomhudson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-14 16:36:28 +0000 |
commit | e98e66f09edc584a322915053fa4f524f5e53ef7 (patch) | |
tree | 138023fae4ded86f4058223ccbbd8dfc31f959f2 /skia/skia.gyp | |
parent | 8ebd568216aa055ae926bb5f6151cc053d5a8986 (diff) | |
download | chromium_src-e98e66f09edc584a322915053fa4f524f5e53ef7.zip chromium_src-e98e66f09edc584a322915053fa4f524f5e53ef7.tar.gz chromium_src-e98e66f09edc584a322915053fa4f524f5e53ef7.tar.bz2 |
New class to simplify rasterization.
skia::PaintSimplifier subclasses SkDrawFilter to reduce the quality of draws. The intent is to be able to place less of a burden on the rasterizer during Android flings or other situations where we need a lot of pixels but they won't spend long on screen.
This CL does not actually invoke the PaintSimplifier. The code is extracted from https://codereview.chromium.org/12210081/; deciding when to simplify will be a separate CL.
BUG=174945
TBR=reed
Review URL: https://chromiumcodereview.appspot.com/12207157
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182475 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/skia.gyp')
-rw-r--r-- | skia/skia.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp index f8bad83..340da93 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -168,6 +168,8 @@ 'ext/lazy_pixel_ref.cc', 'ext/lazy_pixel_ref.h', 'ext/SkThread_chrome.cc', + 'ext/paint_simplifier.cc', + 'ext/paint_simplifier.h', 'ext/platform_canvas.cc', 'ext/platform_canvas.h', 'ext/platform_device.cc', |