| Index: src/gpu/gl/builders/GrGLProgramBuilder.h
|
| diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.h b/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| index fcf7007f72fc1330a40ecb0239a99aaa4d7b7d77..96ede237f3998d98903d2f15263384ef77780c80 100644
|
| --- a/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| +++ b/src/gpu/gl/builders/GrGLProgramBuilder.h
|
| @@ -17,6 +17,7 @@
|
| #include "../../GrPipeline.h"
|
|
|
| class GrFragmentProcessor;
|
| +class GrGLSLCaps;
|
|
|
| // Enough precision to represent 1 / 2048 accurately in printf
|
| #define GR_SIGNIFICANT_POW2_DECIMAL_DIG 11
|
| @@ -75,6 +76,8 @@ public:
|
|
|
| virtual const GrGLContextInfo& ctxInfo() const = 0;
|
|
|
| + virtual const GrGLSLCaps* glslCaps() const = 0;
|
| +
|
| virtual GrGLGpu* gpu() const = 0;
|
|
|
| /*
|
| @@ -250,6 +253,8 @@ public:
|
|
|
| const GrGLContextInfo& ctxInfo() const override;
|
|
|
| + const GrGLSLCaps* glslCaps() const override;
|
| +
|
| GrGLGpu* gpu() const override { return fGpu; }
|
|
|
| GrGLXPFragmentBuilder* getFragmentShaderBuilder() override { return &fFS; }
|
|
|