Flutter Engine
The Flutter Engine
|
#include <SkMeshPriv.h>
Public Types | |
using | Varying = SkMeshSpecification::Varying |
using | Attribute = SkMeshSpecification::Attribute |
using | ColorType = SkMeshSpecification::ColorType |
Static Public Member Functions | |
static SkSpan< const Varying > | Varyings (const SkMeshSpecification &spec) |
static const SkSL::Program * | VS (const SkMeshSpecification &spec) |
static const SkSL::Program * | FS (const SkMeshSpecification &spec) |
static int | Hash (const SkMeshSpecification &spec) |
static ColorType | GetColorType (const SkMeshSpecification &spec) |
static bool | HasColors (const SkMeshSpecification &spec) |
static SkColorSpace * | ColorSpace (const SkMeshSpecification &spec) |
static SkAlphaType | AlphaType (const SkMeshSpecification &spec) |
static SkSLType | VaryingTypeAsSLType (Varying::Type type) |
static SkSLType | AttrTypeAsSLType (Attribute::Type type) |
static int | PassthroughLocalCoordsVaryingIndex (const SkMeshSpecification &spec) |
static bool | VaryingIsDead (const SkMeshSpecification &spec, int v) |
Definition at line 15 of file SkMeshPriv.h.
Definition at line 17 of file SkMeshPriv.h.
using SkMeshSpecificationPriv::ColorType = SkMeshSpecification::ColorType |
Definition at line 18 of file SkMeshPriv.h.
Definition at line 16 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 38 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 54 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 34 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 25 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 29 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 30 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 27 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 65 of file SkMeshPriv.h.
|
inlinestatic |
A varying is dead if it is never referenced OR it is only referenced as a passthrough for local coordinates. In the latter case, its index will returned as PassthroughLocalCoordsVaryingIndex. Our analysis is not very sophisticated so this is determined conservatively.
Definition at line 75 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 20 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 40 of file SkMeshPriv.h.
|
inlinestatic |
Definition at line 24 of file SkMeshPriv.h.