aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar junov <junov@chromium.org>2016-10-13 13:14:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-13 13:14:27 -0700
commit9e3dbdff53f2d9957626a17a279730cda70f17ba (patch)
tree69e0bea0a4b73a2396762dc7df8272ad49384ab2 /src
parente54c75f351c775201049743c506d7a508d0fef91 (diff)
Allow F16 color type on direct raster canvases
Diffstat (limited to 'src')
-rw-r--r--src/core/SkCanvas.cpp1
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;