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

Side by Side Diff: src/gpu/gl/GrGLSL.h

Issue 648463002: Remove tab parameter from GrGLSLMulVarBy4f function (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix comment 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 unified diff | Download patch
« no previous file with comments | « src/gpu/effects/GrMatrixConvolutionEffect.cpp ('k') | src/gpu/gl/GrGLSL.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLSL_DEFINED 8 #ifndef GrGLSL_DEFINED
9 #define GrGLSL_DEFINED 9 #define GrGLSL_DEFINED
10 10
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 friend GrGLSLExpr4 operator+(const GrGLSLExpr4& in0, const GrGLSLExpr4&in1); 303 friend GrGLSLExpr4 operator+(const GrGLSLExpr4& in0, const GrGLSLExpr4&in1);
304 friend GrGLSLExpr4 operator-(const GrGLSLExpr4& in0, const GrGLSLExpr4&in1); 304 friend GrGLSLExpr4 operator-(const GrGLSLExpr4& in0, const GrGLSLExpr4&in1);
305 305
306 friend class GrGLSLExpr<GrGLSLExpr4>; 306 friend class GrGLSLExpr<GrGLSLExpr4>;
307 307
308 typedef GrGLSLExpr<GrGLSLExpr4> INHERITED; 308 typedef GrGLSLExpr<GrGLSLExpr4> INHERITED;
309 }; 309 };
310 310
311 /** 311 /**
312 * Does an inplace mul, *=, of vec4VarName by mulFactor. 312 * Does an inplace mul, *=, of vec4VarName by mulFactor.
313 * A semicolon and newline are added after the assignment. 313 * A semicolon is added after the assignment.
314 */ 314 */
315 void GrGLSLMulVarBy4f(SkString* outAppend, unsigned tabCnt, 315 void GrGLSLMulVarBy4f(SkString* outAppend, const char* vec4VarName, const GrGLSL Expr4& mulFactor);
316 const char* vec4VarName, const GrGLSLExpr4& mulFactor);
317 316
318 #include "GrGLSL_impl.h" 317 #include "GrGLSL_impl.h"
319 318
320 #endif 319 #endif
OLDNEW
« no previous file with comments | « src/gpu/effects/GrMatrixConvolutionEffect.cpp ('k') | src/gpu/gl/GrGLSL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698