|
enum | InstancedSupport { kNone,
kBasic,
kMultisampled,
kMixedSampled
} |
| Indicates the level of support for gr_instanced::* functionality. More...
|
|
enum | BlendEquationSupport { kBasic_BlendEquationSupport,
kAdvanced_BlendEquationSupport,
kAdvancedCoherent_BlendEquationSupport,
kLast_BlendEquationSupport = kAdvancedCoherent_BlendEquationSupport
} |
| Indicates the capabilities of the fixed function blend unit.
|
|
enum | MapFlags { kNone_MapFlags = 0x0,
kCanMap_MapFlag = 0x1,
kSubset_MapFlag = 0x2
} |
| Indicates whether GPU->CPU memory mapping for GPU resources such as vertex buffers and textures allows partial mappings or full mappings.
|
|
|
| GrCaps (const GrContextOptions &) |
|
virtual SkString | dump () const |
|
const GrShaderCaps * | shaderCaps () const |
|
bool | npotTextureTileSupport () const |
|
bool | mipMapSupport () const |
| To avoid as-yet-unnecessary complexity we don't allow any partial support of MIP Maps (e.g. More...
|
|
bool | srgbSupport () const |
| Skia convention is that a device only has sRGB support if it supports sRGB formats for both textures and framebuffers. More...
|
|
bool | srgbWriteControl () const |
| Is there support for enabling/disabling sRGB writes for sRGB-capable color buffers?
|
|
bool | discardRenderTargetSupport () const |
|
bool | gpuTracingSupport () const |
|
bool | oversizedStencilSupport () const |
|
bool | textureBarrierSupport () const |
|
bool | sampleLocationsSupport () const |
|
bool | multisampleDisableSupport () const |
|
bool | instanceAttribSupport () const |
|
bool | usesMixedSamples () const |
|
bool | preferClientSideDynamicBuffers () const |
|
bool | useDrawInsteadOfClear () const |
|
bool | preferVRAMUseOverFlushes () const |
|
InstancedSupport | instancedSupport () const |
|
bool | avoidInstancedDrawsToFPTargets () const |
|
bool | avoidStencilBuffers () const |
|
BlendEquationSupport | blendEquationSupport () const |
|
bool | advancedBlendEquationSupport () const |
|
bool | advancedCoherentBlendEquationSupport () const |
|
bool | canUseAdvancedBlendEquation (GrBlendEquation equation) const |
|
uint32_t | mapBufferFlags () const |
|
bool | reuseScratchTextures () const |
|
bool | reuseScratchBuffers () const |
|
int | maxVertexAttributes () const |
| maximum number of attribute values per vertex
|
|
int | maxRenderTargetSize () const |
|
int | maxTextureSize () const |
|
int | maxTileSize () const |
| This is the maximum tile size to use by GPU devices for rendering sw-backed images/bitmaps. More...
|
|
int | maxColorSampleCount () const |
|
int | maxStencilSampleCount () const |
|
int | maxRasterSamples () const |
|
int | maxSampleCount () const |
|
int | maxWindowRectangles () const |
|
virtual bool | isConfigTexturable (GrPixelConfig) const =0 |
|
virtual bool | isConfigRenderable (GrPixelConfig config, bool withMSAA) const =0 |
|
virtual bool | canConfigBeImageStorage (GrPixelConfig config) const =0 |
|
bool | suppressPrints () const |
|
size_t | bufferMapThreshold () const |
|
bool | fullClearIsFree () const |
|
bool | mustClearUploadedBufferData () const |
| True in environments that will issue errors if memory uploaded to buffers is not initialized (even if not read by draw calls). More...
|
|
bool | wireframeMode () const |
|
bool | sampleShadingSupport () const |
|
bool | fenceSyncSupport () const |
|
bool | crossContextTextureSupport () const |
|
virtual bool | initDescForDstCopy (const GrRenderTargetProxy *src, GrSurfaceDesc *desc, bool *rectsMustMatch, bool *disallowSubrect) const =0 |
| This is can be called before allocating a texture to be a dst for copySurface. More...
|
|
| SkRefCntBase () |
| Default construct, initializing the reference count to 1.
|
|
virtual | ~SkRefCntBase () |
| Destruct, asserting that the reference count is 1.
|
|
int32_t | getRefCnt () const |
| Return the reference count. More...
|
|
void | validate () const |
|
bool | unique () const |
| May return true if the caller is the only owner. More...
|
|
void | ref () const |
| Increment the reference count. More...
|
|
void | unref () const |
| Decrement the reference count. More...
|
|
|
sk_sp< GrShaderCaps > | fShaderCaps |
|
bool | fNPOTTextureTileSupport: 1 |
|
bool | fMipMapSupport: 1 |
|
bool | fSRGBSupport: 1 |
|
bool | fSRGBWriteControl: 1 |
|
bool | fDiscardRenderTargetSupport: 1 |
|
bool | fReuseScratchTextures: 1 |
|
bool | fReuseScratchBuffers: 1 |
|
bool | fGpuTracingSupport: 1 |
|
bool | fOversizedStencilSupport: 1 |
|
bool | fTextureBarrierSupport: 1 |
|
bool | fSampleLocationsSupport: 1 |
|
bool | fMultisampleDisableSupport: 1 |
|
bool | fInstanceAttribSupport: 1 |
|
bool | fUsesMixedSamples: 1 |
|
bool | fPreferClientSideDynamicBuffers: 1 |
|
bool | fFullClearIsFree: 1 |
|
bool | fMustClearUploadedBufferData: 1 |
|
bool | fUseDrawInsteadOfClear: 1 |
|
bool | fAvoidInstancedDrawsToFPTargets: 1 |
|
bool | fAvoidStencilBuffers: 1 |
|
bool | fPreferVRAMUseOverFlushes: 1 |
|
bool | fSampleShadingSupport: 1 |
|
bool | fFenceSyncSupport: 1 |
|
bool | fCrossContextTextureSupport: 1 |
|
InstancedSupport | fInstancedSupport |
|
BlendEquationSupport | fBlendEquationSupport |
|
uint32_t | fAdvBlendEqBlacklist |
|
uint32_t | fMapBufferFlags |
|
int | fBufferMapThreshold |
|
int | fMaxRenderTargetSize |
|
int | fMaxVertexAttributes |
|
int | fMaxTextureSize |
|
int | fMaxTileSize |
|
int | fMaxColorSampleCount |
|
int | fMaxStencilSampleCount |
|
int | fMaxRasterSamples |
|
int | fMaxWindowRectangles |
|
Represents the capabilities of a GrContext.