| 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 #include "gl/GrGLProgram.h" | 9 #include "gl/GrGLProgram.h" |
| 10 #include "gl/GrGLSLPrettyPrint.h" | 10 #include "gl/GrGLSLPrettyPrint.h" |
| 11 #include "gl/GrGLUniformHandle.h" | 11 #include "gl/GrGLUniformHandle.h" |
| 12 #include "../GrGLXferProcessor.h" | 12 #include "../GrGLXferProcessor.h" |
| 13 #include "../GrGpuGL.h" | 13 #include "../GrGLGpu.h" |
| 14 #include "GrCoordTransform.h" | 14 #include "GrCoordTransform.h" |
| 15 #include "GrGLLegacyNvprProgramBuilder.h" | 15 #include "GrGLLegacyNvprProgramBuilder.h" |
| 16 #include "GrGLNvprProgramBuilder.h" | 16 #include "GrGLNvprProgramBuilder.h" |
| 17 #include "GrGLProgramBuilder.h" | 17 #include "GrGLProgramBuilder.h" |
| 18 #include "GrTexture.h" | 18 #include "GrTexture.h" |
| 19 #include "SkRTConf.h" | 19 #include "SkRTConf.h" |
| 20 #include "SkTraceEvent.h" | 20 #include "SkTraceEvent.h" |
| 21 | 21 |
| 22 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) | 22 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) |
| 23 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) | 23 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 538 } | 538 } |
| 539 | 539 |
| 540 ////////////////////////////////////////////////////////////////////////////////
/////////////////// | 540 ////////////////////////////////////////////////////////////////////////////////
/////////////////// |
| 541 | 541 |
| 542 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() { | 542 GrGLInstalledFragProcs::~GrGLInstalledFragProcs() { |
| 543 int numProcs = fProcs.count(); | 543 int numProcs = fProcs.count(); |
| 544 for (int e = 0; e < numProcs; ++e) { | 544 for (int e = 0; e < numProcs; ++e) { |
| 545 SkDELETE(fProcs[e]); | 545 SkDELETE(fProcs[e]); |
| 546 } | 546 } |
| 547 } | 547 } |
| OLD | NEW |