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
static std::unique_ptr< SkEncoder > Make(SkWStream *dst, const SkPixmap *src, const SkYUVAPixmaps *srcYUVA, const SkColorSpace *srcYUVAColorSpace, const SkJpegEncoder::Options &options)
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
SKSHAPER_API sk_sp< Factory > Factory()