diff options
author | Winson Chung <winsonc@google.com> | 2020-03-19 12:06:46 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2020-03-19 13:14:33 -0700 |
commit | c875ba736f4a569198c6b5aabea8a8bea2b04b75 (patch) | |
tree | 63e70c4dc28ed1c282badb4365c7637b5970124a /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 10e5f365502d7c5bbdd3857b0105338736c1a218 (diff) |
Minor optimization to skip bitmap copy during luma sampling
- Attach the hw buffer to an image reader surface and sample
the bytes directly
Bug: 149318305
Test: Rotate the device and measure the time to get the luma
Change-Id: I50512d6741109ee07a309f840c2936afd19af96e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions