diff options
author | 2017-11-08 14:16:26 -0500 | |
---|---|---|
committer | 2017-11-08 19:40:47 +0000 | |
commit | 0078ab22519313be727ace05306333910768f58e (patch) | |
tree | 135b32b2ec8a816aa0de4d130503add5b8f23f25 /src/gpu/GrSurfaceProxyPriv.h | |
parent | bb4b48945dc08787805556ec49b97f79854f2029 (diff) |
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>
Diffstat (limited to 'src/gpu/GrSurfaceProxyPriv.h')
0 files changed, 0 insertions, 0 deletions