GRContextOptions.AvoidStencilBuffers Property

Definition

Gets or sets a value indicating whether to avoid allocating stencil buffers.

public bool AvoidStencilBuffers { get; set; }

Property Value

Remarks

Bugs on certain drivers cause stencil buffers to leak. This flag causes Skia to avoid allocating stencil buffers and use alternate rasterization paths, avoiding the leak.

Applies to