22 std::unique_ptr<Recorder> recorder = context->makeRecorder();
34 "RecorderTestTexture");
42 "RecorderTestTexture");
50 "RecorderTestTexture");
58 "RecorderTestTexture");
70 device2->setImmutable();
86 recorder->priv().flushTrackedDevices();
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kRGBA_8888_SkColorType
pixel with 8 bits for red, green, blue, alpha; in 32-bit word
#define REPORTER_ASSERT(r, cond,...)
void reset(T *ptr=nullptr)
DEF_GRAPHITE_TEST_FOR_ALL_CONTEXTS(RecorderDevicePtrTest, reporter, context, CtsEnforcement::kNextRelease)
SK_API sk_sp< SkDocument > Make(SkWStream *dst, const SkSerialProcs *=nullptr, std::function< void(const SkPicture *)> onEndPage=nullptr)
static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at)