|
enum | ReadInput { kWill_ReadInput,
kWillNot_ReadInput
} |
|
|
| GrInvariantOutput (GrColor color, GrColorComponentFlags flags, bool isSingleComponent) |
|
| GrInvariantOutput (const GrInitInvariantOutput &io) |
|
void | mulByUnknownOpaqueFourComponents () |
|
void | mulByUnknownFourComponents () |
|
void | mulByUnknownSingleComponent () |
|
void | mulByKnownSingleComponent (uint8_t alpha) |
|
void | mulByKnownFourComponents (GrColor color) |
|
void | mulAlphaByKnownFourComponents (GrColor color) |
|
void | mulAlphaByKnownSingleComponent (uint8_t alpha) |
|
void | premulFourChannelColor () |
|
void | invalidateComponents (GrColorComponentFlags invalidateFlags, ReadInput readsInput) |
|
void | setToOther (GrColorComponentFlags validFlags, GrColor color, ReadInput readsInput) |
|
void | setToUnknown (ReadInput readsInput) |
|
void | setUsingLCDCoverage () |
|
GrColor | color () const |
|
GrColorComponentFlags | validFlags () const |
|
bool | willUseInputColor () const |
|
void | reset (GrColor color, GrColorComponentFlags flags, bool isSingleComponent) |
|
void | reset (const GrInitInvariantOutput &io) |
|
void | internalSetToTransparentBlack () |
|
void | internalSetToUnknown () |
|
bool | hasZeroAlpha () const |
|
bool | isOpaque () const |
|
bool | isSolidWhite () const |
|
bool | isSingleComponent () const |
|
void | resetWillUseInputColor () |
|
bool | allStagesMulInput () const |
|
void | resetNonMulStageFound () |
|
bool | isLCDCoverage () const |
|
| SkDEBUGCODE (bool colorComponentsAllEqual() const ;) SkDEBUGCODE(bool validPreMulColor() const |
| If alpha is valid, check that any valid R,G,B values are <= A. More...
|
|
|
GrColor | fColor |
|
GrColorComponentFlags | fValidFlags |
|
bool | fIsSingleComponent |
|
bool | fNonMulStageFound |
|
bool | fWillUseInputColor |
|
bool | fIsLCDCoverage |
|
static GrInvariantOutput::SkDEBUGCODE |
( |
bool colorComponentsAllEqual() const ; |
| ) |
const |
|
inline |
If alpha is valid, check that any valid R,G,B values are <= A.
If isSingleComponent is true, then the flag values for r, g, b, and a must all be the same.
If the flags are all set then all color components must be equal.Extracts the alpha channel and returns true if r,g,b == a.
The documentation for this class was generated from the following file: