diff options
author | tomhudson@chromium.org <tomhudson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 22:08:23 +0000 |
---|---|---|
committer | tomhudson@chromium.org <tomhudson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-07 22:08:23 +0000 |
commit | c931465a982836e6399a853e03cfde4054d486d6 (patch) | |
tree | 39683ac40df5dfbc34f08226d308af9cdeb3087e /skia/skia.gyp | |
parent | a09a58dab96bc110dc47533a48d2691ce19738c6 (diff) | |
download | chromium_src-c931465a982836e6399a853e03cfde4054d486d6.zip chromium_src-c931465a982836e6399a853e03cfde4054d486d6.tar.gz chromium_src-c931465a982836e6399a853e03cfde4054d486d6.tar.bz2 |
Implementation for cc::Picture::IsCheapInRect().
Minimal implementation for cc::Picture::IsCheapInRect() with new
classes skia::AnalysisCanvas and skia::AnalysisDevice.
Supercedes http://codereview.chromium.org/12184010/.
Based on GatherPixelRefs.
Not a good implementation yet, but it does seem to count draw calls
and is right more often than a stopped clock. I'm not happy with
clipping/culling; something is going very wrong there.
TBR=nduca,junov,tomhudson
CC=skyostil
BUG=173426
Review URL: https://chromiumcodereview.appspot.com/12213018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181369 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 a20e4be..f8bad83 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -148,6 +148,8 @@ '../third_party/skia/include/utils/SkNullCanvas.h', '../third_party/skia/include/utils/SkPictureUtils.h', + 'ext/analysis_canvas.cc', + 'ext/analysis_canvas.h', 'ext/bitmap_platform_device.h', 'ext/bitmap_platform_device_android.cc', 'ext/bitmap_platform_device_android.h', |