8#ifndef GrBezierEffect_DEFINED
9#define GrBezierEffect_DEFINED
24namespace skgpu {
class KeyBuilder; }
79 return arena->
make([&](
void* ptr) {
87 const char*
name()
const override {
return "Conic"; }
97 const SkMatrix& localMatrix,
bool usesLocalCoords);
105 bool fUsesLocalCoords;
106 uint8_t fCoverageScale;
133 bool usesLocalCoords,
139 return arena->
make([&](
void* ptr) {
147 const char*
name()
const override {
return "Quad"; }
157 const SkMatrix& localMatrix,
bool usesLocalCoords);
165 bool fUsesLocalCoords;
166 uint8_t fCoverageScale;
#define GR_DECLARE_GEOMETRY_PROCESSOR_TEST
@ kFloat2_GrVertexAttribType
@ kFloat4_GrVertexAttribType
#define INHERITED(method,...)
const GrShaderCaps * shaderCaps() const
const char * name() const override
~GrConicEffect() override
static GrGeometryProcessor * Make(SkArenaAlloc *arena, const SkPMColor4f &color, const SkMatrix &viewMatrix, const GrCaps &caps, const SkMatrix &localMatrix, bool usesLocalCoords, uint8_t coverage=0xff)
void addToKey(const GrShaderCaps &caps, skgpu::KeyBuilder *b) const override
std::unique_ptr< ProgramImpl > makeProgramImpl(const GrShaderCaps &) const override
GrGeometryProcessor(ClassID)
static GrGeometryProcessor * Make(SkArenaAlloc *arena, const SkPMColor4f &color, const SkMatrix &viewMatrix, const GrCaps &caps, const SkMatrix &localMatrix, bool usesLocalCoords, uint8_t coverage=0xff)
const char * name() const override
void addToKey(const GrShaderCaps &caps, skgpu::KeyBuilder *b) const override
std::unique_ptr< ProgramImpl > makeProgramImpl(const GrShaderCaps &) const override
auto make(Ctor &&ctor) -> decltype(ctor(nullptr))
static const std::map< std::string, VerticesBuilder::AttributeType > kAttributes
bool fShaderDerivativeSupport