Home
last modified time | relevance | path

Searched refs:vkTexture (Results 1 – 8 of 8) sorted by relevance

/external/skqp/tests/
DVkBackendSurfaceTest.cpp73 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
74 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
75 vkTexture->updateImageLayout(VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
86 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
88 vkTexture->updateImageLayout(initLayout); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/skia/tests/
DBackendSurfaceMutableStateTest.cpp73 GrVkAttachment* vkTexture = static_cast<GrVkTexture*>(texture)->textureAttachment(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
74 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
75 REPORTER_ASSERT(reporter, initQueue == vkTexture->currentQueueFamilyIndex()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
76 vkTexture->updateImageLayout(VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
90 VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
93 vkTexture->setQueueFamilyIndex(initQueue); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
94 vkTexture->updateImageLayout(initLayout); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DVkBackendSurfaceTest.cpp83 GrVkAttachment* vkTexture = static_cast<GrVkTexture*>(texture)->textureAttachment(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
84 REPORTER_ASSERT(reporter, initLayout == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
85 vkTexture->updateImageLayout(VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
96 REPORTER_ASSERT(reporter, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == vkTexture->currentLayout()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
98 vkTexture->updateImageLayout(initLayout); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
/external/skqp/src/gpu/vk/
DGrVkGpuCommandBuffer.cpp718 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in onDraw() local
720 GrVkRenderTarget* texRT = static_cast<GrVkRenderTarget*>(vkTexture->asRenderTarget()); in onDraw()
727 (vkTexture->width() != 1 || vkTexture->height() != 1)) { in onDraw()
728 SkASSERT(vkTexture->texturePriv().mipMapped() == GrMipMapped::kYes); in onDraw()
729 if (vkTexture->texturePriv().mipMapsAreDirty()) { in onDraw()
730 fGpu->regenerateMipMapLevels(vkTexture); in onDraw()
733 cbInfo.fSampledImages.push_back(vkTexture); in onDraw()
DGrVkUniformHandler.cpp287 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture); in addSampler() local
288 if (vkTexture->ycbcrConversionInfo().isValid()) { in addSampler()
292 state, vkTexture->ycbcrConversionInfo()); in addSampler()
DGrVkGpu.cpp2372 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in prepareTextureForCrossContextUsage() local
2373 vkTexture->setImageLayout(this, in prepareTextureForCrossContextUsage()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp1582 Move<VkImage> vkTexture; in createSamplerUniform() local
1614 vkTexture = createImage(vk, vkDevice, &imageParams); in createSamplerUniform()
1615 …allocation = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *vkTexture), MemoryRequ… in createSamplerUniform()
1619 …VK_CHECK(vk.bindImageMemory(vkDevice, *vkTexture, allocation->getMemory(), allocation->getOffset()… in createSamplerUniform()
1631 …uploadSparseImage(texFormat, textureData, refSampler, mipLevels, arrayLayers, *vkTexture, imagePar… in createSamplerUniform()
1636 uploadImage(texFormat, textureData, refSampler, mipLevels, arrayLayers, *vkTexture); in createSamplerUniform()
1641 clearImage(refSampler, mipLevels, arrayLayers, *vkTexture); in createSamplerUniform()
1660 *vkTexture, // VkImage image; in createSamplerUniform()
1686 uniform->image = VkImageSp(new vk::Unique<VkImage>(vkTexture)); in createSamplerUniform()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp2577 GrVkAttachment* vkTexture = static_cast<GrVkTexture*>(texture)->textureAttachment(); in prepareTextureForCrossContextUsage() local
2578 vkTexture->setImageLayout(this, in prepareTextureForCrossContextUsage()