Skip to content

Commit

Permalink
Restore mipmap usage in yuv420_odd_dim_repeat.
Browse files Browse the repository at this point in the history
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 <michaelludwig@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
  • Loading branch information
jvanverth authored and SkCQ committed Apr 5, 2024
1 parent d0f2291 commit d1d5ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gm/yuv420_odd_dim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d1d5ae7

Please sign in to comment.