diff options
author | robertphillips <robertphillips@google.com> | 2015-11-09 13:51:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-09 13:51:06 -0800 |
commit | 60029a5397f75aae4bdb994f26bd297edc3e433c (patch) | |
tree | ecfe56285b4e3810fb864bd3cb2c07d1855d9638 /tests/RecordReplaceDrawTest.cpp | |
parent | e5911c9c5b859d60208f4b9ac4bf2a638f4bc35f (diff) |
Update Layer Hoisting to store its atlas texture in the resource cache
BUG=skia:4346
Committed: https://skia.googlesource.com/skia/+/42597bc99f00553825843b5ed41e81b121773368
Review URL: https://codereview.chromium.org/1406013006
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 225185ddd3..46f6af3c13 100644 --- a/tests/RecordReplaceDrawTest.cpp +++ b/tests/RecordReplaceDrawTest.cpp @@ -125,7 +125,7 @@ void test_replacements(skiatest::Reporter* r, GrContext* context, bool doReplace desc.fSampleCnt = 0; texture.reset(context->textureProvider()->createTexture(desc, false, nullptr, 0)); - layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight)); + layer->setTexture(texture, SkIRect::MakeWH(kWidth, kHeight), false); } SkRecord rerecord; |