diff options
author | Peiyong Lin <lpy@google.com> | 2019-04-03 16:37:46 -0700 |
---|---|---|
committer | Peiyong Lin <lpy@google.com> | 2019-04-10 13:30:51 -0700 |
commit | 21e499ac8877096b99c06e879a943cd2341c76ac (patch) | |
tree | ef2e47e9627a1f4152aa441fb45a24974e4dd750 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bef3d76b16d5b5a5e8ba2c6dc48fa55dcb8b55ea (diff) |
Determine the dataspace of the screenshot buffer based on display color mode.
Previously when we capture layers into graphic buffer we always assume SRGB
dataspace, however, if we have an app that is in wide color gamut mode, we want
to show the difference. This patch adds the ability to determine the dataspace
screenshot graphic buffer based on the color mode of the display.
BUG: 116112787
Test: Build, flash and boot. Verify with WCG Photos.
Change-Id: Ie2df32cad056576c256b9299a67855ed73714f50
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions