| Index: src/gpu/gl/builders/GrGLProgramBuilder.h
|
| diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| index 2afdd099f4322abf2246bedb0181137159808df0..6d3684db26a1a5a9bedfc121088efa2e0e6ae7b6 100644
|
| --- a/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| +++ b/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| @@ -119,10 +119,7 @@ public:
|
| * to be used.
|
| * @return true if generation was successful.
|
| */
|
| - static GrGLProgram* CreateProgram(const GrOptDrawState&,
|
| - const GrGLProgramDesc&,
|
| - GrGpu::DrawType,
|
| - GrGpuGL* gpu);
|
| + static GrGLProgram* CreateProgram(const GrOptDrawState&, GrGpu::DrawType, GrGpuGL*);
|
|
|
| virtual UniformHandle addUniform(uint32_t visibility,
|
| GrSLType type,
|
| @@ -180,17 +177,16 @@ protected:
|
| typedef GrGLProgramDataManager::UniformInfo UniformInfo;
|
| typedef GrGLProgramDataManager::UniformInfoArray UniformInfoArray;
|
|
|
| - static GrGLProgramBuilder* CreateProgramBuilder(const GrGLProgramDesc&,
|
| - const GrOptDrawState&,
|
| + static GrGLProgramBuilder* CreateProgramBuilder(const GrOptDrawState&,
|
| GrGpu::DrawType,
|
| bool hasGeometryProcessor,
|
| GrGpuGL*);
|
|
|
| - GrGLProgramBuilder(GrGpuGL*, const GrOptDrawState&, const GrGLProgramDesc&);
|
| + GrGLProgramBuilder(GrGpuGL*, const GrOptDrawState&);
|
|
|
| const GrOptDrawState& optState() const { return fOptState; }
|
| const GrGLProgramDesc& desc() const { return fDesc; }
|
| - const GrGLProgramDesc::KeyHeader& header() const { return fDesc.getHeader(); }
|
| + const GrGLProgramDesc::GLKeyHeader& header() const { return fDesc.header(); }
|
|
|
| // Generates a name for a variable. The generated string will be name prefixed by the prefix
|
| // char (unless the prefix is '\0'). It also mangles the name to be stage-specific if we're
|
|
|