Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: src/gpu/gl/GrGLShaderBuilder.cpp

Issue 22686002: Implement path cover with nv_path_rendering (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Omission with non-inverted path bounds fixed Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/gl/GrGLShaderBuilder.cpp
diff --git a/src/gpu/gl/GrGLShaderBuilder.cpp b/src/gpu/gl/GrGLShaderBuilder.cpp
index 0d09606ddcfbbb7d9bdc351ecd4a817c1a71a2e4..ac993826d17396014e84cb1648ad6c168b9a2cd9 100644
--- a/src/gpu/gl/GrGLShaderBuilder.cpp
+++ b/src/gpu/gl/GrGLShaderBuilder.cpp
@@ -111,7 +111,7 @@ GrGLShaderBuilder::GrGLShaderBuilder(const GrGLContextInfo& ctxInfo,
// has fixed function/path rendering support, and position is the only vertex attribute.
if (hasVertexShaderEffects ||
!ctxInfo.caps()->fixedFunctionSupport() ||
- !ctxInfo.caps()->pathStencilingSupport() ||
+ !ctxInfo.caps()->pathRenderingSupport() ||
-1 != header.fLocalCoordAttributeIndex ||
-1 != header.fColorAttributeIndex ||
-1 != header.fCoverageAttributeIndex) {
« src/gpu/GrGpu.cpp ('K') | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGpuGL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698