commit | 85b4b53e78dcdeae2a51935ca5e214b0f1a06492 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Tue Apr 05 11:06:27 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 05 11:06:27 2016 -0700 |
tree | 909cb8ef0862154b2e6bc6c66e0e40cd5d018bae | |
parent | 3a15fd4a9a019dc781368c26499ff899c2f03e3f [diff] [blame] |
Rename enums in GrContextFactory to remove "GL" Also, remove kNative as a separate context type and instead make it an alias for kGL or kGLES based on OS. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1845923004 Committed: https://skia.googlesource.com/skia/+/2d9c6f81353597aebf5934547e5cba7a872196fb Review URL: https://codereview.chromium.org/1845923004
diff --git a/tests/GrContextAbandonTest.cpp b/tests/GrContextAbandonTest.cpp index c62973f..e1ad8f7 100644 --- a/tests/GrContextAbandonTest.cpp +++ b/tests/GrContextAbandonTest.cpp
@@ -16,10 +16,10 @@ DEF_GPUTEST(GrContext_abandonContext, reporter, /*factory*/) { for (int testType = 0; testType < 6; ++testType) { - for (int i = 0; i < GrContextFactory::kGLContextTypeCnt; ++i) { - GrContextFactory testFactory; - GrContextFactory::GLContextType ctxType = (GrContextFactory::GLContextType) i; - GrContextFactory::ContextInfo info = testFactory.getContextInfo(ctxType); + for (int i = 0; i < GrContextFactory::kContextTypeCnt; ++i) { + GrContextFactory testFactory; + GrContextFactory::ContextType ctxType = (GrContextFactory::ContextType) i; + GrContextFactory::ContextInfo info = testFactory.getContextInfo(ctxType); if (GrContext* context = info.fGrContext) { switch (testType) { case 0: