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

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

Issue 1410333003: Move definitions of GrGL basic types (e.g. GrGLenum) to their own header. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 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/GrGLPathRendering.h ('k') | no next file » | 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 GrGLVertexArray_DEFINED 8 #ifndef GrGLVertexArray_DEFINED
9 #define GrGLVertexArray_DEFINED 9 #define GrGLVertexArray_DEFINED
10 10
11 #include "GrTypesPriv.h" 11 #include "GrTypesPriv.h"
12 #include "gl/GrGLDefines.h" 12 #include "gl/GrGLDefines.h"
13 #include "gl/GrGLFunctions.h" 13 #include "gl/GrGLTypes.h"
14 #include "SkTArray.h" 14 #include "SkTArray.h"
15 15
16 class GrGLVertexBuffer; 16 class GrGLVertexBuffer;
17 class GrGLIndexBuffer; 17 class GrGLIndexBuffer;
18 class GrGLGpu; 18 class GrGLGpu;
19 19
20 struct GrGLAttribLayout { 20 struct GrGLAttribLayout {
21 GrGLint fCount; 21 GrGLint fCount;
22 GrGLenum fType; 22 GrGLenum fType;
23 GrGLboolean fNormalized; 23 GrGLboolean fNormalized;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void invalidateCachedState(); 160 void invalidateCachedState();
161 161
162 private: 162 private:
163 GrGLuint fID; 163 GrGLuint fID;
164 GrGLAttribArrayState fAttribArrays; 164 GrGLAttribArrayState fAttribArrays;
165 GrGLuint fIndexBufferID; 165 GrGLuint fIndexBufferID;
166 bool fIndexBufferIDIsValid; 166 bool fIndexBufferIDIsValid;
167 }; 167 };
168 168
169 #endif 169 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLPathRendering.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698