Searched refs:vkTexture (Results 1 – 9 of 9) sorted by relevance
/external/skqp/tests/ |
D | VkBackendSurfaceTest.cpp | 73 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/ |
D | VkBackendSurfaceTest.cpp | 73 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/skqp/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 718 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()
|
D | GrVkUniformHandler.cpp | 287 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture); in addSampler() local 288 if (vkTexture->ycbcrConversionInfo().isValid()) { in addSampler() 292 state, vkTexture->ycbcrConversionInfo()); in addSampler()
|
D | GrVkGpu.cpp | 2363 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in prepareTextureForCrossContextUsage() local 2364 vkTexture->setImageLayout(this, in prepareTextureForCrossContextUsage()
|
/external/skia/src/gpu/vk/ |
D | GrVkGpuCommandBuffer.cpp | 712 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in onDraw() local 714 GrVkRenderTarget* texRT = static_cast<GrVkRenderTarget*>(vkTexture->asRenderTarget()); in onDraw() 721 (vkTexture->width() != 1 || vkTexture->height() != 1)) { in onDraw() 722 SkASSERT(vkTexture->texturePriv().mipMapped() == GrMipMapped::kYes); in onDraw() 723 if (vkTexture->texturePriv().mipMapsAreDirty()) { in onDraw() 724 fGpu->regenerateMipMapLevels(vkTexture); in onDraw() 727 cbInfo.fSampledTextures.push_back(sk_ref_sp(vkTexture)); in onDraw()
|
D | GrVkUniformHandler.cpp | 282 const GrVkTexture* vkTexture = static_cast<const GrVkTexture*>(texture); in addSampler() local 283 if (vkTexture->ycbcrConversionInfo().isValid()) { in addSampler() 287 state, vkTexture->ycbcrConversionInfo()); in addSampler()
|
D | GrVkGpu.cpp | 2411 GrVkTexture* vkTexture = static_cast<GrVkTexture*>(texture); in prepareTextureForCrossContextUsage() local 2412 vkTexture->setImageLayout(this, in prepareTextureForCrossContextUsage()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 1564 Move<VkImage> vkTexture; in createSamplerUniform() local 1601 vkTexture = createImage(vk, vkDevice, &imageParams); in createSamplerUniform() 1602 …allocation = m_memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *vkTexture), MemoryRequ… in createSamplerUniform() 1606 …VK_CHECK(vk.bindImageMemory(vkDevice, *vkTexture, allocation->getMemory(), allocation->getOffset()… in createSamplerUniform() 1618 …uploadSparseImage(texFormat, textureData, refSampler, mipLevels, arrayLayers, *vkTexture, imagePar… in createSamplerUniform() 1623 uploadImage(texFormat, textureData, refSampler, mipLevels, arrayLayers, *vkTexture); in createSamplerUniform() 1628 clearImage(refSampler, mipLevels, arrayLayers, *vkTexture); in createSamplerUniform() 1644 *vkTexture, // VkImage image; in createSamplerUniform() 1670 uniform->image = VkImageSp(new vk::Unique<VkImage>(vkTexture)); in createSamplerUniform()
|