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

Unified Diff: src/gpu/gl/builders/GrGLVertexShaderBuilder.h

Issue 628293002: Plumb OptDrawState down to VertexShaderBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Clean up Created 6 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
Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.h
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h
index c93b3be6682c5252025a27233deb9ad3ea78f71b..d6ba104abac04074984e1ffe52c8e59b21c5148d 100644
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.h
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.h
@@ -54,7 +54,7 @@ private:
/*
* private helpers for compilation by GrGLProgramBuilder
*/
- void bindProgramLocations(GrGLuint programId);
+ void bindProgramLocations(const GrOptDrawState&, GrGLuint programId);
bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const;
void emitCodeBeforeEffects(GrGLSLExpr4* color, GrGLSLExpr4* coverage);
void emitCodeAfterEffects();

Powered by Google App Engine
This is Rietveld 408576698