Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Unified Diff: tests/GLInterfaceValidationTest.cpp

Issue 1490113005: Add config options to run different GPU APIs to dm and nanobench (Closed) Base URL: https://skia.googlesource.com/skia.git@commandbuffer-as-api-03-context-factory-glcontext-type
Patch Set: win angle Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/GLInterfaceValidationTest.cpp
diff --git a/tests/GLInterfaceValidationTest.cpp b/tests/GLInterfaceValidationTest.cpp
index b890b44e5f733dc3c950e6bf70a6964716fb4e6f..0b3497a3f6a94dc0a3437977fe68ec28d3a76d60 100755
--- a/tests/GLInterfaceValidationTest.cpp
+++ b/tests/GLInterfaceValidationTest.cpp
@@ -20,8 +20,7 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, /*factory*/) {
for (int i = 0; i < GrContextFactory::kGLContextTypeCnt; ++i) {
GrContextFactory::GLContextType glCtxType = static_cast<GrContextFactory::GLContextType>(i);
GrContextFactory::ContextInfo* context =
- testFactory.getContextInfo(glCtxType, kNone_GrGLStandard,
- GrContextFactory::kNone_GLContextOptions);
+ testFactory.getContextInfo(glCtxType, GrContextFactory::kNone_GLContextOptions);
if (!context) {
continue;
}
@@ -34,7 +33,6 @@ DEF_GPUTEST(GLInterfaceValidation, reporter, /*factory*/) {
REPORTER_ASSERT(reporter,
nullptr == testFactory.getContextInfo(
glCtxType,
- kNone_GrGLStandard,
GrContextFactory::kEnableNVPR_GLContextOptions));
}
}

Powered by Google App Engine
This is Rietveld 408576698