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

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

Issue 1202293002: Move GLSL-specific routines/classes to separate glsl directory (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rename GrGLGLSL.{cpp,h} Created 5 years, 5 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/gl/GrGLSL_impl.h ('k') | src/gpu/gl/builders/GrGLFragmentShaderBuilder.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 GrGLShaderVar_DEFINED 8 #ifndef GrGLShaderVar_DEFINED
9 #define GrGLShaderVar_DEFINED 9 #define GrGLShaderVar_DEFINED
10 10
11 #include "GrGLContext.h" 11 #include "GrGLContext.h"
12 #include "GrGLSL.h"
13 #include "GrShaderVar.h" 12 #include "GrShaderVar.h"
14 13
15 #define USE_UNIFORM_FLOAT_ARRAYS true 14 #define USE_UNIFORM_FLOAT_ARRAYS true
16 15
17 /** 16 /**
18 * Represents a variable in a shader 17 * Represents a variable in a shader
19 */ 18 */
20 class GrGLShaderVar : public GrShaderVar { 19 class GrGLShaderVar : public GrShaderVar {
21 public: 20 public:
22 /** 21 /**
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 245
247 Origin fOrigin; 246 Origin fOrigin;
248 /// Work around driver bugs on some hardware that don't correctly 247 /// Work around driver bugs on some hardware that don't correctly
249 /// support uniform float [] 248 /// support uniform float []
250 bool fUseUniformFloatArrays; 249 bool fUseUniformFloatArrays;
251 250
252 typedef GrShaderVar INHERITED; 251 typedef GrShaderVar INHERITED;
253 }; 252 };
254 253
255 #endif 254 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLSL_impl.h ('k') | src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698