Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 History  





2 Features  



2.1  Portability  





2.2  Performance  







3 Limitations  





4 References  





5 External links  














RenderScript






Français
Русский

 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


RenderScript
Developer(s)Google
Operating systemAndroid (operating system)
Websitedeveloper.android.com/guide/topics/renderscript/compute

RenderScript is a deprecated component of the Android operating system for mobile devices that offers an API for acceleration that takes advantage of heterogeneous hardware. It allows developers to increase the performance of their applications at the cost of writing more complex (lower-level) code.

It provides the developer three primary tools: A simple 3D rendering API, a compute API similar to CUDA, and a C99-derived language.

History[edit]

RenderScript was added in Android 3.0 Honeycomb.[1]

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

Android 4.2 added new capabilities to script intrinsics, such as Blend and Blur; as well as ScriptGroups which allows related RenderScript scripts to be grouped and executed with one call. It also 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 less precise in floating point precision, and more cross device compatible subset of RenderScript – and should not be mistaken for a RenderScript replacement technology.[2]

On April 19, 2021, Google announced that RenderScript will be deprecatedinAndroid 12, and recommended porting existing code to Vulkan.[3]

Features[edit]

Portability[edit]

RenderScript is designed to always run on the various Android platforms regardless of hardware type. Performance tuning is done at runtime.

RenderScript portability depends upon device-specific drivers:[4] a basic CPU-only driver is provided for every device, while there exist some specific chipset-provided RenderScript drivers that enable GPU usage (e.g. Qualcomm specific drivers, which are provided in the libRSDriver_adreno.so Android library).

Performance[edit]

RenderScript is designed to tune tasks at runtime that can be efficiently split and run concurrently on the underlying hardware.[5]

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

Limitations[edit]

References[edit]

  1. ^ "Honeycomb".
  • ^ "Android 4.2 APIs". Retrieved 2013-03-20.
  • ^ "Android GPU Compute Going Forward". Android Developers Blog. Retrieved 2021-04-19.
  • ^ Marchetti, Alberto (2016). RenderScript: parallel computing on Android, the easy way (1st ed.). Archived from the original on 2016-08-25. Retrieved 2016-07-05.
  • ^ "Renderscript Part 2".
  • ^ "Jelly Bean - Renderscipt Performance". Retrieved 2012-11-27.
  • External links[edit]


    Retrieved from "https://en.wikipedia.org/w/index.php?title=RenderScript&oldid=1169432723"

    Categories: 
    Android (operating system)
    GPGPU libraries
    Hidden category: 
    Webarchive template wayback links
     



    This page was last edited on 9 August 2023, at 01:56 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki