Flutter Engine
The Flutter Engine
|
#include <GrVkOpsRenderPass.h>
Public Member Functions | |
GrVkOpsRenderPass (GrVkGpu *) | |
~GrVkOpsRenderPass () override | |
void | inlineUpload (GrOpFlushState *state, GrDeferredTextureUploadFn &upload) override |
void | onExecuteDrawable (std::unique_ptr< SkDrawable::GpuDrawHandler >) override |
bool | set (GrRenderTarget *, sk_sp< GrVkFramebuffer >, GrSurfaceOrigin, const SkIRect &bounds, const GrOpsRenderPass::LoadAndStoreInfo &, const GrOpsRenderPass::StencilLoadAndStoreInfo &, const GrOpsRenderPass::LoadAndStoreInfo &resolveInfo, GrVkRenderPass::SelfDependencyFlags selfDepFlags, GrVkRenderPass::LoadFromResolve loadFromResolve, const skia_private::TArray< GrSurfaceProxy *, true > &sampledProxies) |
void | reset () |
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 25 of file GrVkOpsRenderPass.h.
GrVkOpsRenderPass::GrVkOpsRenderPass | ( | GrVkGpu * | gpu | ) |
Definition at line 67 of file GrVkOpsRenderPass.cpp.
|
override |
Definition at line 288 of file GrVkOpsRenderPass.cpp.
|
overridevirtual |
Implements GrOpsRenderPass.
Definition at line 600 of file GrVkOpsRenderPass.cpp.
|
overridevirtual |
Reimplemented from GrOpsRenderPass.
Definition at line 846 of file GrVkOpsRenderPass.cpp.
void GrVkOpsRenderPass::reset | ( | ) |
Definition at line 400 of file GrVkOpsRenderPass.cpp.
bool GrVkOpsRenderPass::set | ( | GrRenderTarget * | rt, |
sk_sp< GrVkFramebuffer > | framebuffer, | ||
GrSurfaceOrigin | origin, | ||
const SkIRect & | bounds, | ||
const GrOpsRenderPass::LoadAndStoreInfo & | colorInfo, | ||
const GrOpsRenderPass::StencilLoadAndStoreInfo & | stencilInfo, | ||
const GrOpsRenderPass::LoadAndStoreInfo & | resolveInfo, | ||
GrVkRenderPass::SelfDependencyFlags | selfDepFlags, | ||
GrVkRenderPass::LoadFromResolve | loadFromResolve, | ||
const skia_private::TArray< GrSurfaceProxy *, true > & | sampledProxies | ||
) |
Definition at line 344 of file GrVkOpsRenderPass.cpp.
void GrVkOpsRenderPass::submit | ( | ) |
Definition at line 319 of file GrVkOpsRenderPass.cpp.