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

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

Issue 13097007: Move GrGLProgramDesc::Build to new cpp file. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: include gypi file in change 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
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
11 #include "GrGLEffect.h" 11 #include "GrGLEffect.h"
12 #include "GrDrawState.h"
12 13
13 class GrGpuGL; 14 class GrGpuGL;
14 15
15 // optionally compile the experimental GS code. Set to GR_DEBUG so that debug bu ild bots will 16 // optionally compile the experimental GS code. Set to GR_DEBUG so that debug bu ild bots will
16 // execute the code. 17 // execute the code.
17 #define GR_GL_EXPERIMENTAL_GS GR_DEBUG 18 #define GR_GL_EXPERIMENTAL_GS GR_DEBUG
18 19
19 20
20 /** This class describes a program to generate. It also serves as a program cach e key. The only 21 /** This class describes a program to generate. It also serves as a program cach e key. The only
21 thing GL-specific about this is the generation of GrGLEffect::EffectKeys. Wi th some refactoring 22 thing GL-specific about this is the generation of GrGLEffect::EffectKeys. Wi th some refactoring
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 int8_t fPositionAttributeIndex; 96 int8_t fPositionAttributeIndex;
96 int8_t fColorAttributeIndex; 97 int8_t fColorAttributeIndex;
97 int8_t fCoverageAttributeIndex; 98 int8_t fCoverageAttributeIndex;
98 int8_t fLocalCoordsAttributeIndex; 99 int8_t fLocalCoordsAttributeIndex;
99 100
100 // GrGLProgram reads the private fields to generate code. 101 // GrGLProgram reads the private fields to generate code.
101 friend class GrGLProgram; 102 friend class GrGLProgram;
102 }; 103 };
103 104
104 #endif 105 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698