|
void | begin (GrVkGpu *gpu, const GrVkFramebuffer *framebuffer, const GrVkRenderPass *compatibleRenderPass) |
|
void | end (GrVkGpu *gpu) |
|
void | recycle (GrVkCommandPool *cmdPool) |
|
VkCommandBuffer | vkCommandBuffer () |
|
Public Member Functions inherited from GrVkCommandBuffer |
virtual | ~GrVkCommandBuffer () |
|
void | invalidateState () |
|
void | pipelineBarrier (const GrVkGpu *gpu, const GrManagedResource *resource, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, bool byRegion, BarrierType barrierType, void *barrier) |
|
void | bindInputBuffer (GrVkGpu *gpu, uint32_t binding, sk_sp< const GrBuffer > buffer) |
|
void | bindIndexBuffer (GrVkGpu *gpu, sk_sp< const GrBuffer > buffer) |
|
void | bindPipeline (const GrVkGpu *gpu, sk_sp< const GrVkPipeline > pipeline) |
|
void | bindDescriptorSets (const GrVkGpu *gpu, VkPipelineLayout layout, uint32_t firstSet, uint32_t setCount, const VkDescriptorSet *descriptorSets, uint32_t dynamicOffsetCount, const uint32_t *dynamicOffsets) |
|
void | pushConstants (const GrVkGpu *gpu, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const void *values) |
|
void | setViewport (const GrVkGpu *gpu, uint32_t firstViewport, uint32_t viewportCount, const VkViewport *viewports) |
|
void | setScissor (const GrVkGpu *gpu, uint32_t firstScissor, uint32_t scissorCount, const VkRect2D *scissors) |
|
void | setBlendConstants (const GrVkGpu *gpu, const float blendConstants[4]) |
|
void | clearAttachments (const GrVkGpu *gpu, int numAttachments, const VkClearAttachment *attachments, int numRects, const VkClearRect *clearRects) |
|
void | drawIndexed (const GrVkGpu *gpu, uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance) |
|
void | draw (const GrVkGpu *gpu, uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance) |
|
void | drawIndirect (const GrVkGpu *gpu, sk_sp< const GrBuffer > indirectBuffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) |
|
void | drawIndexedIndirect (const GrVkGpu *gpu, sk_sp< const GrBuffer > indirectBuffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) |
|
void | addResource (sk_sp< const GrManagedResource > resource) |
|
void | addResource (const GrManagedResource *resource) |
|
void | addRecycledResource (gr_rp< const GrRecycledResource > resource) |
|
void | addRecycledResource (const GrRecycledResource *resource) |
|
void | addGrBuffer (sk_sp< const GrBuffer > buffer) |
|
void | addGrSurface (sk_sp< const GrSurface > surface) |
|
void | releaseResources () |
|
void | freeGPUData (const GrGpu *gpu, VkCommandPool pool) const |
|
bool | hasWork () const |
|
Definition at line 346 of file GrVkCommandBuffer.h.