Index: tests/VkWrapTests.cpp |
diff --git a/tests/VkWrapTests.cpp b/tests/VkWrapTests.cpp |
index 852597edc07782e8c1ac2e2f89c68115decf203d..fb434a2f26a4a9774af9a25adb443e933c2b4706 100644 |
--- a/tests/VkWrapTests.cpp |
+++ b/tests/VkWrapTests.cpp |
@@ -29,7 +29,8 @@ void wrap_tex_test(skiatest::Reporter* reporter, GrContext* context) { |
GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); |
- GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig); |
+ GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, |
+ false); |
const GrVkImageInfo* backendTex = reinterpret_cast<const GrVkImageInfo*>(backendObj); |
// check basic borrowed creation |
@@ -71,7 +72,8 @@ void wrap_tex_test(skiatest::Reporter* reporter, GrContext* context) { |
void wrap_rt_test(skiatest::Reporter* reporter, GrContext* context) { |
GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); |
- GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig); |
+ GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, |
+ true); |
const GrVkImageInfo* backendTex = reinterpret_cast<const GrVkImageInfo*>(backendObj); |
// check basic borrowed creation |
@@ -118,7 +120,8 @@ void wrap_rt_test(skiatest::Reporter* reporter, GrContext* context) { |
void wrap_trt_test(skiatest::Reporter* reporter, GrContext* context) { |
GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); |
- GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig); |
+ GrBackendObject backendObj = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, kPixelConfig, |
+ true); |
const GrVkImageInfo* backendTex = reinterpret_cast<const GrVkImageInfo*>(backendObj); |
// check basic borrowed creation |