aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLPathRendering.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLPathRendering.h')
-rw-r--r--src/gpu/gl/GrGLPathRendering.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gpu/gl/GrGLPathRendering.h b/src/gpu/gl/GrGLPathRendering.h
index 5996e906bd..86cf1b1698 100644
--- a/src/gpu/gl/GrGLPathRendering.h
+++ b/src/gpu/gl/GrGLPathRendering.h
@@ -46,10 +46,6 @@ public:
*/
void abandonGpuResources();
- bool shouldBindFragmentInputs() const {
- return fCaps.bindFragmentInputSupport;
- }
-
// Functions for "separable shader" texturing support.
void setProgramPathFragmentInputTransform(GrGLuint program, GrGLint location,
GrGLenum genMode, GrGLint components,
@@ -69,13 +65,6 @@ protected:
void onDrawPaths(const DrawPathArgs&, const GrPathRange*, const void* indices, PathIndexType,
const float transformValues[], PathTransformType, int count) override;
private:
- /**
- * Mark certain functionality as not supported.
- */
- struct Caps {
- bool bindFragmentInputSupport : 1;
- };
-
void flushPathStencilSettings(const GrStencilSettings&);
struct MatrixState {
@@ -114,7 +103,6 @@ private:
SkAutoTDelete<GrGLNameAllocator> fPathNameAllocator;
MatrixState fHWProjectionMatrixState;
GrStencilSettings fHWPathStencilSettings;
- Caps fCaps;
};
#endif