skia2/include/gpu
Eric Karl 5c77975e4c Add flag to avoid stencil buffers in Skia
Certain systems experience a leak in the GL driver associated with
stencil buffers. Attempts to avoid the leak (while still using stencil
buffers) dind't succeed. This patch adds a GrContextOption
fAvoidStencilBuffers. This disables certain path rendering modes, as
well as stencil based masking/clipping.

Bug: 713854
Change-Id: Ifa6c0f2bd5ee395547bda9165d6c79d197ae8b8b
Reviewed-on: https://skia-review.googlesource.com/15253
Commit-Queue: Eric Karl <ericrk@chromium.org>
Reviewed-by: Eric Karl <ericrk@chromium.org>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-05-09 17:41:25 +00:00
..
gl Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" 2017-05-01 14:14:50 +00:00
vk Revert "Revert "Plumb the use of GrBackendRenderTarget throughout Skia"" 2017-05-01 14:14:50 +00:00
GrBackendSurface.h Make GrBackendTexture take Gr*Info refs in ctor, and copy them. 2017-05-02 14:08:28 +00:00
GrBlend.h constexprify GrBlend.h and GrPorterDuffXferProcessor.cpp 2017-04-10 16:27:36 +00:00
GrCaps.h Add flag to avoid stencil buffers in Skia 2017-05-09 17:41:25 +00:00
GrColor.h Support premul/unpremul of F16 during read/writePixels 2017-03-22 16:31:39 +00:00
GrConfig.h Remove PLS path renderer 2017-03-06 17:10:10 +00:00
GrContext.h Rm makeRenderTargetContext in favor of deferred version (take 3) 2017-04-25 11:44:20 +00:00
GrContextOptions.h Add flag to avoid stencil buffers in Skia 2017-05-09 17:41:25 +00:00
GrExternalTextureData.h Revert "Revert "Plumb GrBackendTexture throughout skia."" 2017-04-20 17:17:43 +00:00
GrGpuResource.h Revert "Revert "Add a new GrResourceCache purging mechanism for purging unused resources."" 2017-03-22 20:08:21 +00:00
GrGpuResourceRef.h Add GrGpuTextureProxyRef 2017-05-04 13:29:29 +00:00
GrRenderTarget.h Remove discard from GrRenderTarget & force it to always go through a RenderTargetContext 2017-04-11 19:38:18 +00:00
GrResourceKey.h increase Builder's prealloc size after colorspace change 2017-03-10 14:17:53 +00:00
GrSamplerParams.h Rename GrTextureParams to GrSamplerParams 2016-11-17 21:13:18 +00:00
GrShaderCaps.h Remove PLS path renderer 2017-03-06 17:10:10 +00:00
GrSurface.h Move ReleaseProc info to GrTexture and for implementations to define it. 2017-04-21 17:20:27 +00:00
GrTexture.h Move ReleaseProc info to GrTexture and for implementations to define it. 2017-04-21 17:20:27 +00:00
GrTypes.h Treat cross context images as Ganesh-created resources 2017-03-13 14:07:46 +00:00
GrTypesPriv.h Remove support for GLs without separate stencil. 2017-05-08 16:50:04 +00:00