aboutsummaryrefslogtreecommitdiffstats
path: root/tools/skpdiff/skpdiff_util.h
diff options
context:
space:
mode:
authorzachr@google.com <zachr@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-22 13:29:20 +0000
committerzachr@google.com <zachr@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-22 13:29:20 +0000
commit904f86e6aae156df06c2d1a02cf7e91ecfda5d86 (patch)
tree36a9064f69560fb6206731eb793d2841dcd06b39 /tools/skpdiff/skpdiff_util.h
parenta54aaf7fba0dae99305715b8f9d46a875eb6b5a6 (diff)
downloadplatform_external_skqp-904f86e6aae156df06c2d1a02cf7e91ecfda5d86.tar.gz
platform_external_skqp-904f86e6aae156df06c2d1a02cf7e91ecfda5d86.tar.bz2
platform_external_skqp-904f86e6aae156df06c2d1a02cf7e91ecfda5d86.zip
Revert "migrate skpdiff to tools"
This reverts commit 58a7ec70ce6b4548793a2ddc37c63d3d44edbc36. git-svn-id: http://skia.googlecode.com/svn/trunk@10226 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools/skpdiff/skpdiff_util.h')
-rw-r--r--tools/skpdiff/skpdiff_util.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/tools/skpdiff/skpdiff_util.h b/tools/skpdiff/skpdiff_util.h
deleted file mode 100644
index 9df1bc0b2a..0000000000
--- a/tools/skpdiff/skpdiff_util.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright 2013 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef skpdiff_util_DEFINED
-#define skpdiff_util_DEFINED
-
-#include "SkString.h"
-#include "SkTArray.h"
-
-#if SK_SUPPORT_OPENCL
-#if SK_BUILD_FOR_MAC
-# include <OpenCL/cl.h>
-#else
-# include <CL/cl.h>
-#endif
-
-/**
- * Converts an OpenCL error number into the string of its enumeration name.
- * @param err The OpenCL error number
- * @return The string of the name of the error; "UNKOWN" if the error number is invalid
- */
-const char* cl_error_to_string(cl_int err);
-#endif
-
-/**
- * Get a positive monotonic real-time measure of the amount of seconds since some undefined epoch.
- * Maximum precision is the goal of this routine.
- * @return Amount of time in seconds since some epoch
- */
-double get_seconds();
-
-/**
- * Get file entries of the given directory.
- * @param path A path to a directory to enumerate
- * @param entries A vector to return the results into
- * @return True on success, false otherwise
- */
-bool get_directory(const char path[], SkTArray<SkString>* entries);
-
-/**
- * Gets the files that match the specified pattern in sorted order.
- * @param globPattern The pattern to use. Patterns must be valid paths, optionally with wildcards (*)
- * @param entries An array to return the results into
- * @return True on success, false otherwise
- */
-bool glob_files(const char globPattern[], SkTArray<SkString>* entries);
-
-
-#endif