8#ifndef GrTestUtils_DEFINED
9#define GrTestUtils_DEFINED
13#if defined(GR_TEST_UTILS)
28class GrProcessorTestData;
57uint8_t RandomCoverage(
SkRandom* random);
61 TestAsFPArgs(GrProcessorTestData*);
66 std::unique_ptr<GrColorInfo> fColorInfoStorage;
79 Factory getFactory()
const override {
return nullptr; }
80 const char* getTypeName()
const override {
return nullptr; }
85 DashType onAsADash(DashInfo*
info)
const override;
90 bool computeFastBounds(
SkRect*
bounds)
const override {
return true; }
96 int fInitialDashIndex;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
SK_API sk_sp< SkDocument > Make(SkWStream *dst, const SkSerialProcs *=nullptr, std::function< void(const SkPicture *)> onEndPage=nullptr)
Optional< SkRect > bounds
SKSHAPER_API sk_sp< Factory > Factory()