History log of /frameworks/rs/rsFallbackAdaptation.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0838b98ea2d72bd2262bf9bff5aca093699d64ff 21-Jan-2017 Miao Wang <miaowang@google.com> RenderScript HIDL client-side implementation

- Client-side implementation converts RenderScript HAL (top level)
from C/C++ to HIDL
- Fallback to default CPU implementation if it could not find a
matching RS driver through HIDL.
- HIDL adaptation and Graphics fallback are handled by two
corresponding singleton classes.
- Remove HOST_STATIC version of libRS from the makefile. The host
version of libRS is not used at all, and generating build errors with
HIDL.
- Always use fallback path for RS graphics API.
- Removed reference to Device from rsContext.cpp. In our current
implementation, Device is equivalent to HIDL IDevice class.
Thus, our HIDL HAL no longer provides DeviceCreate and DeviceDestroy,
making Device no longer useful to Context.
- Wait for the debugger to attach if RS_CONTEXT_WAIT_FOR_ATTACH flag
is set. The waiting part is now moved out of the context class.

Bug: 34396220
Test: mm, all CTS tests pass on bullhead, LiveWallpaper apps using RS
graphics APIs run well.

Change-Id: I86493b11328d5d8c904cebafa99243e92dfdf6a7
/frameworks/rs/rsFallbackAdaptation.cpp