40 for (
int b = 0;
b < 64; ++
b) {
41 for (
int r = 0; r < 64; ++r) {
42 for (
int g = 0; g < 64; ++g) {
70DEF_GM(
return new ColorCubeGM; )
#define SkASSERT_RELEASE(cond)
static SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b)
static constexpr const T & SkTPin(const T &x, const T &lo, const T &hi)
const SkPixmap & pixmap() const
void allocN32Pixels(int width, int height, bool isOpaque=false)
uint32_t * getAddr32(int x, int y) const
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
void onOnceBeforeDraw() override
void onDraw(SkCanvas *canvas) override
SkString getName() const override
SkISize getISize() override
GM(SkColor backgroundColor=SK_ColorWHITE)
SK_API sk_sp< SkImage > DeferredFromEncodedData(sk_sp< SkData > encoded, std::optional< SkAlphaType > alphaType=std::nullopt)
SK_API bool Encode(SkWStream *dst, const SkPixmap &src, const Options &options)
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static constexpr SkISize Make(int32_t w, int32_t h)