28 auto imgA =
a.asImage();
29 auto imgB =
b.asImage();
DEF_TEST(ImageBitmapIdentity, r)
constexpr SkColor SK_ColorBLACK
#define REPORTER_ASSERT(r, cond,...)
sk_sp< SkImage > asImage() const
bool extractSubset(SkBitmap *dst, const SkIRect &subset) const
uint32_t getGenerationID() const
void allocN32Pixels(int width, int height, bool isOpaque=false)
void eraseColor(SkColor4f) const
static constexpr SkIRect MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h)