Use CPU path for LOW_LATENCY RenderScript Context.
Bug: 38355370
- LOW_LATENCY Context always forces CPU path.
- This patch will move the decision up to libRS.so, not detouring through
HIDL for the LOW_LATENCY CPU path, as HIDL should be only used by
vendor drivers.
- This would bypass the linker-namespace check, and other HIDL
overhead, significantly reduce the latency for context init.
Test: mm && verified that rsContextCreate takes much shorter time on
Sailfish.
Change-Id: I53b22561b6c75b12d7015c07541965220d1f8225
1 file changed