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

Unified Diff: tests/Test.cpp

Issue 1446453003: Generate list of GPU contexts outside SurfaceTest tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove ImageTest modifications Created 5 years, 1 month 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
« tests/SurfaceTest.cpp ('K') | « tests/Test.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Test.cpp
diff --git a/tests/Test.cpp b/tests/Test.cpp
index f6f2bdab3d751053f82d14811cb0840185af73dc..ab6a35c99db5bd56be5558ff84049a88da92fe96 100644
--- a/tests/Test.cpp
+++ b/tests/Test.cpp
@@ -11,6 +11,9 @@
#include "SkError.h"
#include "SkString.h"
#include "SkTime.h"
+#if SK_SUPPORT_GPU
+#include "GrContextFactory.h"
+#endif
DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use.");
@@ -36,3 +39,4 @@ SkString skiatest::GetTmpDir() {
const char* tmpDir = FLAGS_tmpDir.isEmpty() ? nullptr : FLAGS_tmpDir[0];
return SkString(tmpDir);
}
+
« tests/SurfaceTest.cpp ('K') | « tests/Test.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698