diff options
Diffstat (limited to 'tests/GrContextFactoryTest.cpp')
-rw-r--r-- | tests/GrContextFactoryTest.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/tests/GrContextFactoryTest.cpp b/tests/GrContextFactoryTest.cpp index ad83a344d8..79209c719f 100644 --- a/tests/GrContextFactoryTest.cpp +++ b/tests/GrContextFactoryTest.cpp @@ -10,24 +10,8 @@ #if SK_SUPPORT_GPU #include "GrContextFactory.h" -#include "GrCaps.h" #include "Test.h" -DEF_GPUTEST(GrContextFactoryNVPRContextOptions, reporter, /*factory*/) { - GrContextFactory testFactory; - // Test that if NVPR is possible, caps are in sync. - for (int i = 0; i < GrContextFactory::kGLContextTypeCnt; ++i) { - GrContextFactory::GLContextType glCtxType = static_cast<GrContextFactory::GLContextType>(i); - GrContext* context = testFactory.get(glCtxType, - kNone_GrGLStandard, - GrContextFactory::kEnableNVPR_GLContextOptions); - if (!context) { - continue; - } - REPORTER_ASSERT( - reporter, - context->caps()->shaderCaps()->pathRenderingSupport()); - } -} +// TODO: test GrContextFactory. #endif |