diff options
author | 2013-10-09 14:11:33 +0000 | |
---|---|---|
committer | 2013-10-09 14:11:33 +0000 | |
commit | c4dc0ad8e252a7e30d19b47d3d0d9f2c69faf854 (patch) | |
tree | 305c63cae824c4d5ae904a7c19c9785f601a7b72 /src/gpu/GrDrawTargetCaps.h | |
parent | 6ec1abf21e752abcca33ce3f95e31bc9ac9bb9eb (diff) |
Implement filling a path with nv_path_rendering cover
Implement filling a path with nv_path_rendering cover functionality.
The nv_path_rendering cover can be used if the fill is non-inverted
and the draw operation does not require use of vertex shaders.
Moves code for the inverted fill from GrStencilAndCoverPathRenderer
down to GrGpuGL.
R=bsalomon@google.com, markkilgard@gmail.com, cdalton@nvidia.com
Author: kkinnunen@nvidia.com
Review URL: https://codereview.chromium.org/22686002
git-svn-id: http://skia.googlecode.com/svn/trunk@11667 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrDrawTargetCaps.h')
-rw-r--r-- | src/gpu/GrDrawTargetCaps.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h index 61c9fede08..111b35bf74 100644 --- a/src/gpu/GrDrawTargetCaps.h +++ b/src/gpu/GrDrawTargetCaps.h @@ -34,7 +34,7 @@ public: bool geometryShaderSupport() const { return fGeometryShaderSupport; } bool dualSourceBlendingSupport() const { return fDualSourceBlendingSupport; } bool bufferLockSupport() const { return fBufferLockSupport; } - bool pathStencilingSupport() const { return fPathStencilingSupport; } + bool pathRenderingSupport() const { return fPathRenderingSupport; } bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; } bool reuseScratchTextures() const { return fReuseScratchTextures; } @@ -53,7 +53,7 @@ protected: bool fGeometryShaderSupport : 1; bool fDualSourceBlendingSupport : 1; bool fBufferLockSupport : 1; - bool fPathStencilingSupport : 1; + bool fPathRenderingSupport : 1; bool fDstReadInShaderSupport : 1; bool fReuseScratchTextures : 1; |