Augmenting SkDeferredCanvas notification interface to signal flushes and memory alloc...
authorjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 14 Aug 2012 13:36:26 +0000 (13:36 +0000)
committerjunov@chromium.org <junov@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 14 Aug 2012 13:36:26 +0000 (13:36 +0000)
commit9ed02b9da25a76ee4c73c1ab19c18b899a223a17
tree573c96a13e3c3ed5c647c418d0b8bf76dda43c67
parente4ee35dc086cdb98e2915fc535d4a421e25a2c9a
Augmenting SkDeferredCanvas notification interface to signal flushes and memory allocations
Renamed SkDeferredCanvas::DeviceContext to SkDeferredCanvas::NotificationClient

BUG=http://code.google.com/p/chromium/issues/detail?id=136828
TEST=Added coverage for new API to DeferredCanvas unit test. Added DeferredCanvas bench test to track deferred canvas overhead cost.
Review URL: https://codereview.appspot.com/6442108

git-svn-id: http://skia.googlecode.com/svn/trunk@5078 2bbb7eff-a529-9590-31e7-b0007b416f81
bench/DeferredCanvasBench.cpp [new file with mode: 0644]
gyp/bench.gypi
include/utils/SkDeferredCanvas.h
src/utils/SkDeferredCanvas.cpp
tests/DeferredCanvasTest.cpp