#include <GrMockOpsRenderPass.h>
|
| GrMockOpsRenderPass (GrMockGpu *gpu, GrRenderTarget *rt, GrSurfaceOrigin origin, LoadAndStoreInfo colorInfo) |
|
GrGpu * | gpu () override |
|
void | inlineUpload (GrOpFlushState *, GrDeferredTextureUploadFn &) override |
|
int | numDraws () const |
|
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) |
|
void | clear (const GrScissorState &scissor, std::array< float, 4 > color) |
|
void | clearStencilClip (const GrScissorState &scissor, bool insideStencilMask) |
|
void | executeDrawable (std::unique_ptr< SkDrawable::GpuDrawHandler >) |
|
|
void | onBegin () override |
|
bool | onBindPipeline (const GrProgramInfo &, const SkRect &) override |
|
void | onSetScissorRect (const SkIRect &) override |
|
bool | onBindTextures (const GrGeometryProcessor &, const GrSurfaceProxy *const geomProcTextures[], const GrPipeline &) override |
|
void | onBindBuffers (sk_sp< const GrBuffer > indexBuffer, sk_sp< const GrBuffer > instanceBuffer, sk_sp< const GrBuffer > vertexBuffer, GrPrimitiveRestart) override |
|
void | onDraw (int, int) override |
|
void | onDrawIndexed (int, int, uint16_t, uint16_t, int) override |
|
void | onDrawInstanced (int, int, int, int) override |
|
void | onDrawIndexedInstanced (int, int, int, int, int) override |
|
void | onDrawIndirect (const GrBuffer *, size_t, int) override |
|
void | onDrawIndexedIndirect (const GrBuffer *, size_t, int) override |
|
void | onClear (const GrScissorState &scissor, std::array< float, 4 >) override |
|
void | onClearStencilClip (const GrScissorState &scissor, bool insideStencilMask) override |
|
Definition at line 35 of file GrMockOpsRenderPass.h.
◆ GrMockOpsRenderPass()
Definition at line 37 of file GrMockOpsRenderPass.h.
39 : INHERITED(rt, origin)
41 , fColorLoadOp(colorInfo.fLoadOp) {
42 }
◆ gpu()
GrGpu * GrMockOpsRenderPass::gpu |
( |
| ) |
|
|
inlineoverridevirtual |
◆ inlineUpload()
◆ numDraws()
int GrMockOpsRenderPass::numDraws |
( |
| ) |
const |
|
inline |
◆ onBegin()
void GrMockOpsRenderPass::onBegin |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ onBindBuffers()
|
inlineoverrideprivatevirtual |
◆ onBindPipeline()
|
inlineoverrideprivatevirtual |
◆ onBindTextures()
|
inlineoverrideprivatevirtual |
◆ onClear()
void GrMockOpsRenderPass::onClear |
( |
const GrScissorState & |
scissor, |
|
|
std::array< float, 4 > |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onClearStencilClip()
void GrMockOpsRenderPass::onClearStencilClip |
( |
const GrScissorState & |
scissor, |
|
|
bool |
insideStencilMask |
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onDraw()
void GrMockOpsRenderPass::onDraw |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onDrawIndexed()
void GrMockOpsRenderPass::onDrawIndexed |
( |
int |
, |
|
|
int |
, |
|
|
uint16_t |
, |
|
|
uint16_t |
, |
|
|
int |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onDrawIndexedIndirect()
void GrMockOpsRenderPass::onDrawIndexedIndirect |
( |
const GrBuffer * |
, |
|
|
size_t |
, |
|
|
int |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onDrawIndexedInstanced()
void GrMockOpsRenderPass::onDrawIndexedInstanced |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onDrawIndirect()
void GrMockOpsRenderPass::onDrawIndirect |
( |
const GrBuffer * |
, |
|
|
size_t |
, |
|
|
int |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onDrawInstanced()
void GrMockOpsRenderPass::onDrawInstanced |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onSetScissorRect()
void GrMockOpsRenderPass::onSetScissorRect |
( |
const SkIRect & |
| ) |
|
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following file: