aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrContextFactory.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-03-20 08:54:16 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-20 13:31:49 +0000
commit6405e71279e99731f89db69325c6763ec62a98e1 (patch)
treef1ce7b3cc37ec3e9f9f4f135655376fd30174753 /tools/gpu/GrContextFactory.h
parent5e21e0991968271ee37f446de7e08620ad1b50bb (diff)
Remove gpu configs that don't have explicit API.
DOCS_PREVIEW= https://skia.org/?cl=9871 Change-Id: I510473cf91d8bee38d1e33424b1ae7b30dc86968 Reviewed-on: https://skia-review.googlesource.com/9871 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'tools/gpu/GrContextFactory.h')
-rw-r--r--tools/gpu/GrContextFactory.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/gpu/GrContextFactory.h b/tools/gpu/GrContextFactory.h
index b1a4e1a6b4..0067e52144 100644
--- a/tools/gpu/GrContextFactory.h
+++ b/tools/gpu/GrContextFactory.h
@@ -83,9 +83,6 @@ public:
kLastContextType = kVulkan_ContextType
};
- //! OpenGL or OpenGL ES context depending on the platform. To be removed.
- static const ContextType kNativeGL_ContextType;
-
static const int kContextTypeCnt = kLastContextType + 1;
/**
@@ -102,18 +99,6 @@ public:
kRequireSRGBSupport = 0x10
};
- static ContextType NativeContextTypeForBackend(GrBackend backend) {
- switch (backend) {
- case kOpenGL_GrBackend:
- return kNativeGL_ContextType;
- case kVulkan_GrBackend:
- return kVulkan_ContextType;
- default:
- SkFAIL("Unknown backend");
- return kNullGL_ContextType;
- }
- }
-
static bool IsRenderingContext(ContextType type) {
switch (type) {
case kNullGL_ContextType: