#include <GrBackendSurface.h>
◆ GrBackendFormat() [1/2]
GrBackendFormat::GrBackendFormat |
( |
| ) |
|
◆ GrBackendFormat() [2/2]
◆ ~GrBackendFormat()
GrBackendFormat::~GrBackendFormat |
( |
| ) |
|
◆ asMockColorType()
GrColorType GrBackendFormat::asMockColorType |
( |
| ) |
const |
If the backend API is not Mock these three calls will return kUnknown, kNone or false, respectively.
Otherwise, only one of the following can be true. The GrColorType is not kUnknown, the compression type is not kNone, or this is a mock stencil format.
◆ asMockCompressionType()
◆ backend()
◆ channelMask()
uint32_t GrBackendFormat::channelMask |
( |
| ) |
const |
Gets the channels present in the format as a bitfield of SkColorChannelFlag values.
Luminance channels are reported as kGray_SkColorChannelFlag.
◆ desc()
GrColorFormatDesc GrBackendFormat::desc |
( |
| ) |
const |
◆ isMockStencilFormat()
bool GrBackendFormat::isMockStencilFormat |
( |
| ) |
const |
◆ isValid()
bool GrBackendFormat::isValid |
( |
| ) |
const |
|
inline |
◆ MakeMock()
◆ makeTexture2D()
◆ operator!=()
◆ operator=()
◆ operator==()
◆ textureType()
GrTextureType GrBackendFormat::textureType |
( |
| ) |
const |
|
inline |
◆ GrBackendFormatData
friend class GrBackendFormatData |
|
friend |
◆ GrBackendSurfacePriv
friend class GrBackendSurfacePriv |
|
friend |
◆ fColorType
GrColorType GrBackendFormat::fColorType |
◆ fCompressionType
◆ fIsStencilFormat
bool GrBackendFormat::fIsStencilFormat |
struct { ... } GrBackendFormat::fMock |
The documentation for this class was generated from the following file: