Home
last modified time | relevance | path

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

12

/external/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.cpp109 const GrVkRenderPass*
118 GrVkRenderPass::AttachmentFlags attachmentFlags; in findCompatibleRenderPass()
119 GrVkRenderPass::AttachmentsDescriptor attachmentsDesc; in findCompatibleRenderPass()
126 const GrVkRenderPass*
127 GrVkResourceProvider::findCompatibleRenderPass(GrVkRenderPass::AttachmentsDescriptor* desc, in findCompatibleRenderPass()
128 GrVkRenderPass::AttachmentFlags attachmentFlags, in findCompatibleRenderPass()
135 const GrVkRenderPass* renderPass = fRenderPassArray[i].getCompatibleRenderPass(); in findCompatibleRenderPass()
144 GrVkRenderPass* renderPass = GrVkRenderPass::CreateSimple(fGpu, desc, attachmentFlags, in findCompatibleRenderPass()
157 const GrVkRenderPass* GrVkResourceProvider::findCompatibleExternalRenderPass( in findCompatibleExternalRenderPass()
171 const GrVkRenderPass* newRenderPass = new GrVkRenderPass(fGpu, renderPass, in findCompatibleExternalRenderPass()
[all …]
DGrVkFramebuffer.h19 class GrVkRenderPass; variable
25 sk_sp<const GrVkRenderPass> compatibleRenderPass,
34 sk_sp<const GrVkRenderPass> renderPass,
43 const GrVkRenderPass* externalRenderPass() const { return fExternalRenderPass.get(); } in externalRenderPass()
64 const GrVkRenderPass* compatibleRenderPass() const { return fCompatibleRenderPass.get(); } in compatibleRenderPass()
80 sk_sp<const GrVkRenderPass> compatibleRenderPass,
94 sk_sp<const GrVkRenderPass> fCompatibleRenderPass;
97 sk_sp<const GrVkRenderPass> fExternalRenderPass;
DGrVkRenderPass.h19 class GrVkRenderPass : public GrVkManagedResource {
40 explicit GrVkRenderPass(const GrVkGpu* gpu, VkRenderPass renderPass, in GrVkRenderPass() function
102 static GrVkRenderPass* CreateSimple(GrVkGpu*,
107 static GrVkRenderPass* Create(GrVkGpu*,
108 const GrVkRenderPass& compatibleRenderPass,
132 bool isCompatible(const GrVkRenderPass& renderPass) const;
172 GrVkRenderPass(const GrVkGpu*, VkRenderPass, AttachmentFlags, const AttachmentsDescriptor&,
176 static GrVkRenderPass* Create(GrVkGpu* gpu,
201 GR_MAKE_BITFIELD_OPS(GrVkRenderPass::AttachmentFlags);
202 GR_MAKE_BITFIELD_CLASS_OPS(GrVkRenderPass::SelfDependencyFlags);
DGrVkRenderTarget.cpp29 GrVkRenderPass::SelfDependencyFlags selfDepFlags, in renderpass_features_to_index()
30 GrVkRenderPass::LoadFromResolve loadFromReslove) { in renderpass_features_to_index()
38 if (selfDepFlags & GrVkRenderPass::SelfDependencyFlags::kForInputAttachment) { in renderpass_features_to_index()
41 if (selfDepFlags & GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend) { in renderpass_features_to_index()
44 if (loadFromReslove == GrVkRenderPass::LoadFromResolve::kLoad) { in renderpass_features_to_index()
144 const GrVkRenderPass* rp = gpu->resourceProvider().findCompatibleExternalRenderPass( in MakeSecondaryCBRenderTarget()
177 gpu, std::move(colorAttachment), sk_sp<const GrVkRenderPass>(rp), in MakeSecondaryCBRenderTarget()
256 const GrVkRenderPass* GrVkRenderTarget::getSimpleRenderPass(bool withResolve, in getSimpleRenderPass()
273 std::pair<const GrVkRenderPass*, GrVkResourceProvider::CompatibleRPHandle>
283 const GrVkRenderPass* renderPass = rp.findCompatibleRenderPass( in createSimpleRenderPass()
[all …]
DGrVkRenderTarget.h42 using SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags;
43 using LoadFromResolve = GrVkRenderPass::LoadFromResolve;
49 const GrVkFramebuffer* getFramebuffer(const GrVkRenderPass& renderPass) { in getFramebuffer()
89 const GrVkRenderPass* getSimpleRenderPass(
112 void getAttachmentsDescriptor(GrVkRenderPass::AttachmentsDescriptor* desc,
113 GrVkRenderPass::AttachmentFlags* flags,
122 GrVkRenderPass::AttachmentsDescriptor* desc,
123 GrVkRenderPass::AttachmentFlags* flags);
156 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
178 const GrVkRenderPass* fActiveRenderPass = nullptr;
219 const GrVkRenderPass*,
346 const GrVkRenderPass* externalRenderPass);
349 const GrVkRenderPass* compatibleRenderPass);
358 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.cpp228 GrVkRenderPass::LoadStoreOps vkColorOps(loadOp, storeOp); in init()
231 GrVkRenderPass::LoadStoreOps vkResolveOps(loadOp, storeOp); in init()
234 GrVkRenderPass::LoadStoreOps vkStencilOps(loadOp, storeOp); in init()
342 GrVkRenderPass::SelfDependencyFlags selfDepFlags, in set()
343 GrVkRenderPass::LoadFromResolve loadFromResolve, in set()
407 fSelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in reset()
538 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
540 GrVkRenderPass::LoadStoreOps vkResolveOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
547 GrVkRenderPass::LoadStoreOps vkStencilOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
DGrVkGpu.cpp329 GrVkRenderPass::SelfDependencyFlags selfDepFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in onGetOpsRenderPass()
331 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend; in onGetOpsRenderPass()
334 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForInputAttachment; in onGetOpsRenderPass()
343 GrVkRenderPass::LoadFromResolve loadFromResolve = GrVkRenderPass::LoadFromResolve::kNo; in onGetOpsRenderPass()
350 loadFromResolve = GrVkRenderPass::LoadFromResolve::kLoad; in onGetOpsRenderPass()
1371 const GrVkRenderPass& renderPass, in loadMSAAFromResolve()
1880 GrVkRenderPass::AttachmentsDescriptor attachmentsDescriptor; in compile()
1881 GrVkRenderPass::AttachmentFlags attachmentFlags; in compile()
1885 GrVkRenderPass::SelfDependencyFlags selfDepFlags = GrVkRenderPass::SelfDependencyFlags::kNone; in compile()
1887 selfDepFlags |= GrVkRenderPass::SelfDependencyFlags::kForNonCoherentAdvBlend; in compile()
[all …]
/external/skqp/src/gpu/vk/
DGrVkResourceProvider.h67 const GrVkRenderPass* findCompatibleRenderPass(const GrVkRenderTarget& target,
71 const GrVkRenderPass* findCompatibleRenderPass(const CompatibleRPHandle& compatibleHandle);
73 const GrVkRenderPass* findCompatibleExternalRenderPass(VkRenderPass,
80 const GrVkRenderPass* findRenderPass(const GrVkRenderTarget& target,
81 const GrVkRenderPass::LoadStoreOps& colorOps,
82 const GrVkRenderPass::LoadStoreOps& stencilOps,
87 const GrVkRenderPass* findRenderPass(const CompatibleRPHandle& compatibleHandle,
88 const GrVkRenderPass::LoadStoreOps& colorOps,
89 const GrVkRenderPass::LoadStoreOps& stencilOps);
234 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.cpp139 const GrVkRenderPass*
144 const GrVkRenderPass* renderPass = fRenderPassArray[i].getCompatibleRenderPass(); in findCompatibleRenderPass()
153 const GrVkRenderPass* renderPass = in findCompatibleRenderPass()
163 const GrVkRenderPass*
167 const GrVkRenderPass* renderPass = fRenderPassArray[index].getCompatibleRenderPass(); in findCompatibleRenderPass()
172 const GrVkRenderPass* GrVkResourceProvider::findCompatibleExternalRenderPass( in findCompatibleExternalRenderPass()
186 const GrVkRenderPass* newRenderPass = new GrVkRenderPass(renderPass, colorAttachmentIndex); in findCompatibleExternalRenderPass()
192 const GrVkRenderPass* GrVkResourceProvider::findRenderPass( in findRenderPass()
194 const GrVkRenderPass::LoadStoreOps& colorOps, in findRenderPass()
195 const GrVkRenderPass::LoadStoreOps& stencilOps, in findRenderPass()
[all …]
DGrVkCopyPipeline.h21 const GrVkRenderPass& renderPass,
24 bool isCompatible(const GrVkRenderPass& rp) const;
33 GrVkCopyPipeline(VkPipeline pipeline, const GrVkRenderPass* renderPass) in GrVkCopyPipeline()
38 const GrVkRenderPass* fRenderPass;
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;
158 const GrVkRenderPass* renderPass,
170 const GrVkRenderPass* fCachedSimpleRenderPass;
DGrVkFramebuffer.h17 class GrVkRenderPass; variable
23 const GrVkRenderPass* renderPass,
DGrVkGpuCommandBuffer.cpp87 GrVkRenderPass::LoadStoreOps vkColorOps(fVkColorLoadOp, fVkColorStoreOp); in init()
88 GrVkRenderPass::LoadStoreOps vkStencilOps(fVkStencilLoadOp, fVkStencilStoreOp); in init()
324 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_DONT_CARE, in discard()
326 GrVkRenderPass::LoadStoreOps vkStencilOps(VK_ATTACHMENT_LOAD_OP_DONT_CARE, in discard()
329 const GrVkRenderPass* oldRP = cbInfo.fRenderPass; in discard()
429 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_CLEAR, in onClear()
432 GrVkRenderPass::LoadStoreOps vkStencilOps(fVkStencilLoadOp, fVkStencilStoreOp); in onClear()
434 const GrVkRenderPass* oldRP = cbInfo.fRenderPass; in onClear()
519 GrVkRenderPass::LoadStoreOps vkColorOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
521 GrVkRenderPass::LoadStoreOps vkStencilOps(VK_ATTACHMENT_LOAD_OP_LOAD, in addAdditionalRenderPass()
[all …]
DGrVkCommandBuffer.h23 class GrVkRenderPass; variable
135 const GrVkRenderPass* rp = nullptr)
162 const GrVkRenderPass* fActiveRenderPass;
216 const GrVkRenderPass* renderPass,
337 const GrVkRenderPass* compatibleRenderPass);
DGrVkRenderTarget.cpp117 const GrVkRenderPass* renderPass, in GrVkRenderTarget()
215 const GrVkRenderPass* rp = in MakeSecondaryCBRenderTarget()
262 GrVkRenderPass::AttachmentsDescriptor* desc, in getAttachmentsDescriptor()
263 GrVkRenderPass::AttachmentFlags* attachmentFlags) const { in getAttachmentsDescriptor()
269 *attachmentFlags = GrVkRenderPass::kColor_AttachmentFlag; in getAttachmentsDescriptor()
279 *attachmentFlags |= GrVkRenderPass::kStencil_AttachmentFlag; in getAttachmentsDescriptor()
DGrVkCopyPipeline.cpp33 const GrVkRenderPass& renderPass, in Create()
189 bool GrVkCopyPipeline::isCompatible(const GrVkRenderPass& rp) const { in isCompatible()
DGrVkGpuCommandBuffer.h21 class GrVkRenderPass; variable
183 const GrVkRenderPass* fRenderPass;

12