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

Unified Diff: src/gpu/gl/GrGpuGL.h

Issue 367643004: Implement NVPR on GLES (Closed) Base URL: https://skia.googlesource.com/skia.git@02-path-program-fragment
Patch Set: Created 6 years, 6 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/GrGpuGL.h
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
index a2c636d2aad7fdd01089205075510de9e73c8765..3322a4b6054455917d50300b913a5346d08e8ec9 100644
--- a/src/gpu/gl/GrGpuGL.h
+++ b/src/gpu/gl/GrGpuGL.h
@@ -59,8 +59,9 @@ public:
void enablePathTexGen(int unitIdx, PathTexGenComponents, const SkMatrix& matrix);
void flushPathTexGenSettings(int numUsedTexCoordSets);
bool shouldUseFixedFunctionTexturing() const {
- return this->glCaps().pathRenderingSupport();
+ return this->glCaps().pathRenderingSupport() && glStandard() == kGL_GrGLStandard;
}
+ void setProgramPathFragmentInputGen(int fragmentInputLocation, size_t components, const GrGLfloat* coefficients);
bool programUnitTest(int maxStages);

Powered by Google App Engine
This is Rietveld 408576698