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

Unified Diff: dm/DM.cpp

Issue 1514023002: Run debug gl context for DEF_GPU_TEST_FOR_ALL_CONTEXTS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « no previous file | tests/Test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 41063b7e8642946a4532aa7df72021edae276fd3..1ea81f8053cc3b257ed1d4aa2fe1f5927aec4fe4 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -1180,12 +1180,12 @@ void RunWithGPUTestContexts(T test, GPUTestContexts testContexts, Reporter* repo
int contextSelector = kNone_GPUTestContexts;
if (GrContextFactory::IsRenderingGLContext(glCtxType)) {
contextSelector |= kAllRendering_GPUTestContexts;
- }
- if (glCtxType == GrContextFactory::kNative_GLContextType) {
+ } else if (glCtxType == GrContextFactory::kNative_GLContextType) {
contextSelector |= kNative_GPUTestContexts;
- }
- if (glCtxType == GrContextFactory::kNull_GLContextType) {
+ } else if (glCtxType == GrContextFactory::kNull_GLContextType) {
contextSelector |= kNull_GPUTestContexts;
+ } else if (glCtxType == GrContextFactory::kDebug_GLContextType) {
+ contextSelector |= kDebug_GPUTestContexts;
}
if ((testContexts & contextSelector) == 0) {
continue;
« no previous file with comments | « no previous file | tests/Test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698