| 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 #ifndef GrGLProgramDesc_DEFINED | 8 #ifndef GrGLProgramDesc_DEFINED |
| 9 #define GrGLProgramDesc_DEFINED | 9 #define GrGLProgramDesc_DEFINED |
| 10 | 10 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 /** | 46 /** |
| 47 * Builds a GL specific program descriptor | 47 * Builds a GL specific program descriptor |
| 48 * | 48 * |
| 49 * @param GrPrimitiveProcessor The geometry | 49 * @param GrPrimitiveProcessor The geometry |
| 50 * @param GrPipeline The optimized drawstate. The descriptor will represen
t a program | 50 * @param GrPipeline The optimized drawstate. The descriptor will represen
t a program |
| 51 * which this optstate can use to draw with. The opt
state contains | 51 * which this optstate can use to draw with. The opt
state contains |
| 52 * general draw information, as well as the specific
color, geometry, | 52 * general draw information, as well as the specific
color, geometry, |
| 53 * and coverage stages which will be used to generate
the GL Program for | 53 * and coverage stages which will be used to generate
the GL Program for |
| 54 * this optstate. | 54 * this optstate. |
| 55 * @param GrGLGpu A GL Gpu, the caps and Gpu object are used to output proc
essor specific | 55 * @param GrGLSLCaps Capabilities of the GLSL backend. |
| 56 * parts of the descriptor. | |
| 57 * @param GrProgramDesc The built and finalized descriptor | 56 * @param GrProgramDesc The built and finalized descriptor |
| 58 **/ | 57 **/ |
| 59 static bool Build(GrProgramDesc*, | 58 static bool Build(GrProgramDesc*, |
| 60 const GrPrimitiveProcessor&, | 59 const GrPrimitiveProcessor&, |
| 61 const GrPipeline&, | 60 const GrPipeline&, |
| 62 const GrGLGpu*); | 61 const GrGLSLCaps&); |
| 63 }; | 62 }; |
| 64 | 63 |
| 65 #endif | 64 #endif |
| OLD | NEW |