Flutter Engine
The Flutter Engine
|
#include <GrMtlOpsRenderPass.h>
Public Member Functions | |
GrMtlOpsRenderPass (GrMtlGpu *gpu, GrRenderTarget *rt, sk_sp< GrMtlFramebuffer >, GrSurfaceOrigin origin, const GrOpsRenderPass::LoadAndStoreInfo &colorInfo, const GrOpsRenderPass::StencilLoadAndStoreInfo &stencilInfo) | |
~GrMtlOpsRenderPass () override | |
void | initRenderState (GrMtlRenderCommandEncoder *) |
void | inlineUpload (GrOpFlushState *state, GrDeferredTextureUploadFn &upload) override |
void | submit () |
Public Member Functions inherited from GrOpsRenderPass | |
virtual | ~GrOpsRenderPass () |
void | begin () |
void | end () |
void | bindPipeline (const GrProgramInfo &, const SkRect &drawBounds) |
void | setScissorRect (const SkIRect &) |
void | bindTextures (const GrGeometryProcessor &, const GrSurfaceProxy *const geomProcTextures[], const GrPipeline &) |
void | bindBuffers (sk_sp< const GrBuffer > indexBuffer, sk_sp< const GrBuffer > instanceBuffer, sk_sp< const GrBuffer > vertexBuffer, GrPrimitiveRestart=GrPrimitiveRestart::kNo) |
void | draw (int vertexCount, int baseVertex) |
void | drawIndexed (int indexCount, int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue, int baseVertex) |
void | drawInstanced (int instanceCount, int baseInstance, int vertexCount, int baseVertex) |
void | drawIndexedInstanced (int indexCount, int baseIndex, int instanceCount, int baseInstance, int baseVertex) |
void | drawIndirect (const GrBuffer *drawIndirectBuffer, size_t bufferOffset, int drawCount) |
void | drawIndexedIndirect (const GrBuffer *drawIndirectBuffer, size_t bufferOffset, int drawCount) |
void | drawIndexPattern (int patternIndexCount, int patternRepeatCount, int maxPatternRepetitionsInIndexBuffer, int patternVertexCount, int baseVertex) |
virtual void | inlineUpload (GrOpFlushState *, GrDeferredTextureUploadFn &)=0 |
void | clear (const GrScissorState &scissor, std::array< float, 4 > color) |
void | clearStencilClip (const GrScissorState &scissor, bool insideStencilMask) |
void | executeDrawable (std::unique_ptr< SkDrawable::GpuDrawHandler >) |
Additional Inherited Members | |
Protected Member Functions inherited from GrOpsRenderPass | |
GrOpsRenderPass () | |
GrOpsRenderPass (GrRenderTarget *rt, GrSurfaceOrigin origin) | |
void | set (GrRenderTarget *rt, GrSurfaceOrigin origin) |
Protected Attributes inherited from GrOpsRenderPass | |
GrSurfaceOrigin | fOrigin |
GrRenderTarget * | fRenderTarget |
sk_sp< const GrBuffer > | fActiveIndexBuffer |
sk_sp< const GrBuffer > | fActiveVertexBuffer |
sk_sp< const GrBuffer > | fActiveInstanceBuffer |
Definition at line 24 of file GrMtlOpsRenderPass.h.
GR_NORETAIN_BEGIN GrMtlOpsRenderPass::GrMtlOpsRenderPass | ( | GrMtlGpu * | gpu, |
GrRenderTarget * | rt, | ||
sk_sp< GrMtlFramebuffer > | framebuffer, | ||
GrSurfaceOrigin | origin, | ||
const GrOpsRenderPass::LoadAndStoreInfo & | colorInfo, | ||
const GrOpsRenderPass::StencilLoadAndStoreInfo & | stencilInfo | ||
) |
Definition at line 27 of file GrMtlOpsRenderPass.mm.
|
override |
Definition at line 37 of file GrMtlOpsRenderPass.mm.
void GrMtlOpsRenderPass::initRenderState | ( | GrMtlRenderCommandEncoder * | encoder | ) |
Definition at line 202 of file GrMtlOpsRenderPass.mm.
|
overridevirtual |
Implements GrOpsRenderPass.
Definition at line 189 of file GrMtlOpsRenderPass.mm.
void GrMtlOpsRenderPass::submit | ( | ) |
Definition at line 40 of file GrMtlOpsRenderPass.mm.