From d1d5ae78484df4110a3ffcd4df07ff262fb17bf1 Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Fri, 5 Apr 2024 16:10:20 -0400 Subject: [PATCH] Restore mipmap usage in yuv420_odd_dim_repeat. When switching to use LazyYUVImage for this GM I inadvertantly removed the mipmapped flag. Change-Id: I9d9f437d5697872e8d68ad74e0228643f7a45e77 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/836937 Reviewed-by: Michael Ludwig Commit-Queue: Michael Ludwig Auto-Submit: Jim Van Verth Commit-Queue: Jim Van Verth --- gm/yuv420_odd_dim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gm/yuv420_odd_dim.cpp b/gm/yuv420_odd_dim.cpp index 64bb191c67a6..34e0097b8361 100644 --- a/gm/yuv420_odd_dim.cpp +++ b/gm/yuv420_odd_dim.cpp @@ -139,7 +139,7 @@ DEF_SIMPLE_GM_CAN_FAIL(yuv420_odd_dim_repeat, canvas, errMsg, planes[i]->peekPixels(&pixmaps[i]); } auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); - auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(yuvaPixmaps); + auto lazyYUV = sk_gpu_test::LazyYUVImage::Make(yuvaPixmaps, skgpu::Mipmapped::kYes); #if defined(SK_GRAPHITE) if (recorder) {