skia2/src
Stan Iliev 0078ab2251 Implement readPixels from float buffer, when half float is missing
If reading in half float format is not supported, then read in a
temporary float buffer and convert to half float. This is used by
SwiftShader emulator.

Bug: skia:6945
Bug: b/68383159
Test: Passed PixelCopyTest.testWindowProducerCopyToRGBA16F
Change-Id: I1bfc72e65e4db596ac15d4a1ac31b20e6aea6d30
Reviewed-on: https://skia-review.googlesource.com/68860
Commit-Queue: Stan Iliev <stani@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-11-08 19:40:47 +00:00
..
android Revert[4] "guard old apis for querying byte-size of a bitmap/imageinfo/pixmap" 2017-10-03 20:03:35 +00:00
c Convert NULL and 0 to nullptr. 2017-08-28 17:48:57 +00:00
codec Make SkImageGeneratorCG apply encoded origin 2017-11-03 15:29:34 +00:00
core Prepare to enable explicit gpu resource allocation 2017-11-08 19:06:17 +00:00
effects move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
fonts Revert "Revert "migrate to sk_sp for SkFontMgr API"" 2017-09-26 14:05:18 +00:00
gpu Implement readPixels from float buffer, when half float is missing 2017-11-08 19:40:47 +00:00
image Add MakeCrossContextFromPixmap 2017-11-07 15:59:38 +00:00
images Revert "Add an Option for orientation on JPEG encodes" 2017-10-18 18:09:47 +00:00
jumper add some lowp gradient stages 2017-11-03 12:31:59 +00:00
lazy SkDiscardableMemoryPool: always have a mutex for testing 2017-05-05 15:10:13 +00:00
opts Support for direct gaussian blur evaluation 2017-11-02 19:34:11 +00:00
pathops move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
pdf SkPDF: TextSize > 0; 2017-10-18 18:41:58 +00:00
pipe Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
ports Make SkImageGeneratorCG apply encoded origin 2017-11-03 15:29:34 +00:00
sfnt Set the kMultiMaster_FontFlag in DirectWrite. 2017-04-07 23:07:08 +00:00
shaders Remove SK_SUPPORT_LEGACY_UNIFORM_GRADIENTS 2017-11-06 16:55:49 +00:00
sksl converted LumaColorFilterEffect to sksl 2017-11-07 14:55:18 +00:00
svg Add a SkWStream-based SkSVGCanvas factory 2017-09-19 20:33:19 +00:00
utils move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
views Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
xml Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
xps Revert "move SkMatrix anonymous affine enum to private" 2017-10-13 13:26:08 +00:00