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

Side by Side Diff: src/gpu/gl/GrGLGpu.cpp

Issue 1233923004: Removing GrTemplates.h (Closed) Base URL: https://skia.googlesource.com/skia.git@grfontscaler
Patch Set: Created 5 years, 5 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/GrTemplates.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 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 #include "GrGLGpu.h" 9 #include "GrGLGpu.h"
10 #include "GrGLGLSL.h" 10 #include "GrGLGLSL.h"
11 #include "GrGLStencilAttachment.h" 11 #include "GrGLStencilAttachment.h"
12 #include "GrGLTextureRenderTarget.h" 12 #include "GrGLTextureRenderTarget.h"
13 #include "GrGpuResourcePriv.h" 13 #include "GrGpuResourcePriv.h"
14 #include "GrPipeline.h" 14 #include "GrPipeline.h"
15 #include "GrRenderTargetPriv.h" 15 #include "GrRenderTargetPriv.h"
16 #include "GrSurfacePriv.h" 16 #include "GrSurfacePriv.h"
17 #include "GrTemplates.h"
18 #include "GrTexturePriv.h" 17 #include "GrTexturePriv.h"
19 #include "GrTypes.h" 18 #include "GrTypes.h"
20 #include "GrVertices.h" 19 #include "GrVertices.h"
21 #include "builders/GrGLShaderStringBuilder.h" 20 #include "builders/GrGLShaderStringBuilder.h"
22 #include "glsl/GrGLSLCaps.h" 21 #include "glsl/GrGLSLCaps.h"
23 #include "SkStrokeRec.h" 22 #include "SkStrokeRec.h"
24 #include "SkTemplates.h" 23 #include "SkTemplates.h"
25 24
26 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X) 25 #define GL_CALL(X) GR_GL_CALL(this->glInterface(), X)
27 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X) 26 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->glInterface(), RET, X)
(...skipping 3128 matching lines...) Expand 10 before | Expand all | Expand 10 after
3156 this->setVertexArrayID(gpu, 0); 3155 this->setVertexArrayID(gpu, 0);
3157 } 3156 }
3158 int attrCount = gpu->glCaps().maxVertexAttributes(); 3157 int attrCount = gpu->glCaps().maxVertexAttributes();
3159 if (fDefaultVertexArrayAttribState.count() != attrCount) { 3158 if (fDefaultVertexArrayAttribState.count() != attrCount) {
3160 fDefaultVertexArrayAttribState.resize(attrCount); 3159 fDefaultVertexArrayAttribState.resize(attrCount);
3161 } 3160 }
3162 attribState = &fDefaultVertexArrayAttribState; 3161 attribState = &fDefaultVertexArrayAttribState;
3163 } 3162 }
3164 return attribState; 3163 return attribState;
3165 } 3164 }
OLDNEW
« no previous file with comments | « src/gpu/GrTemplates.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698