aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-11-23 10:03:39 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-23 15:35:45 +0000
commit07764cefbb18041a77897df3453903b0a2016583 (patch)
tree2da64d6d5f22c93aee97120ffe3121d1ff717811 /tests
parent3761f850408785c2ceee72f94e387998eb89e81a (diff)
make it illegal to include SkXfermode.h
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5133 Change-Id: I6e8596dcb17cd7e8efa67859bb682bf9bfcac4db Reviewed-on: https://skia-review.googlesource.com/5133 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/BlendTest.cpp1
-rw-r--r--tests/ColorFilterTest.cpp1
-rw-r--r--tests/GrGetCoeffBlendKnownComponentsTest.cpp1
-rw-r--r--tests/GrPorterDuffTest.cpp1
-rw-r--r--tests/LayerDrawLooperTest.cpp1
-rw-r--r--tests/PaintTest.cpp1
-rw-r--r--tests/RecordOptsTest.cpp1
-rw-r--r--tests/SrcOverTest.cpp1
8 files changed, 0 insertions, 8 deletions
diff --git a/tests/BlendTest.cpp b/tests/BlendTest.cpp
index cd5e8efba7..785acb8681 100644
--- a/tests/BlendTest.cpp
+++ b/tests/BlendTest.cpp
@@ -9,7 +9,6 @@
#include "SkColor.h"
#include "SkColorPriv.h"
#include "SkTaskGroup.h"
-#include "SkXfermode.h"
#include <functional>
struct Results { int diffs, diffs_0x00, diffs_0xff, diffs_by_1; };
diff --git a/tests/ColorFilterTest.cpp b/tests/ColorFilterTest.cpp
index ec34a151be..ad2dd0fc35 100644
--- a/tests/ColorFilterTest.cpp
+++ b/tests/ColorFilterTest.cpp
@@ -12,7 +12,6 @@
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkRandom.h"
-#include "SkXfermode.h"
#include "Test.h"
static sk_sp<SkColorFilter> reincarnate_colorfilter(SkFlattenable* obj) {
diff --git a/tests/GrGetCoeffBlendKnownComponentsTest.cpp b/tests/GrGetCoeffBlendKnownComponentsTest.cpp
index 38dfb30c56..31a41943d9 100644
--- a/tests/GrGetCoeffBlendKnownComponentsTest.cpp
+++ b/tests/GrGetCoeffBlendKnownComponentsTest.cpp
@@ -13,7 +13,6 @@
#include "SkGr.h"
#include "SkGrPriv.h"
#include "SkRandom.h"
-#include "SkXfermode.h"
static GrColor make_baseline_color(GrColor src, GrColor dst, const SkXfermode* xm) {
SkPMColor skSrc = GrColorToSkPMColor(src);
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp
index eb3c9bc186..53aeb9a1ca 100644
--- a/tests/GrPorterDuffTest.cpp
+++ b/tests/GrPorterDuffTest.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkXfermode.h"
#include "Test.h"
#if SK_SUPPORT_GPU
diff --git a/tests/LayerDrawLooperTest.cpp b/tests/LayerDrawLooperTest.cpp
index 7b3aa29883..8fcbf1615c 100644
--- a/tests/LayerDrawLooperTest.cpp
+++ b/tests/LayerDrawLooperTest.cpp
@@ -16,7 +16,6 @@
#include "SkRefCnt.h"
#include "SkScalar.h"
#include "SkSmallAllocator.h"
-#include "SkXfermode.h"
#include "Test.h"
static SkBitmap make_bm(int w, int h) {
diff --git a/tests/PaintTest.cpp b/tests/PaintTest.cpp
index 9cd9cfc63c..76bfb02923 100644
--- a/tests/PaintTest.cpp
+++ b/tests/PaintTest.cpp
@@ -15,7 +15,6 @@
#include "SkTypeface.h"
#include "SkUtils.h"
#include "SkWriteBuffer.h"
-#include "SkXfermode.h"
#include "Test.h"
static size_t uni_to_utf8(const SkUnichar src[], void* dst, int count) {
diff --git a/tests/RecordOptsTest.cpp b/tests/RecordOptsTest.cpp
index b7c9ae96c6..f5f18f3b1c 100644
--- a/tests/RecordOptsTest.cpp
+++ b/tests/RecordOptsTest.cpp
@@ -13,7 +13,6 @@
#include "SkRecordOpts.h"
#include "SkRecorder.h"
#include "SkRecords.h"
-#include "SkXfermode.h"
#include "SkPictureRecorder.h"
#include "SkPictureImageFilter.h"
#include "SkSurface.h"
diff --git a/tests/SrcOverTest.cpp b/tests/SrcOverTest.cpp
index 7789fbdd50..df315983ea 100644
--- a/tests/SrcOverTest.cpp
+++ b/tests/SrcOverTest.cpp
@@ -6,7 +6,6 @@
*/
#include "SkColorPriv.h"
-#include "SkXfermode.h"
#include "Test.h"
// our std SkAlpha255To256