World Library  
Flag as Inappropriate
Email this Article

Renderscript

Article Id: WHEBN0032576047
Reproduction Date:

Title: Renderscript  
Author: World Heritage Encyclopedia
Language: English
Subject: Android (operating system), General-purpose computing on graphics processing units, Android, Google Cloud Messaging, Android Honeycomb
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Renderscript

Renderscript is a component of the Android operating system for mobile devices. It is an API for intensive computation using heterogeneous computing. It allows developers to increase the performance of their applications at the cost of writing a greater amount of more complex code. It provides the developer three primary tools: A general purpose compute API across different system computing hardware, a compute API similar to CUDA, OpenCL or GLSL, and a familiar C99-derived language. It can also be used for 3D graphics. Android 4.2 added new capabilities to script intrinsics, such as Blend and Blur; as well as ScriptGroups which allow you to chain together related Renderscript scripts and execute them with one call.

Most recently, Google added Filterscript, which is a subset of Renderscript that allows developers to write their image processing operations in Filterscript using the standard Renderscript runtime API, but within stricter constraints that ensure wider compatibility and improved optimization across multi-core CPUs, GPUs, and DSPs. Filterscript is a less precise in terms of numeric datatype precision, and more cross device compatible subset of Renderscript – and should not be mistaken for a Renderscript replacement technology.[1]

Features

  • The API was first published with the Android Honeycomb API release
  • It consists of a "computing" API
  • Accessed using a C-based scripting language

Portability

Renderscript is designed to always run on the various Android platforms regardless of hardware type. Its goal is code portability for various architectures and not performance.

Performance

The API is designed to accommodate tasks that can be efficiently split and run concurrently on the underlying hardware which may be only known at the runtime of the application.

As of Android 4.2, Renderscript has been expanded to run on the GPU in addition to the CPU on supported systems.[2]

Usability

Simplify development as much as possible. Where possible steps are automated to avoid glue code

It's these trade-offs that separate Renderscript from the existing approaches on the device, such as Dalvik or the Android Native Development Kit. They should be thought of as different tools intended to solve different problems.

History

As of Android 4.1, Renderscipt's experimental 3D rendering API has been deprecated, and now exists solely as a compute API.

References

  1. ^ "Android 4.2 APIs". Retrieved 2013-03-20. 
  2. ^ "Jelly Bean - Renderscipt Performance". Retrieved 2012-11-27. 

External links

  • Google Developer page
  • Introducing Renderscript
  • Renderscript Part 2
  • Google details low-level Renderscript API for Honeycomb
  • Video: Learn about RenderScript from Romain Guy and Chet Haase
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.