OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2014 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef GrGLSkiaProgramBuilder_DEFINED |
| 9 #define GrGLSkiaProgramBuilder_DEFINED |
| 10 |
| 11 #include "GrGLProgramBuilder.h" |
| 12 |
| 13 class GrGLSkiaProgramBuilder : public GrGLProgramBuilder { |
| 14 public: |
| 15 GrGLSkiaProgramBuilder(GrGpuGL*, const GrGLProgramDesc&); |
| 16 |
| 17 virtual GrGLProgram* createProgram(GrGLuint programID); |
| 18 |
| 19 private: |
| 20 virtual void emitTransforms(const GrProcessorStage&, |
| 21 GrGLProcessor::TransformedCoordsArray* outCoords
, |
| 22 GrGLInstalledProcessors*) SK_OVERRIDE; |
| 23 |
| 24 typedef GrGLProgramBuilder INHERITED; |
| 25 }; |
| 26 |
| 27 #endif |
OLD | NEW |