From 65c7f662ba4ec1c78dc5fc67b184ee9c7b614f55 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Mon, 30 Oct 2017 13:39:09 -0400 Subject: Add mip support to GrAHardwareBufferImageGenerator Bug: skia: Change-Id: I482d8f9937c86ed441016afef2d8f924282dd17a Reviewed-on: https://skia-review.googlesource.com/63861 Reviewed-by: Brian Osman Commit-Queue: Greg Daniel --- tests/GrSurfaceTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/GrSurfaceTest.cpp') diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp index e5dc6ae824..eff8c2584e 100644 --- a/tests/GrSurfaceTest.cpp +++ b/tests/GrSurfaceTest.cpp @@ -212,7 +212,8 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(InitialTextureClear, reporter, context_info) // Try creating the texture as a deferred proxy. for (int i = 0; i < 2; ++i) { auto surfCtx = context->contextPriv().makeDeferredSurfaceContext( - desc, approx ? SkBackingFit::kApprox : SkBackingFit::kExact, + desc, GrMipMapped::kNo, + approx ? SkBackingFit::kApprox : SkBackingFit::kExact, SkBudgeted::kYes); if (!surfCtx) { continue; -- cgit v1.2.3