commit | 987d1e472015692fdd2eb6dc19a52888e5c61ef7 | [log] [tgz] |
---|---|---|
author | Miao Wang <[email protected]> | Tue Apr 17 10:41:17 2018 -0700 |
committer | Miao Wang <[email protected]> | Fri Apr 20 18:58:09 2018 +0000 |
tree | 042b2c09078feb8253afd6dc275e25d44ca1eda0 | |
parent | fe79bccaec70d01f7ff69e91f8239e69def68b70 [diff] |
Set the correct usage flags for rsdAllocationSetSurface - To allow a output buffer accessible by GPU, the ANativeWindow should have AHARDWAREBUFFER_USAGE_CPU_READ_RARELY and AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN flags. Bug: 78172985 Test: mm Test: RenderScript CTS tests pass Test: ImageProcessingJB works fine with USAGE_IO_OUTPUT on walleye. Change-Id: Ic5f9f5d423ba3b720a7d0e27e0f9543a139bae99