8#ifndef GrVkFramebuffer_DEFINED
9#define GrVkFramebuffer_DEFINED
31 GrVkResourceProvider::CompatibleRPHandle);
37 std::unique_ptr<GrVkSecondaryCommandBuffer>);
60#ifdef SK_TRACE_MANAGED_RESOURCES
61 void dumpInfo()
const override {
62 SkDebugf(
"GrVkFramebuffer: %" PRIdPTR
" (%d refs)\n",
63 (intptr_t)fFramebuffer, this->getRefCnt());
70 return fCompatibleRenderPassHandle;
84 GrVkResourceProvider::CompatibleRPHandle);
88 void freeGPUData()
const override;
89 void releaseResources();
98 GrVkResourceProvider::CompatibleRPHandle fCompatibleRenderPassHandle;
101 std::unique_ptr<GrVkSecondaryCommandBuffer> fExternalCommandBuffer;
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
const GrVkRenderPass * compatibleRenderPass() const
void returnExternalGrSecondaryCommandBuffer(std::unique_ptr< GrVkSecondaryCommandBuffer >)
GrVkResourceProvider::CompatibleRPHandle compatibleRenderPassHandle() const
const GrVkRenderPass * externalRenderPass() const
GrVkFramebuffer(const GrVkGpu *gpu, sk_sp< GrVkImage > colorAttachment, sk_sp< const GrVkRenderPass > renderPass, std::unique_ptr< GrVkSecondaryCommandBuffer >)
GrVkImage * resolveAttachment()
GrVkImage * colorAttachment()
static sk_sp< const GrVkFramebuffer > Make(GrVkGpu *gpu, SkISize dimensions, sk_sp< const GrVkRenderPass > compatibleRenderPass, GrVkImage *colorAttachment, GrVkImage *resolveAttachment, GrVkImage *stencilAttachment, GrVkResourceProvider::CompatibleRPHandle)
VkFramebuffer framebuffer() const
std::unique_ptr< GrVkSecondaryCommandBuffer > externalCommandBuffer()
GrVkImage * stencilAttachment()