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

Side by Side Diff: src/gpu/gl/builders/GrGLProgramBuilder.cpp

Issue 920863002: A simple change to move a bunch of stuff out of Gr*Geometry.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clang fix Created 5 years, 10 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/builders/GrGLProgramBuilder.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 2014 Google Inc. 2 * Copyright 2014 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 #include "GrGLProgramBuilder.h" 8 #include "GrGLProgramBuilder.h"
9
10 #include "gl/GrGLGeometryProcessor.h"
11 #include "gl/GrGLGpu.h"
12 #include "gl/GrGLPathProcessor.h"
9 #include "gl/GrGLProgram.h" 13 #include "gl/GrGLProgram.h"
10 #include "gl/GrGLSLPrettyPrint.h" 14 #include "gl/GrGLSLPrettyPrint.h"
11 #include "gl/GrGLUniformHandle.h" 15 #include "gl/GrGLUniformHandle.h"
12 #include "../GrGLXferProcessor.h" 16 #include "gl/GrGLXferProcessor.h"
13 #include "../GrGLGpu.h"
14 #include "GrCoordTransform.h" 17 #include "GrCoordTransform.h"
15 #include "GrGLProgramBuilder.h" 18 #include "GrGLProgramBuilder.h"
16 #include "GrTexture.h" 19 #include "GrTexture.h"
17 #include "SkRTConf.h" 20 #include "SkRTConf.h"
18 #include "SkTraceEvent.h" 21 #include "SkTraceEvent.h"
19 22
20 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) 23 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X)
21 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) 24 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X)
22 25
23 //////////////////////////////////////////////////////////////////////////////// /////////////////// 26 //////////////////////////////////////////////////////////////////////////////// ///////////////////
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 } 492 }
490 493
491 //////////////////////////////////////////////////////////////////////////////// /////////////////// 494 //////////////////////////////////////////////////////////////////////////////// ///////////////////
492 495
493 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() { 496 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() {
494 int numProcs = fProcs.count(); 497 int numProcs = fProcs.count();
495 for (int e = 0; e < numProcs; ++e) { 498 for (int e = 0; e < numProcs; ++e) {
496 SkDELETE(fProcs[e]); 499 SkDELETE(fProcs[e]);
497 } 500 }
498 } 501 }
OLDNEW
« no previous file with comments | « src/gpu/gl/builders/GrGLProgramBuilder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698