OLD | NEW |
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 "gl/GrGLGeometryProcessor.h" | 10 #include "gl/GrGLGeometryProcessor.h" |
11 #include "gl/GrGLGpu.h" | 11 #include "gl/GrGLGpu.h" |
12 #include "gl/GrGLPathProcessor.h" | 12 #include "gl/GrGLPathProcessor.h" |
13 #include "gl/GrGLProgram.h" | 13 #include "gl/GrGLProgram.h" |
14 #include "gl/GrGLSLPrettyPrint.h" | 14 #include "gl/GrGLSLPrettyPrint.h" |
15 #include "gl/GrGLUniformHandle.h" | 15 #include "gl/GrGLUniformHandle.h" |
16 #include "gl/GrGLXferProcessor.h" | 16 #include "gl/GrGLXferProcessor.h" |
| 17 #include "glsl/GrGLSLCaps.h" |
17 #include "GrAutoLocaleSetter.h" | 18 #include "GrAutoLocaleSetter.h" |
18 #include "GrCoordTransform.h" | 19 #include "GrCoordTransform.h" |
19 #include "GrGLProgramBuilder.h" | 20 #include "GrGLProgramBuilder.h" |
20 #include "GrTexture.h" | 21 #include "GrTexture.h" |
21 #include "SkRTConf.h" | 22 #include "SkRTConf.h" |
22 #include "SkTraceEvent.h" | 23 #include "SkTraceEvent.h" |
23 | 24 |
24 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) | 25 #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) | 26 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) |
26 | 27 |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 } | 505 } |
505 | 506 |
506 ////////////////////////////////////////////////////////////////////////////////
/////////////////// | 507 ////////////////////////////////////////////////////////////////////////////////
/////////////////// |
507 | 508 |
508 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() { | 509 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() { |
509 int numProcs = fProcs.count(); | 510 int numProcs = fProcs.count(); |
510 for (int e = 0; e < numProcs; ++e) { | 511 for (int e = 0; e < numProcs; ++e) { |
511 SkDELETE(fProcs[e]); | 512 SkDELETE(fProcs[e]); |
512 } | 513 } |
513 } | 514 } |
OLD | NEW |