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

Side by Side Diff: src/gpu/glsl/GrGLSLVertexShaderBuilder.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/glsl/GrGLSLVarying.cpp ('k') | src/gpu/glsl/GrGLSLVertexShaderBuilder.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 2014 Google Inc. 2 * Copyright 2014 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 GrGLSLVertexShader_DEFINED 8 #ifndef GrGLSLVertexShader_DEFINED
9 #define GrGLSLVertexShader_DEFINED 9 #define GrGLSLVertexShader_DEFINED
10 10
11 #include "GrGLSLShaderBuilder.h" 11 #include "GrGLSLShaderBuilder.h"
12 #include "GrGeometryProcessor.h" 12 #include "GrGeometryProcessor.h"
13 13
14 class GrGLSLVarying; 14 class GrGLSLVarying;
15 15
16 // Enough precision to represent 1 / 2048 accurately in printf 16 // Enough precision to represent 1 / 2048 accurately in printf
17 #define GR_SIGNIFICANT_POW2_DECIMAL_DIG 11 17 #define GR_SIGNIFICANT_POW2_DECIMAL_DIG 11
18 18
19 class GrGLSLVertexBuilder : public GrGLSLShaderBuilder { 19 class GrGLSLVertexBuilder : public GrGLSLShaderBuilder {
20 public: 20 public:
21 GrGLSLVertexBuilder(GrGLSLProgramBuilder* program); 21 GrGLSLVertexBuilder(GrGLSLProgramBuilder* program);
22 22
23 void transformToNormalizedDeviceSpace(const GrShaderVar& posVar); 23 void transformToNormalizedDeviceSpace(const GrShaderVar& posVar);
24 private: 24 private:
25 void onFinalize() override; 25 void onFinalize() override;
26 26
27 const char* fRtAdjustName; 27 const char* fRtAdjustName;
28 28
29 friend class GrGLProgramBuilder; 29 friend class GrGLProgramBuilder;
30 30
31 typedef GrGLSLShaderBuilder INHERITED; 31 typedef GrGLSLShaderBuilder INHERITED;
32 }; 32 };
33 33
34 #endif 34 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLVarying.cpp ('k') | src/gpu/glsl/GrGLSLVertexShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698