Lines Matching refs:backendTex
33 GrBackendTexture backendTex = gpu->createTestingOnlyBackendTexture(nullptr, 1, 1, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
37 REPORTER_ASSERT(reporter, backendTex.isValid()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
40 REPORTER_ASSERT(reporter, backendTex.getVkImageInfo(&info)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
45 GrBackendTexture backendTexCopy = backendTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
51 REPORTER_ASSERT(reporter, backendTex.getVkImageInfo(&info)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
58 backendTex.setVkImageLayout(initLayout); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
60 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(context, backendTex, in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
77 REPORTER_ASSERT(reporter, backendTex.getVkImageInfo(&info)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
90 REPORTER_ASSERT(reporter, backendTex.getVkImageInfo(&info)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
102 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex, backendTexCopy)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
112 invalidTexture = backendTex; in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
114 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex)); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
120 gpu->deleteTestingOnlyBackendTexture(backendTex); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()