Commit 00dd9ac3 authored by Brian Osman's avatar Brian Osman Committed by Commit Bot

Add guard to allow changing Skia's YUV -> RGB matrices

The fixes to the Rec.601 and Rec.709 matrices affect a handful
of layout tests.

See also: https://skia-review.googlesource.com/c/skia/+/251771/

Bug: skia:9543
Change-Id: Ia6ffa7742e945348bc7af68d6c2214fd66a50a96
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1890956
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: default avatarRobert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Cr-Commit-Position: refs/heads/master@{#711225}
parent 3c519af4
......@@ -222,6 +222,10 @@ SK_API void SkDebugf_FileLine(const char* file,
#define SK_SUPPORT_LEGACY_AAA_CHOICE
#endif
#ifndef SK_LEGACY_YUV_MATRICES
#define SK_LEGACY_YUV_MATRICES
#endif
// We're turning this off indefinitely,
// until we can figure out some fundamental problems with its approach.
//
......
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