8#ifndef GrSimpleMesh_DEFINED
9#define GrSimpleMesh_DEFINED
27 int patternRepeatCount,
int maxPatternRepetitionsInIndexBuffer,
57 int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue,
63 SkASSERT(maxIndexValue >= minIndexValue);
80 int patternVertexCount,
int baseVertex) {
85 SkASSERT(maxPatternRepetitionsInIndexBuffer >= 1);
SkDEBUGCODE(SK_SPI) SkThreadID SkGetThreadID()
void reset(T *ptr=nullptr)
void setIndexed(sk_sp< const GrBuffer > indexBuffer, int indexCount, int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue, GrPrimitiveRestart, sk_sp< const GrBuffer > vertexBuffer, int baseVertex)
void set(sk_sp< const GrBuffer > vertexBuffer, int vertexCount, int baseVertex)
sk_sp< const GrBuffer > fIndexBuffer
void setIndexedPatterned(sk_sp< const GrBuffer > indexBuffer, int indexCount, int patternRepeatCount, int maxPatternRepetitionsInIndexBuffer, sk_sp< const GrBuffer > vertexBuffer, int patternVertexCount, int baseVertex)
int fMaxPatternRepetitionsInIndexBuffer
GrPrimitiveRestart fPrimitiveRestart
sk_sp< const GrBuffer > fVertexBuffer