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

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

Issue 25846002: Use vertexless shaders when NVpr is available (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Fix mac build Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/gl/GrGLProgram.cpp ('k') | src/gpu/gl/GrGLProgramEffects.h » ('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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 }; 226 };
227 227
228 SkAutoSMalloc<kPreAllocSize> fKey; 228 SkAutoSMalloc<kPreAllocSize> fKey;
229 bool fInitialized; 229 bool fInitialized;
230 230
231 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod e. TODO: Move all 231 // GrGLProgram and GrGLShaderBuilder read the private fields to generate cod e. TODO: Move all
232 // code generation to GrGLShaderBuilder (and maybe add getters rather than f riending). 232 // code generation to GrGLShaderBuilder (and maybe add getters rather than f riending).
233 friend class GrGLProgram; 233 friend class GrGLProgram;
234 friend class GrGLShaderBuilder; 234 friend class GrGLShaderBuilder;
235 friend class GrGLFullShaderBuilder; 235 friend class GrGLFullShaderBuilder;
236 friend class GrGLFragmentOnlyShaderBuilder;
236 }; 237 };
237 238
238 #endif 239 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgram.cpp ('k') | src/gpu/gl/GrGLProgramEffects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698