diff --git a/tests/VkClearTests.cpp b/tests/VkClearTests.cpp index 60e7981528..586d7e7728 100644 --- a/tests/VkClearTests.cpp +++ b/tests/VkClearTests.cpp @@ -58,7 +58,7 @@ void basic_clear_test(skiatest::Reporter* reporter, GrContext* context, GrPixelC surfDesc.fHeight = 5; surfDesc.fConfig = config; surfDesc.fSampleCnt = 0; - GrTexture* tex = gpu->createTexture(surfDesc, false, nullptr, 0); + GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo, nullptr, 0); SkASSERT(tex); SkASSERT(tex->asRenderTarget()); SkIRect rect = SkIRect::MakeWH(5, 5); @@ -113,7 +113,7 @@ void sub_clear_test(skiatest::Reporter* reporter, GrContext* context, GrPixelCon surfDesc.fHeight = height; surfDesc.fConfig = config; surfDesc.fSampleCnt = 0; - GrTexture* tex = gpu->createTexture(surfDesc, false, nullptr, 0); + GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo, nullptr, 0); SkASSERT(tex); SkASSERT(tex->asRenderTarget()); diff --git a/tests/VkUploadPixelsTests.cpp b/tests/VkUploadPixelsTests.cpp index 043ea45a81..9fc495265d 100644 --- a/tests/VkUploadPixelsTests.cpp +++ b/tests/VkUploadPixelsTests.cpp @@ -83,7 +83,7 @@ void basic_texture_test(skiatest::Reporter* reporter, GrContext* context, GrPixe surfDesc.fHeight = kHeight; surfDesc.fConfig = config; surfDesc.fSampleCnt = 0; - GrTexture* tex0 = gpu->createTexture(surfDesc, false, srcBuffer, 0); + GrTexture* tex0 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); if (tex0) { REPORTER_ASSERT(reporter, canCreate); gpu->readPixels(tex0, 0, 0, kWidth, kHeight, config, dstBuffer, 0); @@ -108,7 +108,7 @@ void basic_texture_test(skiatest::Reporter* reporter, GrContext* context, GrPixe } surfDesc.fOrigin = kBottomLeft_GrSurfaceOrigin; - GrTexture* tex1 = gpu->createTexture(surfDesc, false, srcBuffer, 0); + GrTexture* tex1 = gpu->createTexture(surfDesc, SkBudgeted::kNo, srcBuffer, 0); if (tex1) { REPORTER_ASSERT(reporter, canCreate); gpu->readPixels(tex1, 0, 0, kWidth, kHeight, config, dstBuffer, 0);