diff options
author | bsalomon <bsalomon@google.com> | 2015-02-06 08:49:24 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-06 08:49:24 -0800 |
commit | d0423587ac56ae84d3f1eb796d5c1e2dfba9646e (patch) | |
tree | 1bbbc8adbc1b63dc7dd19ffc08889be9a80b89c5 /tests/RecordReplaceDrawTest.cpp | |
parent | 02c8fd0ad5e5279004dd49ec49fbae00f8522ec0 (diff) |
One createTexture function, attempt to recycle scratch in createTexture.
Review URL: https://codereview.chromium.org/864383003
Diffstat (limited to 'tests/RecordReplaceDrawTest.cpp')
-rw-r--r-- | tests/RecordReplaceDrawTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp index bbf01686d0..55f47cee6c 100644 --- a/tests/RecordReplaceDrawTest.cpp +++ b/tests/RecordReplaceDrawTest.cpp @@ -124,7 +124,7 @@ void test_replacements(skiatest::Reporter* r, GrContext* context, bool useBBH) { desc.fHeight = kHeight; desc.fSampleCnt = 0; - SkAutoTUnref<GrTexture> texture(context->createUncachedTexture(desc, NULL, 0)); + SkAutoTUnref<GrTexture> texture(context->createTexture(desc, false, NULL, 0)); layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight)); SkAutoTUnref<SkBBoxHierarchy> bbh; |