bfa6e70a40b4b9b78b357bb9964914bc8c940e74 |
|
09-May-2017 |
Yang Ni <yangni@google.com> |
Clean up Healing Brush and fix a crash Bug: 38173182 Bug: 38174001 Avoid crash in getF32_3() by removing it and calling rsGetElementAt_float3() directly. Removed old workaround code that dealt with currently fixed return value issues. Replaced user function with runtime API to create float3 Allocations. Test: Built and ran the HealingBrush and SSHealingBrush, and tested multiple touchups. Change-Id: I8b368cdd550dc84c37d302d48c7a5c486359ca01
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/healing.rs
|