| Index: src/gpu/gl/builders/GrGLPathProgramBuilder.h
|
| diff --git a/src/gpu/gl/builders/GrGLPathProgramBuilder.h b/src/gpu/gl/builders/GrGLPathProgramBuilder.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..28260cf760ccbc2021bb187b3a02150bb8774617
|
| --- /dev/null
|
| +++ b/src/gpu/gl/builders/GrGLPathProgramBuilder.h
|
| @@ -0,0 +1,31 @@
|
| +/*
|
| + * Copyright 2015 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +#ifndef GrGLPathProgramBuilder_DEFINED
|
| +#define GrGLPathProgramBuilder_DEFINED
|
| +
|
| +#include "GrGLProgramBuilder.h"
|
| +
|
| +class GrGLPathProgramBuilder : public GrGLProgramBuilder {
|
| +public:
|
| + GrGLPathProgramBuilder(GrGLGpu* gpu, const DrawArgs& args);
|
| +
|
| + GrGLProgram* createProgram(GrGLuint programID) override;
|
| +
|
| + SeparableVaryingHandle addSeparableVarying(const char* name, GrGLVertToFrag* v,
|
| + GrSLPrecision fsPrecision) override;
|
| + void resolveProgramResourceLocations(GrGLuint programID) override;
|
| +
|
| +private:
|
| + typedef GrGLPathProgramDataManager::SeparableVaryingInfo SeparableVaryingInfo;
|
| + typedef GrGLPathProgramDataManager::SeparableVaryingInfoArray SeparableVaryingInfoArray;
|
| +
|
| + SeparableVaryingInfoArray fSeparableVaryingInfos;
|
| +
|
| + typedef GrGLProgramBuilder INHERITED;
|
| +};
|
| +
|
| +#endif
|
|
|