summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2019-04-03 16:37:46 -0700
committerPeiyong Lin <lpy@google.com>2019-04-10 13:30:51 -0700
commit21e499ac8877096b99c06e879a943cd2341c76ac (patch)
treeef2e47e9627a1f4152aa441fb45a24974e4dd750 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbef3d76b16d5b5a5e8ba2c6dc48fa55dcb8b55ea (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 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions