Searched defs:GrColor (Results 1 - 1 of 1) sorted by relevance

/external/skia/include/gpu/
H A DGrColor.h20 * GrColor is 4 bytes for R, G, B, A, in a specific order defined below. Whether the color is
23 typedef uint32_t GrColor; typedef
25 // shift amount to assign a component to a GrColor int
42 * Pack 4 components (RGBA) into a GrColor int
44 static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a) {
58 static inline GrColor GrColorPackA4(unsigned a) {
66 // extract a component (byte) from a GrColor int
83 * Assert in debug builds that a GrColor is premultiplied.
85 static inline void GrColorIsPMAssert(GrColor SkDEBUGCODE(c)) {
99 static inline GrColor GrInvertColo
[all...]

Completed in 274 milliseconds