High Performance Applications with RenderScript
summary
RenderScript is an Android API that compiles C99-like kernels as architecture-independent bitcode and JITs them to CPUs, GPUs or DSPs so one APK runs on Gingerbread through Android 4.2+; the compatibility library ships an offline CPU shared library for old devices while newer devices JIT GPU/A15 code. Examples include a hand-tuned Gaussian Blur intrinsic (radius 20, maps to Neon/SSE/GPU) and a two-pass histogram with 256 bins using intermediate buffers; script groups enable DAG fusion and cross-device tiling.
AI-written summary · about
chapters (10)
- 0:00Introduction to RenderScript
- 1:59Mobile GPU Architecture
- 4:59RenderScript API Overview
- 7:58Script Basics and Kernels
- 12:48Advanced Script Groups
- 15:39Compatibility and New Features
- 18:43Image Processing Examples
- 24:08Implementing Custom Kernels
- 29:15Java API Integration
- 34:29Q&A Session
related talks
21mSimple and Fast Image Processing with RenderScript
39mHella-Parallel Compute with RenderScript
36mThe Evolution of Android Graphics in Android 12/13
40mThe Evolution of Android Graphics
33mA LUT (lot) of image filters on Android
16mAndroid Graphics
53mGraphics Something Android Something Performance
43mPixel with Superpowers: Modern Android UI with AGSL Shaders
