Flutter Engine
The Flutter Engine
|
#include <GrColorSpaceXform.h>
Public Member Functions | |
GrColorSpaceXform (const SkColorSpaceXformSteps &steps) | |
const SkColorSpaceXformSteps & | steps () const |
SkColor4f | apply (const SkColor4f &srcColor) |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< GrColorSpaceXform > | Make (SkColorSpace *src, SkAlphaType srcAT, SkColorSpace *dst, SkAlphaType dstAT) |
static sk_sp< GrColorSpaceXform > | Make (const GrColorInfo &srcInfo, const GrColorInfo &dstInfo) |
static uint32_t | XformKey (const GrColorSpaceXform *xform) |
static bool | Equals (const GrColorSpaceXform *a, const GrColorSpaceXform *b) |
Friends | |
class | GrGLSLColorSpaceXformHelper |
Represents a color space transformation
Definition at line 30 of file GrColorSpaceXform.h.
|
inline |
Definition at line 32 of file GrColorSpaceXform.h.
Definition at line 82 of file GrColorSpaceXform.cpp.
|
static |
Definition at line 54 of file GrColorSpaceXform.cpp.
|
static |
Definition at line 32 of file GrColorSpaceXform.cpp.
|
static |
Definition at line 25 of file GrColorSpaceXform.cpp.
|
inline |
Definition at line 39 of file GrColorSpaceXform.h.
|
static |
GrFragmentProcessor::addToKey() must call this and include the returned value in its computed key.
Definition at line 38 of file GrColorSpaceXform.cpp.
|
friend |
Definition at line 52 of file GrColorSpaceXform.h.