Skip to content

Commit

Permalink
Add guard to allow changing Skia's YUV -> RGB matrices
Browse files Browse the repository at this point in the history
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: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Cr-Commit-Position: refs/heads/master@{#711225}
  • Loading branch information
brianosman authored and Commit Bot committed Oct 31, 2019
1 parent 3c519af commit 00dd9ac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skia/config/SkUserConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down

0 comments on commit 00dd9ac

Please sign in to comment.