commit | dd8b2ea5a60fc0106e530d0e047a44de89b0cb4a | [log] [tgz] |
---|---|---|
author | Kevin Lubick <kjlubick@google.com> | Fri Mar 17 19:55:58 2023 +0000 |
committer | Kevin Lubick <kjlubick@google.com> | Mon Mar 27 15:03:59 2023 +0000 |
tree | c30a55a82b239184546ee78467695792dc3f6c72 | |
parent | f8827b1ad06818d3c984388a6e2a56e0a0549cf4 [diff] [blame] |
Migrate SkImage static methods to SkImages namespace Will need to land after https://skia-review.googlesource.com/c/skia/+/648297 lands and rolls Change-Id: Ie2ecb8f74dd52fcdd35e7cf9c311e8ed94781a07 Bug: skbug.com/13983
diff --git a/libs/hwui/tests/unit/AutoBackendTextureReleaseTests.cpp b/libs/hwui/tests/unit/AutoBackendTextureReleaseTests.cpp index 138b3efd..b8b3f0a 100644 --- a/libs/hwui/tests/unit/AutoBackendTextureReleaseTests.cpp +++ b/libs/hwui/tests/unit/AutoBackendTextureReleaseTests.cpp
@@ -46,7 +46,7 @@ EXPECT_EQ(1, TestUtils::getUsageCount(textureRelease)); - // SkImage::MakeFromTexture should fail if given null GrDirectContext. + // SkImages::BorrowTextureFrom should fail if given null GrDirectContext. textureRelease->makeImage(buffer, HAL_DATASPACE_UNKNOWN, /*context = */ nullptr); EXPECT_EQ(1, TestUtils::getUsageCount(textureRelease));