RenderscriptTextureCompressor provide utility kernel in order to be able to perform texture compression directly on the device. This make easier and more performant the integration of external content coming from the World Wide Web into and Android OPENGLES application.
RenderscriptTextureCompressor is licensed under the Apache 2.0.
Well hopefully in the future such utility kernels will be implemented directly into the Android SDK. I have fill an enhancement request to the Android bug tracker, please vote for it : https://code.google.com/p/android/issues/detail?id=69792
In the meantime this library will provide you a faster way of compressing ETC1 texture with additionnal functionnalitys compared to the ETC1 utilities found in the Android SDK.
The main avantages of using texture compression are the following :
ETC1 is a standard compression format available on all Android devices that support OPENGL ES 2.0, wich means 99,9% of android devices according to Google.
ETC2 is an enhanced version of the ETC1 format (better quality, proper support for alpha band) available on all OPENGL ES 3.0 devices (currently 13% of the Android devices).
Renderscript is a standard way in the Android World to parallelize code execution in order to obtain the better performance from the hardware. Trough the support library it is available to API level 8 (Android 2.2) or higher.
The input is a 256x128 JPEG image the output a PKM with ETC1 compressed image