/third_party/skia/src/gpu/vk/ |
D | GrVkResourceProvider.h | 64 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 …]
|
D | GrVkRenderPass.cpp | 16 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 …]
|
D | GrVkResourceProvider.cpp | 110 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 …]
|
D | GrVkFramebuffer.h | 21 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;
|
D | GrVkRenderPass.h | 22 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)
|
D | GrVkRenderTarget.cpp | 28 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 …]
|
D | GrVkRenderTarget.h | 41 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>
|
D | GrVkOpsRenderPass.h | 42 GrVkRenderPass::SelfDependencyFlags selfDepFlags, 43 GrVkRenderPass::LoadFromResolve loadFromResolve, 96 using LoadFromResolve = GrVkRenderPass::LoadFromResolve; 106 using SelfDependencyFlags = GrVkRenderPass::SelfDependencyFlags; 110 const GrVkRenderPass* fCurrentRenderPass;
|
D | GrVkCommandBuffer.h | 22 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()
|
D | GrVkMSAALoadManager.h | 21 class GrVkRenderPass; variable 32 const GrVkRenderPass& renderPass,
|
D | GrVkFramebuffer.cpp | 19 sk_sp<const GrVkRenderPass> compatibleRenderPass, in Make() 69 sk_sp<const GrVkRenderPass> compatibleRenderPass, in GrVkFramebuffer() 83 sk_sp<const GrVkRenderPass> renderPass, in GrVkFramebuffer()
|
D | GrVkOpsRenderPass.cpp | 229 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()
|
D | GrVkGpu.cpp | 330 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 …]
|
D | GrVkCaps.cpp | 1835 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()
|
D | GrVkGpu.h | 33 class GrVkRenderPass; variable 140 const GrVkRenderPass& renderPass, 189 bool beginRenderPass(const GrVkRenderPass*,
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkResourceProvider.h | 63 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 …]
|
D | GrVkRenderPass.cpp | 16 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 …]
|
D | GrVkRenderPass.h | 19 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);
|
D | GrVkResourceProvider.cpp | 112 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 …]
|
D | GrVkRenderTarget.h | 60 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;
|
D | GrVkFramebuffer.h | 17 class GrVkRenderPass; variable 23 const GrVkRenderPass* renderPass,
|
D | GrVkCommandBuffer.h | 23 class GrVkRenderPass; variable 124 const GrVkRenderPass* rp = nullptr) 152 const GrVkRenderPass* fActiveRenderPass; 209 const GrVkRenderPass* renderPass, 327 const GrVkRenderPass* compatibleRenderPass);
|
D | GrVkRenderTarget.cpp | 119 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()
|
D | GrVkGpuCommandBuffer.cpp | 154 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()
|
D | GrVkGpuCommandBuffer.h | 22 class GrVkRenderPass; variable 196 const GrVkRenderPass* fRenderPass;
|