Flutter Engine
The Flutter Engine
|
Classes | |
class | QuadPerEdgeAAGeometryProcessor |
class | Tessellator |
struct | VertexSpec |
Typedefs | |
using | Saturate = skgpu::ganesh::TextureOp::Saturate |
Enumerations | |
enum class | CoverageMode { kNone , kWithPosition , kWithColor } |
enum class | Subset : bool { kNo = false , kYes = true } |
enum class | ColorType { kNone , kByte , kFloat , kLast = kFloat } |
enum class | IndexBufferOption { kPictureFramed , kIndexedRects , kTriStrips , kLast = kTriStrips } |
Functions | |
IndexBufferOption | CalcIndexBufferOption (GrAAType aa, int numQuads) |
ColorType | MinColorType (SkPMColor4f color) |
sk_sp< const GrBuffer > | GetIndexBuffer (GrMeshDrawTarget *target, IndexBufferOption indexBufferOption) |
int | QuadLimit (IndexBufferOption option) |
void | IssueDraw (const GrCaps &caps, GrOpsRenderPass *renderPass, const VertexSpec &spec, int runningQuadCount, int quadsInDraw, int maxVerts, int absVertBufferOffset) |
GrGeometryProcessor * | MakeProcessor (SkArenaAlloc *arena, const VertexSpec &spec) |
GrGeometryProcessor * | MakeTexturedProcessor (SkArenaAlloc *arena, const VertexSpec &spec, const GrShaderCaps &caps, const GrBackendFormat &backendFormat, GrSamplerState samplerState, const skgpu::Swizzle &swizzle, sk_sp< GrColorSpaceXform > textureColorSpaceXform, Saturate saturate) |
Variables | |
static const int | kColorTypeCount = static_cast<int>(ColorType::kLast) + 1 |
static const int | kIndexBufferOptionCount = static_cast<int>(IndexBufferOption::kLast) + 1 |
Definition at line 30 of file QuadPerEdgeAA.h.
|
strong |
|
strong |
Enumerator | |
---|---|
kNone | |
kWithPosition | |
kWithColor |
Definition at line 32 of file QuadPerEdgeAA.h.
|
strong |
Enumerator | |
---|---|
kPictureFramed | |
kIndexedRects | |
kTriStrips | |
kLast |
Definition at line 37 of file QuadPerEdgeAA.h.
|
strong |
Enumerator | |
---|---|
kNo | |
kYes |
Definition at line 33 of file QuadPerEdgeAA.h.
IndexBufferOption skgpu::ganesh::QuadPerEdgeAA::CalcIndexBufferOption | ( | GrAAType | aa, |
int | numQuads | ||
) |
Definition at line 305 of file QuadPerEdgeAA.cpp.
sk_sp< const GrBuffer > skgpu::ganesh::QuadPerEdgeAA::GetIndexBuffer | ( | GrMeshDrawTarget * | target, |
IndexBufferOption | indexBufferOption | ||
) |
Definition at line 460 of file QuadPerEdgeAA.cpp.
void skgpu::ganesh::QuadPerEdgeAA::IssueDraw | ( | const GrCaps & | caps, |
GrOpsRenderPass * | renderPass, | ||
const VertexSpec & | spec, | ||
int | runningQuadCount, | ||
int | quadsInDraw, | ||
int | maxVerts, | ||
int | absVertBufferOffset | ||
) |
Definition at line 482 of file QuadPerEdgeAA.cpp.
GrGeometryProcessor * skgpu::ganesh::QuadPerEdgeAA::MakeProcessor | ( | SkArenaAlloc * | arena, |
const VertexSpec & | spec | ||
) |
Definition at line 909 of file QuadPerEdgeAA.cpp.
GrGeometryProcessor * skgpu::ganesh::QuadPerEdgeAA::MakeTexturedProcessor | ( | SkArenaAlloc * | arena, |
const VertexSpec & | spec, | ||
const GrShaderCaps & | caps, | ||
const GrBackendFormat & | backendFormat, | ||
GrSamplerState | samplerState, | ||
const skgpu::Swizzle & | swizzle, | ||
sk_sp< GrColorSpaceXform > | textureColorSpaceXform, | ||
Saturate | saturate | ||
) |
Definition at line 913 of file QuadPerEdgeAA.cpp.
ColorType skgpu::ganesh::QuadPerEdgeAA::MinColorType | ( | SkPMColor4f | color | ) |
Definition at line 316 of file QuadPerEdgeAA.cpp.
int skgpu::ganesh::QuadPerEdgeAA::QuadLimit | ( | IndexBufferOption | option | ) |
Definition at line 472 of file QuadPerEdgeAA.cpp.
|
static |
Definition at line 35 of file QuadPerEdgeAA.h.
|
static |
Definition at line 43 of file QuadPerEdgeAA.h.