Chapter  9

RenderScript

Introduced in Honeycomb (API level 11), RenderScript is a new framework targeted at high-performance 3D rendering and compute operations. While RenderScript was already used back in Android 2.1 (Éclair), Honeycomb is the first Android version where RenderScript is made publicly available.

After a brief overview of RenderScript, you will learn how to create a simple script and how to use it from your Java application. Then you will learn how to perform rendering operations from your script and how to access your script's data from Java. We will review one of the sample applications provided in the Android SDK, HelloCompute, and compare two implementations of the same application, one based on Honeycomb APIs and the other ...

Get Pro Android Apps Performance Optimization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.