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

Unified Diff: src/gpu/GrProcessor.cpp

Issue 1288723002: Added mangleString member and onBefore*, onAfter* functions to GrGLFragmentShaderBuilder (Closed) Base URL: https://skia.googlesource.com/skia@cs3_flatten
Patch Set: Added a missing brace Created 5 years, 4 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 | « include/core/SkString.h ('k') | src/gpu/gl/builders/GrGLFragmentShaderBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrProcessor.cpp
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp
index 6cc2a20d719b4c2b69e0064e1cc7e681beb6ffc5..39c55a60e4d12ed26f11eacd861dc502f3ecf56b 100644
--- a/src/gpu/GrProcessor.cpp
+++ b/src/gpu/GrProcessor.cpp
@@ -150,8 +150,9 @@ int GrFragmentProcessor::registerChildProcessor(const GrFragmentProcessor* child
int index = fChildProcessors.count();
fChildProcessors.push_back(GrFragmentStage(child));
- if (child->willReadFragmentPosition())
+ if (child->willReadFragmentPosition()) {
this->setWillReadFragmentPosition();
+ }
return index;
}
« no previous file with comments | « include/core/SkString.h ('k') | src/gpu/gl/builders/GrGLFragmentShaderBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698