aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/image
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2018-06-26 15:27:10 -0400
committerGravatar Brian Osman <brianosman@google.com>2018-06-26 19:39:05 +0000
commitd47fe095cf88e68418915abe9d75ae9e40d07d6b (patch)
treea394949c1065f0db285aec22dd9595f9623bb00c /src/image
parentd5161b9a62b6912105e7a49d06e5126bf4fa1f75 (diff)
Handle F32 in lazy image
Bug: skia: Change-Id: Idec8259b48733830790a3957b41d204835d7be02 Reviewed-on: https://skia-review.googlesource.com/137705 Auto-Submit: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/image')
-rw-r--r--src/image/SkImage_Lazy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image/SkImage_Lazy.cpp b/src/image/SkImage_Lazy.cpp
index f06c963f37..d4d1c028be 100644
--- a/src/image/SkImage_Lazy.cpp
+++ b/src/image/SkImage_Lazy.cpp
@@ -380,6 +380,7 @@ SkImageCacherator::CachedFormat SkImage_Lazy::chooseCacheFormat(SkColorSpace* ds
}
case kRGBA_F16_SkColorType:
+ case kRGBA_F32_SkColorType:
if (caps.supportsHalfFloat()) {
return kLinearF16_CachedFormat;
} else if (caps.supportsSRGB()) {