aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/QuickRejectTest.cpp
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-07-06 14:16:18 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-06 18:59:36 +0000
commit39e085559ddbd088866abdf50a48f7ab5b283830 (patch)
tree21a977f20cf3e7be56d2d4d5dba35c8785a5333a /tests/QuickRejectTest.cpp
parentc19ced195af1e80fc9a0898458d49dbceaee4500 (diff)
Add an SkColorSpaceXformer image filter cache
The cache is scoped with the SkColorSpaceXformer object. This ensures we're not transforming nodes with a degree > 1 multiple times, and preserves the DAG topology. Change-Id: I0b072cdac95f9f1c34e0565ed4f258aba986e1ae Reviewed-on: https://skia-review.googlesource.com/21726 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/QuickRejectTest.cpp')
-rw-r--r--tests/QuickRejectTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp
index b705253e34..d7d330f750 100644
--- a/tests/QuickRejectTest.cpp
+++ b/tests/QuickRejectTest.cpp
@@ -6,6 +6,7 @@
*/
#include "SkArenaAlloc.h"
+#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkColorSpaceXformer.h"
#include "SkDrawLooper.h"