Home
last modified time | relevance | path

Searched refs:resolveAttachment (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp30 sk_sp<GrVkAttachment> resolveAttachment, in GrVkTextureRenderTarget() argument
35 std::move(resolveAttachment), CreateType::kFromTextureRT) { in GrVkTextureRenderTarget()
44 sk_sp<GrVkAttachment> resolveAttachment, in GrVkTextureRenderTarget() argument
50 std::move(resolveAttachment), CreateType::kFromTextureRT) { in GrVkTextureRenderTarget()
57 sk_sp<GrVkAttachment>* resolveAttachment) { in create_rt_attachments() argument
67 *resolveAttachment = std::move(texture); in create_rt_attachments()
91 sk_sp<GrVkAttachment> resolveAttachment; in MakeNewTextureRenderTarget() local
93 &colorAttachment, &resolveAttachment)) { in MakeNewTextureRenderTarget()
97 SkASSERT(sampleCnt == 1 || resolveAttachment); in MakeNewTextureRenderTarget()
100 std::move(resolveAttachment), mipmapStatus)); in MakeNewTextureRenderTarget()
[all …]
DGrVkFramebuffer.cpp21 GrVkAttachment* resolveAttachment, in Make() argument
31 if (resolveAttachment) { in Make()
32 attachments[numAttachments++] = resolveAttachment->framebufferView()->imageView(); in Make()
59 sk_ref_sp(resolveAttachment), sk_ref_sp(stencilAttachment), in Make()
67 sk_sp<GrVkAttachment> resolveAttachment, in GrVkFramebuffer() argument
74 , fResolveAttachment(std::move(resolveAttachment)) in GrVkFramebuffer()
DGrVkFramebuffer.h27 GrVkAttachment* resolveAttachment,
71 GrVkAttachment* resolveAttachment() { return fResolveAttachment.get(); } in resolveAttachment() function
78 sk_sp<GrVkAttachment> resolveAttachment,
DGrVkTextureRenderTarget.h69 sk_sp<GrVkAttachment> resolveAttachment,
76 sk_sp<GrVkAttachment> resolveAttachment,
DGrVkOpsRenderPass.cpp93 GrVkAttachment* resolveAttachment = fFramebuffer->resolveAttachment(); in setAttachmentLayouts() local
94 SkASSERT(resolveAttachment); in setAttachmentLayouts()
96 resolveAttachment->setImageLayout(fGpu, in setAttachmentLayouts()
102 resolveAttachment->setImageLayout( in setAttachmentLayouts()
297 fFramebuffer->colorAttachment(), fFramebuffer->resolveAttachment(), in loadResolveIntoMSAA()
306 SkASSERT(fFramebuffer->resolveAttachment()); in loadResolveIntoMSAA()
307 fFramebuffer->resolveAttachment()->updateImageLayout(VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); in loadResolveIntoMSAA()
528 bool withResolve = fFramebuffer->resolveAttachment(); in addAdditionalRenderPass()
DGrVkRenderTarget.h65 GrVkAttachment* resolveAttachment() const { in resolveAttachment() function
134 sk_sp<GrVkAttachment> resolveAttachment,
DGrVkRenderTarget.cpp55 sk_sp<GrVkAttachment> resolveAttachment, in GrVkRenderTarget() argument
63 , fResolveAttachment(std::move(resolveAttachment)) in GrVkRenderTarget()
66 SkASSERT(!resolveAttachment || in GrVkRenderTarget()
323 GrVkAttachment* resolve = withResolve ? this->resolveAttachment() : nullptr; in createFramebuffer()
DGrVkGpu.cpp325 (this->vkCaps().preferDiscardableMSAAAttachment() && vkRT->resolveAttachment() && in onGetOpsRenderPass()
326 vkRT->resolveAttachment()->supportsInputAttachmentUsage()))); in onGetOpsRenderPass()
346 vkRT->resolveAttachment() && vkRT->resolveAttachment()->supportsInputAttachmentUsage()) { in onGetOpsRenderPass()
722 if (this->vkCaps().preferDiscardableMSAAAttachment() && rt->resolveAttachment() && in onResolveRenderTarget()
723 rt->resolveAttachment()->supportsInputAttachmentUsage()) { in onResolveRenderTarget()
2278 if (useDiscardableMSAA && vkRT->resolveAttachment() && in onCopySurface()
2279 vkRT->resolveAttachment()->supportsInputAttachmentUsage()) { in onCopySurface()
2280 dstImage = vkRT->resolveAttachment(); in onCopySurface()
2293 if (useDiscardableMSAA && vkRT->resolveAttachment() && in onCopySurface()
2294 vkRT->resolveAttachment()->supportsInputAttachmentUsage()) { in onCopySurface()
[all …]
DGrVkCaps.cpp1828 SkASSERT(!needsResolve || (vkRT->resolveAttachment() && in makeDesc()
1829 vkRT->resolveAttachment()->supportsInputAttachmentUsage())); in makeDesc()
/external/swiftshader/src/Vulkan/
DVkImageView.cpp199 void ImageView::resolve(ImageView *resolveAttachment, int layer) in resolve() argument
201 if((subresourceRange.levelCount != 1) || (resolveAttachment->subresourceRange.levelCount != 1)) in resolve()
215 resolveAttachment->subresourceRange.aspectMask, in resolve()
216 resolveAttachment->subresourceRange.baseMipLevel, in resolve()
217 resolveAttachment->subresourceRange.baseArrayLayer + layer, in resolve()
224 image->resolveTo(resolveAttachment->image, region); in resolve()
227 void ImageView::resolve(ImageView *resolveAttachment) in resolve() argument
229 if((subresourceRange.levelCount != 1) || (resolveAttachment->subresourceRange.levelCount != 1)) in resolve()
243 resolveAttachment->subresourceRange.aspectMask, in resolve()
244 resolveAttachment->subresourceRange.baseMipLevel, in resolve()
[all …]
DVkImageView.hpp79 void resolve(ImageView *resolveAttachment);
80 void resolve(ImageView *resolveAttachment, int layer);
81 void resolveWithLayerMask(ImageView *resolveAttachment, uint32_t layerMask);
82 …void resolveDepthStencil(ImageView *resolveAttachment, const VkSubpassDescriptionDepthStencilResol…
DVkFramebuffer.cpp170 uint32_t resolveAttachment = subpass.pResolveAttachments[i].attachment; in resolve() local
171 if(resolveAttachment != VK_ATTACHMENT_UNUSED) in resolve()
176 imageView->resolveWithLayerMask(attachments[resolveAttachment], in resolve()
181 imageView->resolve(attachments[resolveAttachment]); in resolve()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolve.cpp151 …const VkAttachmentReference* resolveAttachment = m_imageMSParams.numSamples == VK_SAMPLE_COUNT_1_B… in iterate() local
161 resolveAttachment, // const VkAttachmentReference* pResolveAttachments; in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp955 const AttachmentReference& resolveAttachment = resolveAttachments[resolveNdx]; in logRenderPassInfo() local
957 …log << TestLog::Message << "Attachment: " << resolveAttachment.getAttachment() << TestLog::EndMess… in logRenderPassInfo()
958 …log << TestLog::Message << "Layout: " << resolveAttachment.getImageLayout() << TestLog::EndMessage; in logRenderPassInfo()