Commit 93f64cca authored by Florin Malita's avatar Florin Malita

Remove SK_SUPPORT_LEGACY_ADDOVAL

BUG=458898
TBR=reed@google.com
NOTRY=true

Review URL: https://codereview.chromium.org/926403002

Cr-Commit-Position: refs/heads/master@{#319598}
parent 2e1bef84
cc/test/data/mask_of_layer_with_blend.png

1009 Bytes | W: | H:

cc/test/data/mask_of_layer_with_blend.png

1.07 KB | W: | H:

cc/test/data/mask_of_layer_with_blend.png
cc/test/data/mask_of_layer_with_blend.png
cc/test/data/mask_of_layer_with_blend.png
cc/test/data/mask_of_layer_with_blend.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -395,8 +395,8 @@ TEST_P(LayerTreeHostMasksForBackgroundFiltersPixelTest, ...@@ -395,8 +395,8 @@ TEST_P(LayerTreeHostMasksForBackgroundFiltersPixelTest,
float percentage_pixels_large_error = 2.5f; // 2.5%, ~1600px / (256*256) float percentage_pixels_large_error = 2.5f; // 2.5%, ~1600px / (256*256)
float percentage_pixels_small_error = 0.0f; float percentage_pixels_small_error = 0.0f;
float average_error_allowed_in_bad_pixels = 60.0f; float average_error_allowed_in_bad_pixels = 100.0f;
int large_error_allowed = 100; int large_error_allowed = 256;
int small_error_allowed = 0; int small_error_allowed = 0;
pixel_comparator_.reset(new FuzzyPixelComparator( pixel_comparator_.reset(new FuzzyPixelComparator(
true, // discard_alpha true, // discard_alpha
......
...@@ -261,10 +261,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, ...@@ -261,10 +261,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_IGNORE_GPU_DITHER # define SK_IGNORE_GPU_DITHER
#endif #endif
#ifndef SK_SUPPORT_LEGACY_ADDOVAL
# define SK_SUPPORT_LEGACY_ADDOVAL
#endif
#ifndef SK_LEGACY_STROKE_CURVES #ifndef SK_LEGACY_STROKE_CURVES
# define SK_LEGACY_STROKE_CURVES # define SK_LEGACY_STROKE_CURVES
#endif #endif
......
This diff is collapsed.
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