Commit 1275ad42 authored by Mike Klein's avatar Mike Klein Committed by Commit Bot

rebaseline SK_LEGACY_COMPLEX_XFERMODES

I've replaced two ref tests with image tests.  The diffs there are both the same root cause, basically moving from one approximation of a rounding divide by 255 to another, and some low bits move.

I could have updated the ref tests with new numbers, but if you look at them, they're basically bitmaps already.  And we actually use different div255 approximations per platform, so I think it's a little more "right" to make these image tests.  (If we were running ARM layout test bots, we'd see slightly different results than these Intel ones.)

Weeeeeellllllll.... that was my plan, but I ran into an issue where Macs would end up with a slightly different expected.txt file, and I don't really know what I'm doing with those, so I've switched it back to a ref test updated with the new colors.  :(

Change-Id: I20cbfa886f71cb509d5e60e0d7cd40af5bca13ea
Reviewed-on: https://chromium-review.googlesource.com/c/1291810
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: default avatarFlorin Malita <fmalita@chromium.org>
Cr-Commit-Position: refs/heads/master@{#601414}
parent 2b9b0b88
...@@ -154,8 +154,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, ...@@ -154,8 +154,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
// Max. verb count for paths rendered by the edge-AA tessellating path renderer. // Max. verb count for paths rendered by the edge-AA tessellating path renderer.
#define GR_AA_TESSELLATOR_MAX_VERB_COUNT 100 #define GR_AA_TESSELLATOR_MAX_VERB_COUNT 100
#define SK_LEGACY_COMPLEX_XFERMODES
#ifndef SK_SUPPORT_LEGACY_AAA_CHOICE #ifndef SK_SUPPORT_LEGACY_AAA_CHOICE
#define SK_SUPPORT_LEGACY_AAA_CHOICE #define SK_SUPPORT_LEGACY_AAA_CHOICE
#endif #endif
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<rect x="0" y="30" width="10" height="10" fill="rgba(128,127,0,1)"></rect> <rect x="0" y="30" width="10" height="10" fill="rgba(128,127,0,1)"></rect>
<rect x="10" y="30" width="10" height="10" fill="rgba(127,128,0,1)"></rect> <rect x="10" y="30" width="10" height="10" fill="rgba(127,128,0,1)"></rect>
<rect x="20" y="30" width="10" height="10" fill="rgba(127,127,255,1)"></rect> <rect x="20" y="30" width="10" height="10" fill="rgba(127,127,255,1)"></rect>
<rect x="30" y="30" width="10" height="10" fill="rgba(128,128,0,1)"></rect> <rect x="30" y="30" width="10" height="10" fill="rgba(126,126,0,1)"></rect>
</g> </g>
</g> </g>
</svg> </svg>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<rect x="0" y="30" width="10" height="10" fill="rgba(127,0,0,1)"></rect> <rect x="0" y="30" width="10" height="10" fill="rgba(127,0,0,1)"></rect>
<rect x="10" y="30" width="10" height="10" fill="rgba(0,127,0,1)"></rect> <rect x="10" y="30" width="10" height="10" fill="rgba(0,127,0,1)"></rect>
<rect x="20" y="30" width="10" height="10" fill="rgba(0,0,0,1)"></rect> <rect x="20" y="30" width="10" height="10" fill="rgba(0,0,0,1)"></rect>
<rect x="30" y="30" width="10" height="10" fill="rgba(63,63,0,1)"></rect> <rect x="30" y="30" width="10" height="10" fill="rgba(64,64,0,1)"></rect>
</g> </g>
</g> </g>
</svg> </svg>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment