8 #ifndef GrContextOptions_DEFINED
9 #define GrContextOptions_DEFINED
18 bool fSuppressPrints =
false;
29 bool fSuppressDualSourceBlending =
false;
88 kStencilAndCover = 1 << 1,
92 kAALinearizing = 1 << 5,
94 kTessellating = 1 << 7,
97 kAll = kDefault | (kDefault - 1),
100 kDistanceField = kSmall
Definition: GrContextOptions.h:14
int fMaxTextureSizeOverride
Overrides: These options override feature detection using backend API queries.
Definition: GrContextOptions.h:24
bool fUseShaderSwizzling
Force us to do all swizzling manually in the shader and don't rely on extensions to do swizzling...
Definition: GrContextOptions.h:41
bool fSuppressPathRendering
If true, the caps will never report driver support for path rendering.
Definition: GrContextOptions.h:75
bool fUseDrawInsteadOfPartialRenderTargetWrite
some gpus have problems with partial writes of the rendertarget
Definition: GrContextOptions.h:37
bool fRequireDecodeDisableForSRGB
If true, sRGB support will not be enabled unless sRGB decoding can be disabled (via an extension)...
Definition: GrContextOptions.h:64
GpuPathRenderers
Allows the client to include or exclude specific GPU path renderers.
Definition: GrContextOptions.h:85
bool fAvoidStencilBuffers
Bugs on certain drivers cause stencil buffers to leak.
Definition: GrContextOptions.h:114
int fMaxTileSizeOverride
If non-zero, overrides the maximum size of a tile for sw-backed images and bitmaps rendered by SkGpuD...
Definition: GrContextOptions.h:28
bool fDoManualMipmapping
Construct mipmaps manually, via repeated downsampling draw-calls.
Definition: GrContextOptions.h:46
int fBufferMapThreshold
the threshold in bytes above which we will use a buffer mapping API to map vertex and index buffers t...
Definition: GrContextOptions.h:34
float fGlyphCacheTextureMaximumBytes
The maximum size of cache textures used for Skia's Glyph cache.
Definition: GrContextOptions.h:108
bool fWireframeMode
Render everything in wireframe.
Definition: GrContextOptions.h:80
bool fAllowPathMaskCaching
If true this allows path mask textures to be cached.
Definition: GrContextOptions.h:56
bool fDisableGpuYUVConversion
If true, the GPU will not be used to perform YUV -> RGB conversion when generating textures from code...
Definition: GrContextOptions.h:70
bool fEnableInstancedRendering
Enable instanced rendering as long as all required functionality is supported by the HW...
Definition: GrContextOptions.h:50