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

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

Issue 1333423003: move GrGLPathProcessor back into GrPathProcessor (Closed) Base URL: https://skia.googlesource.com/skia.git@pathgp2
Patch Set: Created 5 years, 3 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/GrGLProgram.cpp ('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 9
10 #include "GrAutoLocaleSetter.h" 10 #include "GrAutoLocaleSetter.h"
11 #include "GrCoordTransform.h" 11 #include "GrCoordTransform.h"
12 #include "GrGLProgramBuilder.h" 12 #include "GrGLProgramBuilder.h"
13 #include "GrTexture.h" 13 #include "GrTexture.h"
14 #include "SkRTConf.h" 14 #include "SkRTConf.h"
15 #include "SkTraceEvent.h" 15 #include "SkTraceEvent.h"
16 #include "gl/GrGLGeometryProcessor.h" 16 #include "gl/GrGLGeometryProcessor.h"
17 #include "gl/GrGLGpu.h" 17 #include "gl/GrGLGpu.h"
18 #include "gl/GrGLPathProcessor.h"
19 #include "gl/GrGLProgram.h" 18 #include "gl/GrGLProgram.h"
20 #include "gl/GrGLSLPrettyPrint.h" 19 #include "gl/GrGLSLPrettyPrint.h"
21 #include "gl/GrGLXferProcessor.h" 20 #include "gl/GrGLXferProcessor.h"
22 #include "glsl/GrGLSLCaps.h" 21 #include "glsl/GrGLSLCaps.h"
23 22
24 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) 23 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X)
25 #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)
26 25
27 const int GrGLProgramBuilder::kVarsPerBlock = 8; 26 const int GrGLProgramBuilder::kVarsPerBlock = 8;
28 27
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 } 515 }
517 516
518 //////////////////////////////////////////////////////////////////////////////// /////////////////// 517 //////////////////////////////////////////////////////////////////////////////// ///////////////////
519 518
520 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() { 519 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() {
521 int numProcs = fProcs.count(); 520 int numProcs = fProcs.count();
522 for (int i = 0; i < numProcs; ++i) { 521 for (int i = 0; i < numProcs; ++i) {
523 delete fProcs[i]; 522 delete fProcs[i];
524 } 523 }
525 } 524 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLProgram.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698