Improve bitmap support and do conversion in native rather than java code to reduce conversion time.
diff --git a/libs/rs/RenderScript.h b/libs/rs/RenderScript.h
index 378fccc..2b33419 100644
--- a/libs/rs/RenderScript.h
+++ b/libs/rs/RenderScript.h
@@ -86,14 +86,14 @@
RS_ELEMENT_USER_I32,
RS_ELEMENT_USER_FLOAT,
- RS_ELEMENT_A_8,
- RS_ELEMENT_RGB_565,
- RS_ELEMENT_RGBA_5551,
- RS_ELEMENT_RGBA_4444,
- RS_ELEMENT_RGB_888,
- RS_ELEMENT_RGBA_8888,
+ RS_ELEMENT_A_8, // 7
+ RS_ELEMENT_RGB_565, // 8
+ RS_ELEMENT_RGBA_5551, // 9
+ RS_ELEMENT_RGBA_4444, // 10
+ RS_ELEMENT_RGB_888, // 11
+ RS_ELEMENT_RGBA_8888, // 12
- RS_ELEMENT_INDEX_16,
+ RS_ELEMENT_INDEX_16, //13
RS_ELEMENT_INDEX_32,
RS_ELEMENT_XY_F32,
RS_ELEMENT_XYZ_F32,