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/BlurTest.cpp | |
parent | 02c8fd0ad5e5279004dd49ec49fbae00f8522ec0 (diff) |
One createTexture function, attempt to recycle scratch in createTexture.
Review URL: https://codereview.chromium.org/864383003
Diffstat (limited to 'tests/BlurTest.cpp')
-rw-r--r-- | tests/BlurTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp index 62c11e05fa..4dad71df48 100644 --- a/tests/BlurTest.cpp +++ b/tests/BlurTest.cpp @@ -291,7 +291,7 @@ static bool gpu_blur_path(GrContextFactory* factory, const SkPath& path, desc.fHeight = 30; desc.fSampleCnt = 0; - SkAutoTUnref<GrTexture> texture(grContext->createUncachedTexture(desc, NULL, 0)); + SkAutoTUnref<GrTexture> texture(grContext->createTexture(desc, false, NULL, 0)); SkAutoTUnref<SkGpuDevice> device(SkNEW_ARGS(SkGpuDevice, (grContext, texture.get()))); SkCanvas canvas(device.get()); |