aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/ColorCodecBench.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2016-11-01 12:19:50 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-01 16:45:40 +0000
commita9e9bfc6e40894c0447c044a380c74061cb9e15e (patch)
treee8753d1cb647661e5212b4208aa704499985029d /bench/ColorCodecBench.h
parent10d665d000cfdce693b7ca088fb2c61ed54bcdfb (diff)
Delete qcms
This was always intended to be a temporary dependency to use for testing. It has served its purpose. Also, this has already been dropped (accidentally, I think) by the new GN build. TBR=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4220 Change-Id: Ic72ee08bbfaf86ed86a4122fd38be2921eb1327e Reviewed-on: https://skia-review.googlesource.com/4220 Reviewed-by: Matt Sarett <msarett@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'bench/ColorCodecBench.h')
-rw-r--r--bench/ColorCodecBench.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/bench/ColorCodecBench.h b/bench/ColorCodecBench.h
index 45bf41ec2d..9159bcf9ad 100644
--- a/bench/ColorCodecBench.h
+++ b/bench/ColorCodecBench.h
@@ -12,10 +12,6 @@
#include "SkData.h"
#include "SkImageInfo.h"
-#if defined(SK_TEST_QCMS)
-#include "qcms.h"
-#endif
-
class ColorCodecBench : public Benchmark {
public:
ColorCodecBench(const char* name, sk_sp<SkData> encoded);
@@ -29,22 +25,15 @@ protected:
private:
void decodeAndXform();
void xformOnly();
-#if !defined(GOOGLE3)
- void decodeAndXformQCMS();
- void xformOnlyQCMS();
-#endif
- SkString fName;
- sk_sp<SkData> fEncoded;
- SkImageInfo fSrcInfo;
- SkImageInfo fDstInfo;
- SkAutoMalloc fDst;
- SkAutoMalloc fSrc;
- sk_sp<SkColorSpace> fDstSpace;
-#if defined(SK_TEST_QCMS)
- SkAutoTCallVProc<qcms_profile, qcms_profile_release> fDstSpaceQCMS;
-#endif
- sk_sp<SkData> fSrcData;
+ SkString fName;
+ sk_sp<SkData> fEncoded;
+ SkImageInfo fSrcInfo;
+ SkImageInfo fDstInfo;
+ SkAutoMalloc fDst;
+ SkAutoMalloc fSrc;
+ sk_sp<SkColorSpace> fDstSpace;
+ sk_sp<SkColorSpace> fSrcSpace;
typedef Benchmark INHERITED;
};