Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
SkSL_ColorSpaces |
, |
|
|
512 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 4 of file SkSL_ColorSpaces.cpp.
4 {
10}}
static sk_sp< SkColorSpace > rec2020()
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
static sk_sp< SkColorSpace > MakeRGB(const skcms_TransferFunction &transferFn, const skcms_Matrix3x3 &toXYZ)
sk_sp< SkImage > reinterpretColorSpace(sk_sp< SkColorSpace > newColorSpace) const
static constexpr skcms_Matrix3x3 kRec2020
static constexpr skcms_TransferFunction kSRGB
sk_sp< const SkImage > image