aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2016-11-22 15:48:50 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-22 21:27:42 +0000
commit030cbd5f3cc60255b887fb88920fb655c8a2a9be (patch)
tree5e1d050baec746da7f2fd2a83a128ab4e9d9cd1b /gn
parenta2b4bdce8cfd1a91407595a25683ecff982af22e (diff)
Add SkOverdrawColorFilter
Uses the value in the src alpha channel to choose how to set the dst pixel. This is a part of a multi-part change to detect and display gpu overdraw on Android. CQ_INCLUDE_TRYBOTS=master.client.skia.compile:Build-Ubuntu-GCC-x86_64-Debug-NoGPU-Trybot BUG:32370375 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5113 Change-Id: I07040929d8a46bbadd499dccec75eebef0e11d11 Reviewed-on: https://skia-review.googlesource.com/5113 Commit-Queue: Matt Sarett <msarett@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/effects.gni2
-rw-r--r--gn/gm.gni1
2 files changed, 3 insertions, 0 deletions
diff --git a/gn/effects.gni b/gn/effects.gni
index 97e0f98654..3bb84aceba 100644
--- a/gn/effects.gni
+++ b/gn/effects.gni
@@ -50,6 +50,8 @@ skia_effects_sources = [
"$_src/effects/SkMergeImageFilter.cpp",
"$_src/effects/SkMorphologyImageFilter.cpp",
"$_src/effects/SkOffsetImageFilter.cpp",
+ "$_src/effects/SkOverdrawColorFilter.cpp",
+ "$_src/effects/SkOverdrawColorFilter.h",
"$_src/effects/SkPackBits.cpp",
"$_src/effects/SkPackBits.h",
"$_src/effects/SkPaintFlagsDrawFilter.cpp",
diff --git a/gn/gm.gni b/gn/gm.gni
index 7e70c89931..4732e0368d 100644
--- a/gn/gm.gni
+++ b/gn/gm.gni
@@ -198,6 +198,7 @@ gm_sources = [
"$_gm/occludedrrectblur.cpp",
"$_gm/offsetimagefilter.cpp",
"$_gm/ovals.cpp",
+ "$_gm/overdrawcolorfilter.cpp",
"$_gm/OverStroke.cpp",
"$_gm/patch.cpp",
"$_gm/patchgrid.cpp",