25 auto recorder = context->makeRecorder();
27 bool isProtected = context->priv().caps()->protectedSupport();
38 auto beTexture = recorder->createBackendTexture(
kSize, textureInfo);
40 recorder->deleteBackendTexture(beTexture);
44 beTexture = recorder->createBackendTexture(
kSize, textureInfo);
46 recorder->deleteBackendTexture(beTexture);
52 auto recorder = context->makeRecorder();
54 bool isProtected = context->priv().caps()->protectedSupport();
73 beTexture2 = beTexture;
78 reporter, beTexture2.getVkQueueFamilyIndex() == beTexture.getVkQueueFamilyIndex());
80 recorder->deleteBackendTexture(beTexture);
#define REPORTER_ASSERT(r, cond,...)
DEF_GRAPHITE_TEST_FOR_VULKAN_CONTEXT(VulkanBackendTextureSimpleCreationTest, reporter, context, CtsEnforcement::kNextRelease)
VkSharingMode fSharingMode
VkImageCreateFlags fFlags
VkImageUsageFlags fImageUsageFlags
VkImageTiling fImageTiling
@ VK_IMAGE_LAYOUT_UNDEFINED
@ VK_SHARING_MODE_EXCLUSIVE
@ VK_IMAGE_CREATE_PROTECTED_BIT
@ VK_IMAGE_TILING_OPTIMAL
@ VK_IMAGE_USAGE_SAMPLED_BIT
@ VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT
@ VK_FORMAT_R8G8B8A8_UNORM