diff options
author | junov <junov@chromium.org> | 2016-10-13 13:14:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-13 13:14:27 -0700 |
commit | 9e3dbdff53f2d9957626a17a279730cda70f17ba (patch) | |
tree | 69e0bea0a4b73a2396762dc7df8272ad49384ab2 /src | |
parent | e54c75f351c775201049743c506d7a508d0fef91 (diff) |
Allow F16 color type on direct raster canvases
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2416063002
Review-Url: https://codereview.chromium.org/2416063002
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkCanvas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index fc2e48a395..bcda0f2526 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -3332,6 +3332,7 @@ static bool supported_for_raster_canvas(const SkImageInfo& info) { case kAlpha_8_SkColorType: case kRGB_565_SkColorType: case kN32_SkColorType: + case kRGBA_F16_SkColorType: break; default: return false; |