#include <GrVkFramebuffer.h>
Definition at line 23 of file GrVkFramebuffer.h.
◆ GrVkFramebuffer()
Definition at line 81 of file GrVkFramebuffer.cpp.
87 , fExternalRenderPass(std::move(renderPass))
GrVkImage * colorAttachment()
std::unique_ptr< GrVkSecondaryCommandBuffer > externalCommandBuffer()
GrVkManagedResource(const GrVkGpu *gpu)
◆ colorAttachment()
GrVkImage * GrVkFramebuffer::colorAttachment |
( |
| ) |
|
|
inline |
◆ compatibleRenderPass()
const GrVkRenderPass * GrVkFramebuffer::compatibleRenderPass |
( |
| ) |
const |
|
inline |
◆ compatibleRenderPassHandle()
GrVkResourceProvider::CompatibleRPHandle GrVkFramebuffer::compatibleRenderPassHandle |
( |
| ) |
const |
|
inline |
Definition at line 69 of file GrVkFramebuffer.h.
69 {
70 return fCompatibleRenderPassHandle;
71 }
◆ externalCommandBuffer()
◆ externalRenderPass()
◆ framebuffer()
VkFramebuffer GrVkFramebuffer::framebuffer |
( |
| ) |
const |
|
inline |
◆ isExternal()
bool GrVkFramebuffer::isExternal |
( |
| ) |
const |
|
inline |
◆ Make()
Definition at line 16 of file GrVkFramebuffer.cpp.
23 {
24
27
28 VkImageView attachments[3];
30 int numAttachments = 1;
33 }
36 }
37
41 createInfo.
pNext =
nullptr;
49
54 if (err) {
55 return nullptr;
56 }
57
62}
#define GR_VK_CALL_RESULT(GPU, RESULT, X)
sk_sp< T > sk_ref_sp(T *obj)
const GrVkRenderPass * compatibleRenderPass() const
GrVkResourceProvider::CompatibleRPHandle compatibleRenderPassHandle() const
GrVkFramebuffer(const GrVkGpu *gpu, sk_sp< GrVkImage > colorAttachment, sk_sp< const GrVkRenderPass > renderPass, std::unique_ptr< GrVkSecondaryCommandBuffer >)
GrVkImage * resolveAttachment()
VkFramebuffer framebuffer() const
GrVkImage * stencilAttachment()
VkImageView imageView() const
const GrVkImageView * framebufferView() const
VkRenderPass vkRenderPass() const
constexpr int32_t width() const
constexpr int32_t height() const
const VkImageView * pAttachments
VkFramebufferCreateFlags flags
@ VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO
◆ resolveAttachment()
GrVkImage * GrVkFramebuffer::resolveAttachment |
( |
| ) |
|
|
inline |
◆ returnExternalGrSecondaryCommandBuffer()
Definition at line 112 of file GrVkFramebuffer.cpp.
113 {
115 fExternalCommandBuffer = std::move(cmdBuffer);
116}
◆ stencilAttachment()
GrVkImage * GrVkFramebuffer::stencilAttachment |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: