diff options
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index 38cbfe8747..6efcc21059 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -415,9 +415,12 @@ public: return fProgramBinarySupport; } -private: - bool onValidateBackendTexture(GrBackendTexture*, SkColorType) const override; + bool validateBackendTexture(const GrBackendTexture&, SkColorType, + GrPixelConfig*) const override; + bool validateBackendRenderTarget(const GrBackendRenderTarget&, SkColorType, + GrPixelConfig*) const override; +private: enum ExternalFormatUsage { kTexImage_ExternalFormatUsage, kOther_ExternalFormatUsage, |