8#ifndef GrShadowGeoProc_DEFINED
9#define GrShadowGeoProc_DEFINED
19namespace skgpu {
class KeyBuilder; }
29 return arena->
make([&](
void* ptr) {
34 const char*
name()
const override {
return "RRectShadow"; }
50 const TextureSampler& onTextureSampler(
int i)
const override {
return fLUTTextureSampler; }
53 TextureSampler fLUTTextureSampler;
#define GR_DECLARE_GEOMETRY_PROCESSOR_TEST
#define INHERITED(method,...)
GrGeometryProcessor(ClassID)
const Attribute & inShadowParams() const
static GrGeometryProcessor * Make(SkArenaAlloc *arena, const GrSurfaceProxyView &lutView)
const Attribute & inColor() const
std::unique_ptr< ProgramImpl > makeProgramImpl(const GrShaderCaps &) const override
void addToKey(const GrShaderCaps &, skgpu::KeyBuilder *) const override
const Attribute & inPosition() const
const char * name() const override
auto make(Ctor &&ctor) -> decltype(ctor(nullptr))