diff options
author | rileya <rileya@chromium.org> | 2015-07-20 15:00:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-20 15:00:03 -0700 |
commit | 134003902de13ade7795c5145a59b1e77770f2de (patch) | |
tree | 4ba461802aba2f1732b7aaebd42669b26d924dcb /gm | |
parent | 6531c3619f08cc83aad34883c5f00f6a358c9fad (diff) |
Add Rec709 YUV color space support to GrYUVtoRGBEffect.
This change is motivated by a recent switch in how chromium handles
<video> color spaces, making rec709 more commonly used. This will
allow video -> canvas copies to take the fast GPU path when we're using
709, just as we do with 601 and jpeg.
Chromium-side change: https://codereview.chromium.org/1236313002
Review URL: https://codereview.chromium.org/1241723005
Diffstat (limited to 'gm')
-rw-r--r-- | gm/yuvtorgbeffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp index fff00748ed..c0bb890f0a 100644 --- a/gm/yuvtorgbeffect.cpp +++ b/gm/yuvtorgbeffect.cpp @@ -39,7 +39,7 @@ protected: } SkISize onISize() override { - return SkISize::Make(238, 84); + return SkISize::Make(238, 120); } void onOnceBeforeDraw() override { |