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

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

Issue 12531015: Adds local coords to GrEffect system. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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/GrGLEffectMatrix.cpp ('k') | src/gpu/gl/GrGLProgram.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 8
9 #ifndef GrGLProgram_DEFINED 9 #ifndef GrGLProgram_DEFINED
10 #define GrGLProgram_DEFINED 10 #define GrGLProgram_DEFINED
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 uint8_t fCoverageInput; // casts to enum Col orInput 185 uint8_t fCoverageInput; // casts to enum Col orInput
186 uint8_t fDualSrcOutput; // casts to enum Dua lSrcOutput 186 uint8_t fDualSrcOutput; // casts to enum Dua lSrcOutput
187 int8_t fFirstCoverageStage; 187 int8_t fFirstCoverageStage;
188 SkBool8 fEmitsPointSize; 188 SkBool8 fEmitsPointSize;
189 uint8_t fColorFilterXfermode; // casts to enum SkX fermode::Mode 189 uint8_t fColorFilterXfermode; // casts to enum SkX fermode::Mode
190 190
191 int8_t fPositionAttributeIndex; 191 int8_t fPositionAttributeIndex;
192 int8_t fColorAttributeIndex; 192 int8_t fColorAttributeIndex;
193 int8_t fCoverageAttributeIndex; 193 int8_t fCoverageAttributeIndex;
194 int8_t fEdgeAttributeIndex; 194 int8_t fEdgeAttributeIndex;
195 int8_t fTexCoordAttributeIndex; 195 int8_t fLocalCoordsAttributeIndex;
196 196
197 friend class GrGLProgram; 197 friend class GrGLProgram;
198 }; 198 };
199 199
200 // Layout information for OpenGL vertex attributes 200 // Layout information for OpenGL vertex attributes
201 struct AttribLayout { 201 struct AttribLayout {
202 GrGLint fCount; 202 GrGLint fCount;
203 GrGLenum fType; 203 GrGLenum fType;
204 GrGLboolean fNormalized; 204 GrGLboolean fNormalized;
205 }; 205 };
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 Desc fDesc; 292 Desc fDesc;
293 const GrGLContext& fContext; 293 const GrGLContext& fContext;
294 294
295 GrGLUniformManager fUniformManager; 295 GrGLUniformManager fUniformManager;
296 UniformHandles fUniformHandles; 296 UniformHandles fUniformHandles;
297 297
298 typedef GrRefCnt INHERITED; 298 typedef GrRefCnt INHERITED;
299 }; 299 };
300 300
301 #endif 301 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLEffectMatrix.cpp ('k') | src/gpu/gl/GrGLProgram.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698