OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "gl/builders/GrGLProgramBuilder.h" | |
9 #include "GrGLProgramEffects.h" | 8 #include "GrGLProgramEffects.h" |
10 #include "gl/GrGLEffect.h" | 9 #include "gl/GrGLEffect.h" |
11 #include "gl/GrGLPathRendering.h" | 10 #include "gl/GrGLPathRendering.h" |
12 #include "gl/builders/GrGLProgramBuilder.h" | 11 #include "gl/builders/GrGLFullProgramBuilder.h" |
| 12 #include "gl/builders/GrGLFragmentOnlyProgramBuilder.h" |
13 #include "gl/GrGLGeometryProcessor.h" | 13 #include "gl/GrGLGeometryProcessor.h" |
14 #include "gl/GrGpuGL.h" | 14 #include "gl/GrGpuGL.h" |
15 | 15 |
16 typedef GrGLProgramEffects::TransformedCoords TransformedCoords; | 16 typedef GrGLProgramEffects::TransformedCoords TransformedCoords; |
17 typedef GrGLProgramEffects::TransformedCoordsArray TransformedCoordsArray; | 17 typedef GrGLProgramEffects::TransformedCoordsArray TransformedCoordsArray; |
18 typedef GrGLProgramEffects::TextureSampler TextureSampler; | 18 typedef GrGLProgramEffects::TextureSampler TextureSampler; |
19 typedef GrGLProgramEffects::TextureSamplerArray TextureSamplerArray; | 19 typedef GrGLProgramEffects::TextureSamplerArray TextureSamplerArray; |
20 | 20 |
21 /** | 21 /** |
22 * We specialize the vertex code for each of these matrix types. | 22 * We specialize the vertex code for each of these matrix types. |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 } | 567 } |
568 void GrGLPathTexGenProgramEffectsBuilder::emitEffect(const GrEffectStage& stage, | 568 void GrGLPathTexGenProgramEffectsBuilder::emitEffect(const GrEffectStage& stage, |
569 const GrEffectKey& key, | 569 const GrEffectKey& key, |
570 const char* outColor, | 570 const char* outColor, |
571 const char* inColor, | 571 const char* inColor, |
572 int stageIndex) { | 572 int stageIndex) { |
573 SkASSERT(fProgramEffects.get()); | 573 SkASSERT(fProgramEffects.get()); |
574 fProgramEffects->emitEffect(fBuilder, stage, key, outColor, inColor, stageIn
dex); | 574 fProgramEffects->emitEffect(fBuilder, stage, key, outColor, inColor, stageIn
dex); |
575 } | 575 } |
576 | 576 |
OLD | NEW |