Google will abandon RenderScript in Android 12 and switch to Vulkan

Google will abandon RenderScript in Android 12 and switch to Vulkan

Google announced today that with the launch of Android 12.0, they will deprecate the RenderScript API. In the future, Android developers should mainly develop for the Vulkan API to meet high-performance computing needs.

[[394252]]

RenderScript has been an API for heterogeneous CPU/GPU programming in the system since Android 3.0, and even became an API for 3D rendering for a while. However, with the implementation of GPU computing through Vulkan and even OpenGL, the significance of RenderScript is not great nowadays. Some current Android devices only support RenderScript executed only by the CPU, and with the launch of Android 12.0, these APIs will be deprecated.

Android developers should plan to use the Vulkan compute/graphics APIs to handle performance-sensitive code paths, offloading the workload to the GPU.

For older devices that lack adequate Vulkan support, Google has also open-sourced a library that provides highly optimized CPU implementations for most RenderScript intrinsics—all except BLAS. This new replacement library has been shown to perform faster on the CPU than the previous RenderScript support.

"We on the RenderScript team thank you for your support over the years, and we understand that transitioning is never easy," Google said in a post on the Android Developers Blog. "Our focus on cross-platform APIs like Vulkan will mean better tooling and support for your GPU-accelerated apps."

This article is reproduced from OSCHINA

Title of this article: Google will abandon RenderScript in Android 12 and use Vulkan instead

This article address: https://www.oschina.net/news/138310/renderscript-to-vulkan

<<:  There are really no new features to add, so Android 12 has to add a "Recycle Bin" feature

>>:  6 high-tech apps that you wish you hadn’t known earlier, making your phone do everything

Recommend

How to do holiday marketing most effectively?

It’s the annual “buy, sell, buy” Double 11 shoppi...

How to design an efficient check-in activity? Here are 4 tips

Many APP operators will encounter the following t...

Google to release Android M system at the end of the month

[[133575]] On May 7, Google (Weibo) will hold its...

Arokos: The most distant "sky"

On January 1, 2019, NASA's New Horizon probe ...

How to make an idea for app promotion?

The Internet population dividend has disappeared,...

Cook recalls Steve Jobs in a long interview: He was my best teacher

[[130357]] On March 19, Fast Company published an...