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

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

Issue 32403002: Fix GrProgramsTest to not generate tests with too many TexCoord references (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: adress Created 7 years, 2 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
« no previous file with comments | « src/gpu/gl/GrGLShaderBuilder.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGpuGL.h
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
index 65e82077bc74eb3dbcc52dac47bb442131a9b283..5ff34aec2265510c30201cb7f6cd1edcb9ff91ff 100644
--- a/src/gpu/gl/GrGpuGL.h
+++ b/src/gpu/gl/GrGpuGL.h
@@ -50,6 +50,10 @@ public:
void enableTexGen(int unitIdx, TexGenComponents, const GrGLfloat* coefficients);
void enableTexGen(int unitIdx, TexGenComponents, const SkMatrix& matrix);
void disableUnusedTexGen(int numUsedTexCoordSets);
+ bool shouldUseFixedFunctionTexturing() const {
+ return this->glCaps().fixedFunctionSupport() &&
+ this->glCaps().pathRenderingSupport();
+ }
bool programUnitTest(int maxStages);
« no previous file with comments | « src/gpu/gl/GrGLShaderBuilder.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698