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

Unified Diff: experimental/skpdiff/skpdiff_util.cpp

Issue 19374006: make OpenCL optional for skpdiff (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: this-> Created 7 years, 5 months 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 | « experimental/skpdiff/skpdiff_util.h ('k') | gyp/common_conditions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/skpdiff/skpdiff_util.cpp
diff --git a/experimental/skpdiff/skpdiff_util.cpp b/experimental/skpdiff/skpdiff_util.cpp
index 3a36a12dbf510bb12238dc11af0bad2f401c9234..1cf02616eaab648a897cdfb5088c7b4904a9c66b 100644
--- a/experimental/skpdiff/skpdiff_util.cpp
+++ b/experimental/skpdiff/skpdiff_util.cpp
@@ -11,6 +11,7 @@
#include "SkOSFile.h"
#include "skpdiff_util.h"
+#if SK_SUPPORT_OPENCL
const char* cl_error_to_string(cl_int err) {
switch (err) {
case CL_SUCCESS: return "CL_SUCCESS";
@@ -63,6 +64,7 @@ const char* cl_error_to_string(cl_int err) {
}
return "UNKNOWN";
}
+#endif
double get_seconds() {
« no previous file with comments | « experimental/skpdiff/skpdiff_util.h ('k') | gyp/common_conditions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698