summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2021-02-19 12:21:25 -0800
committerchaviw <chaviw@google.com>2021-03-12 10:12:40 -0600
commit3d87156bd0b03436673c116a1be7b8f0a288d947 (patch)
tree25daa873041a5c1cd292f07c166bca1b6715e84b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6919687f3820f751b6f50f361d5be37476d17198 (diff)
Add DisplayHashParams to specify how to generate display hash
When generating a DisplayHash, each algorithm can have different requirements about how to capture the content. Instead of trying to adjust the buffer after the content is rendered, we can let SurfaceFlinger use the specified arguments to render the content. This can be done by getting the display hash params from ExtServices so they can be specified per algorithm. Then, system server will render the content using the specified values, ensuring a more efficient way to scale and grayscale the final buffer. Test: DisplayHash is grayscale and scaled. Bug: 155825630 Change-Id: I657e2f94219baaac9318500134a6cd82cd07af56
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions