Home
last modified time | relevance | path

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

12

/third_party/skia/src/gpu/vk/
DGrVkResourceProvider.h64 using SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags;
65 using LoadFromResolve = GrVkRenderPass::LoadFromResolve;
71 const GrVkRenderPass* findCompatibleRenderPass(GrVkRenderTarget* target,
77 const GrVkRenderPass* findCompatibleRenderPass(GrVkRenderPass::AttachmentsDescriptor*,
78 GrVkRenderPass::AttachmentFlags,
83 const GrVkRenderPass* findCompatibleExternalRenderPass(VkRenderPass,
92 const GrVkRenderPass* findRenderPass(GrVkRenderTarget* target,
93 const GrVkRenderPass::LoadStoreOps& colorOps,
94 const GrVkRenderPass::LoadStoreOps& resolveOps,
95 const GrVkRenderPass::LoadStoreOps& stencilOps,
[all …]
DGrVkRenderPass.cpp16 typedef GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc AttachmentDesc;
48 GrVkRenderPass* GrVkRenderPass::CreateSimple(GrVkGpu* gpu, in CreateSimple()
53 static const GrVkRenderPass::LoadStoreOps kBasicLoadStoreOps(VK_ATTACHMENT_LOAD_OP_LOAD, in CreateSimple()
60 static const GrVkRenderPass::LoadStoreOps kDiscardLoadStoreOps( in CreateSimple()
69 GrVkRenderPass* GrVkRenderPass::Create(GrVkGpu* gpu, in Create()
70 const GrVkRenderPass& compatibleRenderPass, in Create()
82 GrVkRenderPass* GrVkRenderPass::Create(GrVkGpu* gpu, in Create()
315 return new GrVkRenderPass(gpu, renderPass, attachmentFlags, *attachmentsDescriptor, in Create()
319 GrVkRenderPass::GrVkRenderPass(const GrVkGpu* gpu, VkRenderPass renderPass, AttachmentFlags flags, in GrVkRenderPass() function in GrVkRenderPass
334 void GrVkRenderPass::freeGPUData() const { in freeGPUData()
[all …]
DGrVkResourceProvider.cpp110 const GrVkRenderPass*
119 GrVkRenderPass::AttachmentFlags attachmentFlags; in findCompatibleRenderPass()
120 GrVkRenderPass::AttachmentsDescriptor attachmentsDesc; in findCompatibleRenderPass()
127 const GrVkRenderPass*
128 GrVkResourceProvider::findCompatibleRenderPass(GrVkRenderPass::AttachmentsDescriptor* desc, in findCompatibleRenderPass()
129 GrVkRenderPass::AttachmentFlags attachmentFlags, in findCompatibleRenderPass()
136 const GrVkRenderPass* renderPass = fRenderPassArray[i].getCompatibleRenderPass(); in findCompatibleRenderPass()
145 GrVkRenderPass* renderPass = GrVkRenderPass::CreateSimple(fGpu, desc, attachmentFlags, in findCompatibleRenderPass()
158 const GrVkRenderPass* GrVkResourceProvider::findCompatibleExternalRenderPass( in findCompatibleExternalRenderPass()
172 const GrVkRenderPass* newRenderPass = new GrVkRenderPass(fGpu, renderPass, in findCompatibleExternalRenderPass()
[all …]
DGrVkFramebuffer.h21 class GrVkRenderPass; variable
27 sk_sp<const GrVkRenderPass> compatibleRenderPass,
36 sk_sp<const GrVkRenderPass> renderPass,
45 const GrVkRenderPass* externalRenderPass() const { return fExternalRenderPass.get(); } in externalRenderPass()
67 const GrVkRenderPass* compatibleRenderPass() const { return fCompatibleRenderPass.get(); } in compatibleRenderPass()
83 sk_sp<const GrVkRenderPass> compatibleRenderPass,
97 sk_sp<const GrVkRenderPass> fCompatibleRenderPass;
100 sk_sp<const GrVkRenderPass> fExternalRenderPass;
DGrVkRenderPass.h22 class GrVkRenderPass : public GrVkManagedResource {
43 explicit GrVkRenderPass(const GrVkGpu* gpu, VkRenderPass renderPass, in GrVkRenderPass() function
105 static GrVkRenderPass* CreateSimple(GrVkGpu*,
110 static GrVkRenderPass* Create(GrVkGpu*,
111 const GrVkRenderPass& compatibleRenderPass,
135 bool isCompatible(const GrVkRenderPass& renderPass) const;
176 GrVkRenderPass(const GrVkGpu*, VkRenderPass, AttachmentFlags, const AttachmentsDescriptor&,
180 static GrVkRenderPass* Create(GrVkGpu* gpu,
205 SK_MAKE_BITFIELD_OPS(GrVkRenderPass::AttachmentFlags)
206 GR_MAKE_BITFIELD_CLASS_OPS(GrVkRenderPass::SelfDependencyFlags)
DGrVkRenderTarget.cpp28 GrVkRenderPass::SelfDependencyFlags selfDepFlags, in renderpass_features_to_index()
29 GrVkRenderPass::LoadFromResolve loadFromReslove) { in renderpass_features_to_index()
37 if (selfDepFlags & GrVkRenderPass::SelfDependencyFlags::kForInputAttachment) { in renderpass_features_to_index()
40 if (selfDepFlags & GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend) { in renderpass_features_to_index()
43 if (loadFromReslove == GrVkRenderPass::LoadFromResolve::kLoad) { in renderpass_features_to_index()
156 const GrVkRenderPass* rp = gpu->resourceProvider().findCompatibleExternalRenderPass( in MakeSecondaryCBRenderTarget()
194 gpu, std::move(colorAttachment), sk_sp<const GrVkRenderPass>(rp), in MakeSecondaryCBRenderTarget()
295 const GrVkRenderPass* GrVkRenderTarget::getSimpleRenderPass(bool withResolve, in getSimpleRenderPass()
312 std::pair<const GrVkRenderPass*, GrVkResourceProvider::CompatibleRPHandle>
322 const GrVkRenderPass* renderPass = rp.findCompatibleRenderPass( in createSimpleRenderPass()
[all …]
DGrVkRenderTarget.h41 using SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags;
42 using LoadFromResolve = GrVkRenderPass::LoadFromResolve;
48 const GrVkFramebuffer* getFramebuffer(const GrVkRenderPass& renderPass) { in getFramebuffer()
85 const GrVkRenderPass* getSimpleRenderPass(
103 void getAttachmentsDescriptor(GrVkRenderPass::AttachmentsDescriptor* desc,
104 GrVkRenderPass::AttachmentFlags* flags,
113 GrVkRenderPass::AttachmentsDescriptor* desc,
114 GrVkRenderPass::AttachmentFlags* flags);
147 std::pair<const GrVkRenderPass*, GrVkResourceProvider::CompatibleRPHandle>
DGrVkOpsRenderPass.h42 GrVkRenderPass::SelfDependencyFlags selfDepFlags,
43 GrVkRenderPass::LoadFromResolve loadFromResolve,
96 using LoadFromResolve = GrVkRenderPass::LoadFromResolve;
106 using SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags;
110 const GrVkRenderPass* fCurrentRenderPass;
DGrVkCommandBuffer.h22 class GrVkRenderPass; variable
176 const GrVkRenderPass* fActiveRenderPass = nullptr;
217 const GrVkRenderPass*,
344 const GrVkRenderPass* externalRenderPass);
347 const GrVkRenderPass* compatibleRenderPass);
356 const GrVkRenderPass* externalRenderPass) in GrVkSecondaryCommandBuffer()
DGrVkMSAALoadManager.h21 class GrVkRenderPass; variable
32 const GrVkRenderPass& renderPass,
DGrVkFramebuffer.cpp19 sk_sp<const GrVkRenderPass> compatibleRenderPass, in Make()
69 sk_sp<const GrVkRenderPass> compatibleRenderPass, in GrVkFramebuffer()
83 sk_sp<const GrVkRenderPass> renderPass, in GrVkFramebuffer()
DGrVkOpsRenderPass.cpp229 GrVkRenderPass::LoadStoreOps vkColorOps(loadOp, storeOp); in init()
232 GrVkRenderPass::LoadStoreOps vkResolveOps(loadOp, storeOp); in init()
235 GrVkRenderPass::LoadStoreOps vkStencilOps(loadOp, storeOp); in init()
343 GrVkRenderPass::SelfDependencyFlags selfDepFlags, in set()
344 GrVkRenderPass::LoadFromResolve loadFromResolve, in set()
408 fSelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in reset()
539 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
541 GrVkRenderPass::LoadStoreOps vkResolveOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
548 GrVkRenderPass::LoadStoreOps vkStencilOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
DGrVkGpu.cpp330 GrVkRenderPass::SelfDependencyFlags selfDepFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in onGetOpsRenderPass()
332 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend; in onGetOpsRenderPass()
335 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForInputAttachment; in onGetOpsRenderPass()
344 GrVkRenderPass::LoadFromResolve loadFromResolve = GrVkRenderPass::LoadFromResolve::kNo; in onGetOpsRenderPass()
350 loadFromResolve = GrVkRenderPass::LoadFromResolve::kLoad; in onGetOpsRenderPass()
1392 const GrVkRenderPass& renderPass, in loadMSAAFromResolve()
1908 GrVkRenderPass::AttachmentsDescriptor attachmentsDescriptor; in compile()
1909 GrVkRenderPass::AttachmentFlags attachmentFlags; in compile()
1913 GrVkRenderPass::SelfDependencyFlags selfDepFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in compile()
1915 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend; in compile()
[all …]
DGrVkCaps.cpp1835 GrVkRenderPass::SelfDependencyFlags selfDepFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in makeDesc()
1837 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend; in makeDesc()
1840 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForInputAttachment; in makeDesc()
1849 GrVkRenderPass::LoadFromResolve loadFromResolve = GrVkRenderPass::LoadFromResolve::kNo; in makeDesc()
1851 loadFromResolve = GrVkRenderPass::LoadFromResolve::kLoad; in makeDesc()
1871 GrVkRenderPass::AttachmentsDescriptor attachmentsDescriptor; in makeDesc()
1872 GrVkRenderPass::AttachmentFlags attachmentFlags; in makeDesc()
1881 GrVkRenderPass::AttachmentsDescriptor attachmentsDescriptor; in makeDesc()
1882 GrVkRenderPass::AttachmentFlags attachmentFlags; in makeDesc()
1890 GrVkRenderPass::GenKey(&b, attachmentFlags, attachmentsDescriptor, selfDepFlags, in makeDesc()
DGrVkGpu.h33 class GrVkRenderPass; variable
140 const GrVkRenderPass& renderPass,
189 bool beginRenderPass(const GrVkRenderPass*,
/third_party/flutter/skia/src/gpu/vk/
DGrVkResourceProvider.h63 const GrVkRenderPass* findCompatibleRenderPass(const GrVkRenderTarget& target,
67 const GrVkRenderPass* findCompatibleRenderPass(const CompatibleRPHandle& compatibleHandle);
69 const GrVkRenderPass* findCompatibleExternalRenderPass(VkRenderPass,
76 const GrVkRenderPass* findRenderPass(const GrVkRenderTarget& target,
77 const GrVkRenderPass::LoadStoreOps& colorOps,
78 const GrVkRenderPass::LoadStoreOps& stencilOps,
83 const GrVkRenderPass* findRenderPass(const CompatibleRPHandle& compatibleHandle,
84 const GrVkRenderPass::LoadStoreOps& colorOps,
85 const GrVkRenderPass::LoadStoreOps& stencilOps);
241 GrVkRenderPass* getCompatibleRenderPass() const { in getCompatibleRenderPass()
[all …]
DGrVkRenderPass.cpp16 typedef GrVkRenderPass::AttachmentsDescriptor::AttachmentDesc AttachmentDesc;
45 void GrVkRenderPass::initSimple(const GrVkGpu* gpu, const GrVkRenderTarget& target) { in initSimple()
46 static const GrVkRenderPass::LoadStoreOps kBasicLoadStoreOps(VK_ATTACHMENT_LOAD_OP_LOAD, in initSimple()
52 void GrVkRenderPass::init(const GrVkGpu* gpu, in init()
147 void GrVkRenderPass::init(const GrVkGpu* gpu, in init()
148 const GrVkRenderPass& compatibleRenderPass, in init()
156 void GrVkRenderPass::init(const GrVkGpu* gpu, in init()
166 void GrVkRenderPass::freeGPUData(GrVkGpu* gpu) const { in freeGPUData()
172 bool GrVkRenderPass::colorAttachmentIndex(uint32_t* index) const { in colorAttachmentIndex()
183 bool GrVkRenderPass::stencilAttachmentIndex(uint32_t* index) const { in stencilAttachmentIndex()
[all …]
DGrVkRenderPass.h19 class GrVkRenderPass : public GrVkResource {
21 GrVkRenderPass() : INHERITED(), fRenderPass(VK_NULL_HANDLE), fClearValueCount(0) {} in GrVkRenderPass() function
25 explicit GrVkRenderPass(VkRenderPass renderPass, uint32_t colorAttachmentIndex) in GrVkRenderPass() function
56 const GrVkRenderPass& compatibleRenderPass,
110 bool isCompatible(const GrVkRenderPass& renderPass) const;
135 GrVkRenderPass(const GrVkRenderPass&);
156 GR_MAKE_BITFIELD_OPS(GrVkRenderPass::AttachmentFlags);
DGrVkResourceProvider.cpp112 const GrVkRenderPass*
117 const GrVkRenderPass* renderPass = fRenderPassArray[i].getCompatibleRenderPass(); in findCompatibleRenderPass()
126 const GrVkRenderPass* renderPass = in findCompatibleRenderPass()
136 const GrVkRenderPass*
140 const GrVkRenderPass* renderPass = fRenderPassArray[index].getCompatibleRenderPass(); in findCompatibleRenderPass()
145 const GrVkRenderPass* GrVkResourceProvider::findCompatibleExternalRenderPass( in findCompatibleExternalRenderPass()
159 const GrVkRenderPass* newRenderPass = new GrVkRenderPass(renderPass, colorAttachmentIndex); in findCompatibleExternalRenderPass()
165 const GrVkRenderPass* GrVkResourceProvider::findRenderPass( in findRenderPass()
167 const GrVkRenderPass::LoadStoreOps& colorOps, in findRenderPass()
168 const GrVkRenderPass::LoadStoreOps& stencilOps, in findRenderPass()
[all …]
DGrVkRenderTarget.h60 const GrVkRenderPass* simpleRenderPass() const { return fCachedSimpleRenderPass; } in simpleRenderPass()
65 const GrVkRenderPass* externalRenderPass() const { in externalRenderPass()
92 void getAttachmentsDescriptor(GrVkRenderPass::AttachmentsDescriptor* desc,
93 GrVkRenderPass::AttachmentFlags* flags) const;
160 const GrVkRenderPass* renderPass,
179 const GrVkRenderPass* fCachedSimpleRenderPass;
DGrVkFramebuffer.h17 class GrVkRenderPass; variable
23 const GrVkRenderPass* renderPass,
DGrVkCommandBuffer.h23 class GrVkRenderPass; variable
124 const GrVkRenderPass* rp = nullptr)
152 const GrVkRenderPass* fActiveRenderPass;
209 const GrVkRenderPass* renderPass,
327 const GrVkRenderPass* compatibleRenderPass);
DGrVkRenderTarget.cpp119 const GrVkRenderPass* renderPass, in GrVkRenderTarget()
220 const GrVkRenderPass* rp = in MakeSecondaryCBRenderTarget()
266 GrVkRenderPass::AttachmentsDescriptor* desc, in getAttachmentsDescriptor()
267 GrVkRenderPass::AttachmentFlags* attachmentFlags) const { in getAttachmentsDescriptor()
271 *attachmentFlags = GrVkRenderPass::kColor_AttachmentFlag; in getAttachmentsDescriptor()
281 *attachmentFlags |= GrVkRenderPass::kStencil_AttachmentFlag; in getAttachmentsDescriptor()
DGrVkGpuCommandBuffer.cpp154 GrVkRenderPass::LoadStoreOps vkColorOps(fVkColorLoadOp, fVkColorStoreOp); in init()
155 GrVkRenderPass::LoadStoreOps vkStencilOps(fVkStencilLoadOp, fVkStencilStoreOp); in init()
461 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_CLEAR, in onClear()
464 GrVkRenderPass::LoadStoreOps vkStencilOps(fVkStencilLoadOp, fVkStencilStoreOp); in onClear()
466 const GrVkRenderPass* oldRP = cbInfo.fRenderPass; in onClear()
538 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
540 GrVkRenderPass::LoadStoreOps vkStencilOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
588 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_LOAD, in copy()
590 GrVkRenderPass::LoadStoreOps vkStencilOps(VK_ATTACHMENT_LOAD_OP_LOAD, in copy()
593 const GrVkRenderPass* oldRP = cbInfo.fRenderPass; in copy()
DGrVkGpuCommandBuffer.h22 class GrVkRenderPass; variable
196 const GrVkRenderPass* fRenderPass;

12