projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e54c75f
)
Allow F16 color type on direct raster canvases
author
junov
<junov@chromium.org>
Thu, 13 Oct 2016 20:14:27 +0000
(13:14 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Thu, 13 Oct 2016 20:14:27 +0000
(13:14 -0700)
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=
2416063002
Review-Url: https://codereview.chromium.org/
2416063002
src/core/SkCanvas.cpp
patch
|
blob
|
history
diff --git
a/src/core/SkCanvas.cpp
b/src/core/SkCanvas.cpp
index fc2e48a395c85d5d70320a93d11cc758b3eb4776..bcda0f2526ca712a95eb4525da0dc8172f1ee707 100644
(file)
--- 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;