Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp30 sk_sp<GrVkImage> resolveAttachment, in GrVkTextureRenderTarget() argument
35 std::move(resolveAttachment), CreateType::kFromTextureRT) { in GrVkTextureRenderTarget()
44 sk_sp<GrVkImage> resolveAttachment, in GrVkTextureRenderTarget() argument
50 std::move(resolveAttachment), CreateType::kFromTextureRT) { in GrVkTextureRenderTarget()
58 sk_sp<GrVkImage>* resolveAttachment) { in create_rt_attachments() argument
68 *resolveAttachment = std::move(texture); in create_rt_attachments()
97 sk_sp<GrVkImage> resolveAttachment; in MakeNewTextureRenderTarget() local
99 &colorAttachment, &resolveAttachment)) { in MakeNewTextureRenderTarget()
103 SkASSERT(sampleCnt == 1 || resolveAttachment); in MakeNewTextureRenderTarget()
106 std::move(resolveAttachment), mipmapStatus)); in MakeNewTextureRenderTarget()
[all …]
DGrVkFramebuffer.cpp21 GrVkImage* 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<GrVkImage> resolveAttachment, in GrVkFramebuffer() argument
74 , fResolveAttachment(std::move(resolveAttachment)) in GrVkFramebuffer()
DGrVkFramebuffer.h29 GrVkImage* resolveAttachment,
74 GrVkImage* resolveAttachment() { return fResolveAttachment.get(); } in resolveAttachment() function
81 sk_sp<GrVkImage> resolveAttachment,
DGrVkTextureRenderTarget.h69 sk_sp<GrVkImage> resolveAttachment,
76 sk_sp<GrVkImage> resolveAttachment,
DGrVkOpsRenderPass.cpp94 GrVkImage* resolveAttachment = fFramebuffer->resolveAttachment(); in setAttachmentLayouts() local
95 SkASSERT(resolveAttachment); in setAttachmentLayouts()
97 resolveAttachment->setImageLayout(fGpu, in setAttachmentLayouts()
103 resolveAttachment->setImageLayout( in setAttachmentLayouts()
298 fFramebuffer->colorAttachment(), fFramebuffer->resolveAttachment(), in loadResolveIntoMSAA()
307 SkASSERT(fFramebuffer->resolveAttachment()); in loadResolveIntoMSAA()
308 fFramebuffer->resolveAttachment()->updateImageLayout(VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL); in loadResolveIntoMSAA()
529 bool withResolve = fFramebuffer->resolveAttachment(); in addAdditionalRenderPass()
DGrVkRenderTarget.cpp54 sk_sp<GrVkImage> resolveAttachment, in GrVkRenderTarget() argument
62 , fResolveAttachment(std::move(resolveAttachment)) in GrVkRenderTarget()
67 SkASSERT(!resolveAttachment); in GrVkRenderTarget()
74 SkASSERT(!resolveAttachment || in GrVkRenderTarget()
362 GrVkImage* resolve = withResolve ? this->resolveAttachment() : nullptr; in createFramebuffer()
DGrVkRenderTarget.h64 GrVkImage* resolveAttachment() const { in resolveAttachment() function
DGrVkCaps.cpp1647 return rt->resolveAttachment() && in renderTargetSupportsDiscardableMSAA()
1648 rt->resolveAttachment()->supportsInputAttachmentUsage() && in renderTargetSupportsDiscardableMSAA()
1857 SkASSERT(!needsResolve || (vkRT->resolveAttachment() && in makeDesc()
1858 vkRT->resolveAttachment()->supportsInputAttachmentUsage())); in makeDesc()
DGrVkGpu.cpp326 vkRT->resolveAttachment() && in onGetOpsRenderPass()
327 vkRT->resolveAttachment()->supportsInputAttachmentUsage())); in onGetOpsRenderPass()
2319 dstImage = vkRT->resolveAttachment(); in onCopySurface()
2336 srcImage = vkRT->resolveAttachment(); in onCopySurface()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImageView.cpp223 void ImageView::resolve(ImageView *resolveAttachment, int layer) in resolve() argument
225 if((subresourceRange.levelCount != 1) || (resolveAttachment->subresourceRange.levelCount != 1)) in resolve()
241 resolveAttachment->subresourceRange.aspectMask, in resolve()
242 resolveAttachment->subresourceRange.baseMipLevel, in resolve()
243 resolveAttachment->subresourceRange.baseArrayLayer + layer, in resolve()
250 image->resolveTo(resolveAttachment->image, region); in resolve()
253 void ImageView::resolve(ImageView *resolveAttachment) in resolve() argument
255 if((subresourceRange.levelCount != 1) || (resolveAttachment->subresourceRange.levelCount != 1)) in resolve()
271 resolveAttachment->subresourceRange.aspectMask, in resolve()
272 resolveAttachment->subresourceRange.baseMipLevel, in resolve()
[all …]
DVkImageView.hpp98 void resolve(ImageView *resolveAttachment);
99 void resolve(ImageView *resolveAttachment, int layer);
100 void resolveWithLayerMask(ImageView *resolveAttachment, uint32_t layerMask);
101 …void resolveDepthStencil(ImageView *resolveAttachment, const VkSubpassDescriptionDepthStencilResol…
DVkFramebuffer.cpp205 uint32_t resolveAttachment = subpass.pResolveAttachments[i].attachment; in resolve() local
206 if(resolveAttachment != VK_ATTACHMENT_UNUSED) in resolve()
211 imageView->resolveWithLayerMask(attachments[resolveAttachment], in resolve()
216 imageView->resolve(attachments[resolveAttachment]); in resolve()
/third_party/skia/src/gpu/mtl/
DGrMtlTextureRenderTarget.mm25 sk_sp<GrMtlAttachment> resolveAttachment,
30 std::move(resolveAttachment)) {
38 sk_sp<GrMtlAttachment> resolveAttachment,
44 std::move(resolveAttachment)) {
50 sk_sp<GrMtlAttachment>* resolveAttachment) {
61 *resolveAttachment = std::move(texture);
88 sk_sp<GrMtlAttachment> resolveAttachment;
90 &colorAttachment, &resolveAttachment)) {
94 SkASSERT(sampleCnt == 1 || resolveAttachment);
98 std::move(resolveAttachment), mipmapStatus));
[all …]
DGrMtlFramebuffer.mm14 GrMtlAttachment* resolveAttachment,
19 auto fb = new GrMtlFramebuffer(sk_ref_sp(colorAttachment), sk_ref_sp(resolveAttachment),
25 sk_sp<GrMtlAttachment> resolveAttachment,
28 , fResolveAttachment(std::move(resolveAttachment))
DGrMtlFramebuffer.h20 GrMtlAttachment* resolveAttachment,
24 GrMtlAttachment* resolveAttachment() { return fResolveAttachment.get(); } in resolveAttachment() function
29 sk_sp<GrMtlAttachment> resolveAttachment,
DGrMtlRenderTarget.h40 GrMtlAttachment* resolveAttachment() const { return fResolveAttachment.get(); } in resolveAttachment() function
64 sk_sp<GrMtlAttachment> resolveAttachment);
83 sk_sp<GrMtlAttachment> resolveAttachment,
DGrMtlRenderTarget.mm26 sk_sp<GrMtlAttachment> resolveAttachment,
31 , fResolveAttachment(std::move(resolveAttachment)) {
39 sk_sp<GrMtlAttachment> resolveAttachment)
43 , fResolveAttachment(std::move(resolveAttachment)) {
130 GrMtlAttachment* resolve = withResolve ? this->resolveAttachment() : nullptr;
DGrMtlTextureRenderTarget.h50 sk_sp<GrMtlAttachment> resolveAttachment,
57 sk_sp<GrMtlAttachment> resolveAttachment,
DGrMtlGpu.h226 void resolve(GrMtlAttachment* resolveAttachment, GrMtlAttachment* msaaAttachment);
DGrMtlGpu.mm1258 dstAttachment = mtlRT->resolveAttachment();
1275 srcAttachment = mtlRT->resolveAttachment();
1598 if (rt->resolveAttachment() && this->mtlCaps().renderTargetSupportsDiscardableMSAA(rt)) {
1603 this->resolve(static_cast<GrMtlRenderTarget*>(target)->resolveAttachment(),
1607 void GrMtlGpu::resolve(GrMtlAttachment* resolveAttachment,
1612 colorAttachment.resolveTexture = resolveAttachment->mtlTexture();
1620 this->commandBuffer()->addGrSurface(sk_ref_sp<const GrSurface>(resolveAttachment));
DGrMtlCaps.mm980 if (mtlRT->numSamples() > 1 && !mtlRT->resolveAttachment()) {
1183 return rt->resolveAttachment() &&
1184 !rt->resolveAttachment()->framebufferOnly() &&
DGrMtlUtil.mm250 if (renderTarget->resolveAttachment()) {
DGrMtlOpsRenderPass.mm299 auto resolve = fFramebuffer->resolveAttachment();
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp925 const AttachmentReference& resolveAttachment = resolveAttachments[resolveNdx]; in logRenderPassInfo() local
927 …log << TestLog::Message << "Attachment: " << resolveAttachment.getAttachment() << TestLog::EndMess… in logRenderPassInfo()
928 …log << TestLog::Message << "Layout: " << resolveAttachment.getImageLayout() << TestLog::EndMessage; in logRenderPassInfo()