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

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

Issue 635533005: Revert of Cleanup of shader building system (Closed) Base URL: https://skia.googlesource.com/skia.git@solo_gp
Patch Set: 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/gl/GrGLProgramDataManager.cpp ('k') | src/gpu/gl/GrGLProgramDesc.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 2013 Google Inc. 2 * Copyright 2013 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 GrGLProgramDesc_DEFINED 8 #ifndef GrGLProgramDesc_DEFINED
9 #define GrGLProgramDesc_DEFINED 9 #define GrGLProgramDesc_DEFINED
10 10
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 kMaxPreallocEffects * sizeof(uint32_t) * kIntsPerEffect, 240 kMaxPreallocEffects * sizeof(uint32_t) * kIntsPerEffect,
241 }; 241 };
242 242
243 SkSTArray<kPreAllocSize, uint8_t, true> fKey; 243 SkSTArray<kPreAllocSize, uint8_t, true> fKey;
244 244
245 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod e. TODO: Split out 245 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod e. TODO: Split out
246 // part of GrGLShaderBuilder that is used by effects so that this header doe sn't need to be 246 // part of GrGLShaderBuilder that is used by effects so that this header doe sn't need to be
247 // visible to GrGLProcessors. Then make public accessors as necessary and re move friends. 247 // visible to GrGLProcessors. Then make public accessors as necessary and re move friends.
248 friend class GrGLProgram; 248 friend class GrGLProgram;
249 friend class GrGLProgramBuilder; 249 friend class GrGLProgramBuilder;
250 friend class GrGLLegacyNvprProgramBuilder; 250 friend class GrGLFullProgramBuilder;
251 friend class GrGLVertexBuilder; 251 friend class GrGLFragmentOnlyProgramBuilder;
252 friend class GrGLVertexShaderBuilder;
252 friend class GrGLFragmentShaderBuilder; 253 friend class GrGLFragmentShaderBuilder;
253 friend class GrGLGeometryBuilder; 254 friend class GrGLGeometryShaderBuilder;
254 }; 255 };
255 256
256 #endif 257 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgramDataManager.cpp ('k') | src/gpu/gl/GrGLProgramDesc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698