diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-26 20:03:32 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-07-26 20:03:32 +0000 |
commit | 15011ee5e4068ab6523e432e435473a822ee7d80 (patch) | |
tree | d11ca1c26161dc2af036d95c0eeab50eeacae1ac /tests | |
parent | 1c31f633232df572f89a3bc1b0fee3e46d22cb5b (diff) |
Make SkDeferredCanvas query SkGPipeWriter for space allocated for bitmaps.
SkGPipe now has a method to report how much memory is used for its shared heap.
BUG=http://code.google.com/p/skia/issues/detail?id=738
TEST=DeferredCanvasTest
Review URL: https://codereview.appspot.com/6445046
git-svn-id: http://skia.googlecode.com/svn/trunk@4791 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/DeferredCanvasTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp index 0fee1808c4..7a8ed9d659 100644 --- a/tests/DeferredCanvasTest.cpp +++ b/tests/DeferredCanvasTest.cpp @@ -212,7 +212,7 @@ static void TestDeferredCanvasMemoryLimit(skiatest::Reporter* reporter) { // SkPicture path is not fixed #if SK_DEFERRED_CANVAS_USES_GPIPE - REPORTER_ASSERT(reporter, mockDevice.fDrawBitmapCallCount == 3); + REPORTER_ASSERT(reporter, mockDevice.fDrawBitmapCallCount == 4); #endif } |