Deferred canvas can now be flushed if an image is beyond a certain size to avoid...
authorsugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 21 Nov 2012 15:47:04 +0000 (15:47 +0000)
committersugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 21 Nov 2012 15:47:04 +0000 (15:47 +0000)
commit7775fd5779e632d6f5724e0e5d39ed347cf965b0
tree42c72bb45da8d29e3818dddc94cc66088379a4d9
parentf68154a3cf43eb22d45be11f3b09e25440c366a6
Deferred canvas can now be flushed if an image is beyond a certain size to avoid a costly image copy.

BUG=http://code.google.com/p/chromium/issues/detail?id=137924
TEST=TestDeferredCanvasBitmapSizeThreshold unit test
Review URL: https://codereview.appspot.com/6852071

git-svn-id: http://skia.googlecode.com/svn/trunk@6527 2bbb7eff-a529-9590-31e7-b0007b416f81
include/config/SkUserConfig.h
include/utils/SkDeferredCanvas.h
src/utils/SkDeferredCanvas.cpp
tests/DeferredCanvasTest.cpp