Lines Matching refs:reporter
33 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkDRMModifierTest, reporter, ctxInfo) {
45 ERRORF(reporter, "Could not create backend texture.");
50 REPORTER_ASSERT(reporter, mbet->texture().getVkImageInfo(&info));
59 REPORTER_ASSERT(reporter, drmFormat == drmBETex.getBackendFormat());
60 REPORTER_ASSERT(reporter, drmBETex.textureType() == GrTextureType::kExternal);
69 REPORTER_ASSERT(reporter, drmImage);
71 REPORTER_ASSERT(reporter,
75 REPORTER_ASSERT(reporter, view);
77 REPORTER_ASSERT(reporter, proxy);
79 REPORTER_ASSERT(reporter, proxy->readOnly());
82 REPORTER_ASSERT(reporter, surf);
83 REPORTER_ASSERT(reporter, surf->readOnly());
88 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkImageLayoutTest, reporter, ctxInfo) {
94 ERRORF(reporter, "Could not create backend texture.");
99 REPORTER_ASSERT(reporter, mbet->texture().getVkImageInfo(&info));
106 REPORTER_ASSERT(reporter, backendTex2.getVkImageInfo(&info));
107 REPORTER_ASSERT(reporter, initLayout == info.fImageLayout);
111 REPORTER_ASSERT(reporter, backendTex1.getVkImageInfo(&info));
112 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == info.fImageLayout);
114 REPORTER_ASSERT(reporter, backendTex2.getVkImageInfo(&info));
115 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == info.fImageLayout);
129 REPORTER_ASSERT(reporter, wrappedImage.get());
132 REPORTER_ASSERT(reporter, proxy);
133 REPORTER_ASSERT(reporter, proxy->isInstantiated());
135 REPORTER_ASSERT(reporter, texture);
139 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout());
142 REPORTER_ASSERT(reporter, backendTex1.getVkImageInfo(&info));
143 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == info.fImageLayout);
146 REPORTER_ASSERT(reporter, backendTexImage.getVkImageInfo(&info));
147 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == info.fImageLayout);
151 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == vkTexture->currentLayout());
155 REPORTER_ASSERT(reporter, backendTex1.getVkImageInfo(&info));
156 REPORTER_ASSERT(reporter, initLayout == info.fImageLayout);
158 REPORTER_ASSERT(reporter, backendTex2.getVkImageInfo(&info));
159 REPORTER_ASSERT(reporter, initLayout == info.fImageLayout);
161 REPORTER_ASSERT(reporter, backendTexImage.getVkImageInfo(&info));
162 REPORTER_ASSERT(reporter, initLayout == info.fImageLayout);
167 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(backendTex1, backendTex2));
170 REPORTER_ASSERT(reporter, !invalidTexture.isValid());
171 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2));
174 REPORTER_ASSERT(reporter, !backendTex2.isValid());
175 REPORTER_ASSERT(reporter, !GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex2));
178 REPORTER_ASSERT(reporter, invalidTexture.isValid());
179 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, backendTex1));
182 REPORTER_ASSERT(reporter, invalidTexture.isValid());
183 REPORTER_ASSERT(reporter, GrBackendTexture::TestingOnly_Equals(invalidTexture, invalidTexture));
191 DEF_GPUTEST_FOR_VULKAN_CONTEXT(VkTransitionExternalQueueTest, reporter, ctxInfo) {
213 REPORTER_ASSERT(reporter, vkExtTex.isValid());
223 REPORTER_ASSERT(reporter, texture);
234 REPORTER_ASSERT(reporter, newBackendTexture.getVkImageInfo(&newVkInfo));
235 REPORTER_ASSERT(reporter, newVkInfo.fCurrentQueueFamily == vkGpu->queueIndex());