summaryrefslogtreecommitdiffstats
path: root/content/browser/speech/speech_recognition_engine.h
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 09:51:20 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 09:51:20 +0000
commitc97dfc681180e48f4408c8121293cd4ea64bc41c (patch)
tree8d4bf609decb3f6d015cc535ae6dc69117a6ea47 /content/browser/speech/speech_recognition_engine.h
parentc17ca9d20bd6d8ba21e7b13fa0e2634c9951f268 (diff)
downloadchromium_src-c97dfc681180e48f4408c8121293cd4ea64bc41c.zip
chromium_src-c97dfc681180e48f4408c8121293cd4ea64bc41c.tar.gz
chromium_src-c97dfc681180e48f4408c8121293cd4ea64bc41c.tar.bz2
Make PicturePile pile.
This follows a similar policy as Android browser: - If an invalidate only intersects the base plus at most one non-base SkPicture, then it creates a new SkPicture of that size. - If an invalidate intersects two or more non-base SkPictures, then a new SkPicture is created at the top of the pile, sized to the union of the invalidate plus the bounds of all the intersecting pictures. - Whenever new picture's area fully contains an existing picture, that old picture is destroyed. - If an SkPicture's area would be >70% of the base, the pile is destroyed and the base SkPicture is recreated. During the invalidate pass, invalidated pictures are represented as Pictures with a size but no recording. Then all the blank pictures are filled in at the end of the Update(). BUG=163429 Review URL: https://chromiumcodereview.appspot.com/11299324 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/speech/speech_recognition_engine.h')
0 files changed, 0 insertions, 0 deletions