Flutter Engine
The Flutter Engine
|
#include <GrMockTypes.h>
Classes | |
struct | ConfigOptions |
Public Member Functions | |
GrMockOptions () | |
Public Attributes | |
bool | fMipmapSupport = false |
bool | fDrawInstancedSupport = false |
bool | fHalfFloatVertexAttributeSupport = false |
uint32_t | fMapBufferFlags = 0 |
int | fMaxTextureSize = 2048 |
int | fMaxRenderTargetSize = 2048 |
int | fMaxWindowRectangles = 0 |
int | fMaxVertexAttributes = 16 |
ConfigOptions | fConfigOptions [kGrColorTypeCnt] |
ConfigOptions | fCompressedOptions [kSkTextureCompressionTypeCount] |
bool | fIntegerSupport = false |
bool | fFlatInterpolationSupport = false |
int | fMaxVertexSamplers = 0 |
int | fMaxFragmentSamplers = 8 |
bool | fShaderDerivativeSupport = true |
bool | fDualSourceBlendingSupport = false |
bool | fFailTextureAllocations = false |
A pointer to this type is used as the GrBackendContext when creating a Mock GrContext. It can be used to specify capability options for the mock context. If nullptr is used a default constructed GrMockOptions is used.
Definition at line 118 of file GrMockTypes.h.
|
inline |
Definition at line 119 of file GrMockTypes.h.
ConfigOptions GrMockOptions::fCompressedOptions[kSkTextureCompressionTypeCount] |
Definition at line 152 of file GrMockTypes.h.
ConfigOptions GrMockOptions::fConfigOptions[kGrColorTypeCnt] |
Definition at line 151 of file GrMockTypes.h.
bool GrMockOptions::fDrawInstancedSupport = false |
Definition at line 144 of file GrMockTypes.h.
bool GrMockOptions::fDualSourceBlendingSupport = false |
Definition at line 160 of file GrMockTypes.h.
bool GrMockOptions::fFailTextureAllocations = false |
Definition at line 163 of file GrMockTypes.h.
bool GrMockOptions::fFlatInterpolationSupport = false |
Definition at line 156 of file GrMockTypes.h.
bool GrMockOptions::fHalfFloatVertexAttributeSupport = false |
Definition at line 145 of file GrMockTypes.h.
bool GrMockOptions::fIntegerSupport = false |
Definition at line 155 of file GrMockTypes.h.
uint32_t GrMockOptions::fMapBufferFlags = 0 |
Definition at line 146 of file GrMockTypes.h.
int GrMockOptions::fMaxFragmentSamplers = 8 |
Definition at line 158 of file GrMockTypes.h.
int GrMockOptions::fMaxRenderTargetSize = 2048 |
Definition at line 148 of file GrMockTypes.h.
int GrMockOptions::fMaxTextureSize = 2048 |
Definition at line 147 of file GrMockTypes.h.
int GrMockOptions::fMaxVertexAttributes = 16 |
Definition at line 150 of file GrMockTypes.h.
int GrMockOptions::fMaxVertexSamplers = 0 |
Definition at line 157 of file GrMockTypes.h.
int GrMockOptions::fMaxWindowRectangles = 0 |
Definition at line 149 of file GrMockTypes.h.
bool GrMockOptions::fMipmapSupport = false |
Definition at line 143 of file GrMockTypes.h.
bool GrMockOptions::fShaderDerivativeSupport = true |
Definition at line 159 of file GrMockTypes.h.