Flutter Engine
The Flutter Engine
|
#include <GrTypesPriv.h>
Public Member Functions | |
constexpr int | r () const |
constexpr int | g () const |
constexpr int | b () const |
constexpr int | a () const |
constexpr int | operator[] (int c) const |
constexpr int | gray () const |
constexpr GrColorTypeEncoding | encoding () const |
Static Public Member Functions | |
static constexpr GrColorFormatDesc | MakeRGBA (int rgba, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeRGBA (int rgb, int a, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeRGB (int rgb, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeRGB (int r, int g, int b, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeAlpha (int a, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeR (int r, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeRG (int rg, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeGray (int grayBits, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeGrayAlpha (int grayAlpha, GrColorTypeEncoding e) |
static constexpr GrColorFormatDesc | MakeInvalid () |
Describes a GrColorType by how many bits are used for each color component and how they are encoded. Currently all the non-zero channels share a single GrColorTypeEncoding. This could be expanded to store separate encodings and to indicate which bits belong to which components.
Definition at line 718 of file GrTypesPriv.h.
|
inlineconstexpr |
Definition at line 761 of file GrTypesPriv.h.
|
inlineconstexpr |
Definition at line 760 of file GrTypesPriv.h.
|
inlineconstexpr |
Definition at line 774 of file GrTypesPriv.h.
|
inlineconstexpr |
Definition at line 759 of file GrTypesPriv.h.
|
inlineconstexpr |
Definition at line 772 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 736 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 748 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 752 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 756 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 740 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 744 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 732 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 728 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 724 of file GrTypesPriv.h.
|
inlinestaticconstexpr |
Definition at line 720 of file GrTypesPriv.h.
Definition at line 762 of file GrTypesPriv.h.
|
inlineconstexpr |
Definition at line 758 of file GrTypesPriv.h.