aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
diff options
context:
space:
mode:
authorGravatar Robert Phillips <robertphillips@google.com>2018-04-03 17:17:05 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-04 13:32:01 +0000
commitbe77a02a67145edd7ca12fb203b971bb5f1d75a5 (patch)
tree168447831b458c7f5704f1e68f1959f57a0db0b4 /src/gpu/gl
parentae52cccf8b72fbbbd3c009c60a48744988795ea6 (diff)
Hide GrPixelConfig in SkSurfaceCharacterization
TBR=bsalomon@google.com Change-Id: Ifc38d0ca2b18128d27c187f789461fea62d1edae Reviewed-on: https://skia-review.googlesource.com/117440 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/gl')
-rw-r--r--src/gpu/gl/GrGLCaps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h
index 19d443cc1c..ede2a17578 100644
--- a/src/gpu/gl/GrGLCaps.h
+++ b/src/gpu/gl/GrGLCaps.h
@@ -416,6 +416,10 @@ public:
bool getConfigFromBackendFormat(const GrBackendFormat&, SkColorType,
GrPixelConfig*) const override;
+#if GR_TEST_UTILS
+ GrGLStandard standard() const { return fStandard; }
+#endif
+
private:
enum ExternalFormatUsage {
kTexImage_ExternalFormatUsage,