From 55eeae97227fa2523207bc67523da5b9eb663536 Mon Sep 17 00:00:00 2001 From: kkinnunen Date: Thu, 10 Dec 2015 23:19:29 -0800 Subject: Run debug gl context for DEF_GPU_TEST_FOR_ALL_CONTEXTS Run debug gl context for tests defined with DEF_GPU_TEST_FOR_ALL_CONTEXTS. Review URL: https://codereview.chromium.org/1514023002 --- tests/Test.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Test.h b/tests/Test.h index be2ef1f788..fb0fd1fec8 100644 --- a/tests/Test.h +++ b/tests/Test.h @@ -74,10 +74,13 @@ typedef SkTRegistry TestRegistry; enum GPUTestContexts { kNone_GPUTestContexts = 0, kNull_GPUTestContexts = 1, - kNative_GPUTestContexts = 1 << 1, - kOther_GPUTestContexts = 1 << 2, // Other than native, used only for below. + kDebug_GPUTestContexts = 1 << 1, + kNative_GPUTestContexts = 1 << 2, + kOther_GPUTestContexts = 1 << 3, // Other than native, used only for below. kAllRendering_GPUTestContexts = kNative_GPUTestContexts | kOther_GPUTestContexts, - kAll_GPUTestContexts = kAllRendering_GPUTestContexts | kNull_GPUTestContexts + kAll_GPUTestContexts = kAllRendering_GPUTestContexts + | kNull_GPUTestContexts + | kDebug_GPUTestContexts }; template void RunWithGPUTestContexts(T testFunction, GPUTestContexts contexts, Reporter* reporter, -- cgit v1.2.3