aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2018-07-25 08:52:32 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-25 16:21:56 +0000
commit01d6fc9d8415e400a7eac95518356ecf341aa5cb (patch)
treefa74c6fd9b339c71940eab424818f508e4d49c92 /tests
parentdf7bb17b1bbba7b956d9ffb464a790d039ef2c6a (diff)
Go back to cleaning up MIP levels on texture export rather than assuming dirty
on texture import. Bug: skia:8155 Change-Id: I23399f442d52c73906829132f798eda260b6d4ae Reviewed-on: https://skia-review.googlesource.com/143291 Auto-Submit: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/GrMipMappedTest.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/GrMipMappedTest.cpp b/tests/GrMipMappedTest.cpp
index ee4838d2ce..4c93714401 100644
--- a/tests/GrMipMappedTest.cpp
+++ b/tests/GrMipMappedTest.cpp
@@ -87,13 +87,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GrWrappedMipMappedTest, reporter, ctxInfo) {
if (isRT) {
REPORTER_ASSERT(reporter, texture->texturePriv().mipMapsAreDirty());
} else {
-#if 1
- // This is temporarily checks that the new image DOES have dirty MIP levels. See
- // comment in SkImage_Gpu.cpp, new_wrapped_texture_common().
- REPORTER_ASSERT(reporter, texture->texturePriv().mipMapsAreDirty());
-#else
REPORTER_ASSERT(reporter, !texture->texturePriv().mipMapsAreDirty());
-#endif
}
} else {
REPORTER_ASSERT(reporter, GrMipMapped::kNo == texture->texturePriv().mipMapped());