Skia
2DGraphicsLibrary
|
Public Attributes | |
bool | fSuppressPrints |
int | fMaxTextureSizeOverride |
Overrides: These options override feature detection using backend API queries. More... | |
int | fMaxTileSizeOverride |
If non-zero, overrides the maximum size of a tile for sw-backed images and bitmaps rendered by SkGpuDevice. More... | |
bool | fSuppressDualSourceBlending |
int | fBufferMapThreshold |
the threshold in bytes above which we will use a buffer mapping API to map vertex and index buffers to CPU memory in order to update them. More... | |
bool | fUseDrawInsteadOfPartialRenderTargetWrite |
some gpus have problems with partial writes of the rendertarget | |
bool | fImmediateMode |
The GrContext operates in immediate mode. More... | |
bool | fClipBatchToBounds |
For debugging purposes turn each GrBatch's bounds into a clip rect. More... | |
bool | fDrawBatchBounds |
For debugging purposes draw a wireframe device bounds rect for each GrBatch. More... | |
int | fMaxBatchLookback |
For debugging, override the default maximum look-back or look-ahead window for GrBatch combining. More... | |
int | fMaxBatchLookahead |
bool | fUseShaderSwizzling |
Force us to do all swizzling manually in the shader and don't rely on extensions to do swizzling. More... | |
bool | fDoManualMipmapping |
Construct mipmaps manually, via repeated downsampling draw-calls. More... | |
bool | fEnableInstancedRendering |
Enable instanced rendering as long as all required functionality is supported by the HW. More... | |
int GrContextOptions::fBufferMapThreshold |
the threshold in bytes above which we will use a buffer mapping API to map vertex and index buffers to CPU memory in order to update them.
A value of -1 means the GrContext should deduce the optimal value for this platform.
bool GrContextOptions::fClipBatchToBounds |
For debugging purposes turn each GrBatch's bounds into a clip rect.
This is used to verify that the clip bounds are conservative.
bool GrContextOptions::fDoManualMipmapping |
Construct mipmaps manually, via repeated downsampling draw-calls.
This is used when the driver's implementation (glGenerateMipmap) contains bugs. This requires mipmap level and LOD control (ie desktop or ES3).
bool GrContextOptions::fDrawBatchBounds |
For debugging purposes draw a wireframe device bounds rect for each GrBatch.
The wire frame rect is draw before the GrBatch in order to visualize batches that draw outside of their dev bounds.
bool GrContextOptions::fEnableInstancedRendering |
Enable instanced rendering as long as all required functionality is supported by the HW.
Instanced rendering is still experimental at this point and disabled by default.
bool GrContextOptions::fImmediateMode |
The GrContext operates in immediate mode.
It will issue all draws to the backend API immediately. Intended to ease debugging.
int GrContextOptions::fMaxBatchLookback |
For debugging, override the default maximum look-back or look-ahead window for GrBatch combining.
int GrContextOptions::fMaxTextureSizeOverride |
Overrides: These options override feature detection using backend API queries.
These overrides can only reduce the feature set or limits, never increase them beyond the detected values.
int GrContextOptions::fMaxTileSizeOverride |
If non-zero, overrides the maximum size of a tile for sw-backed images and bitmaps rendered by SkGpuDevice.
bool GrContextOptions::fUseShaderSwizzling |
Force us to do all swizzling manually in the shader and don't rely on extensions to do swizzling.