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 graduation season marketing? Analysis of 3 major marketing strategies!

July is coming, and many people must be having a ...

TikTok from 0 to 1 basic course

TikTok 0 to 1 Basic Course Resource Introduction:...

Let’s take a look at a healing story about Siri

What can Siri do? Ask about the weather, ask abou...

With its performance plummeting, will Nikon become the next Kodak?

In the 1970s, American imaging giant Kodak invente...

What did Xiaomi do to make Indians obsessed with "grabbing" Xiaomi?

Last year, Lei Jun, the founder of Xiaomi, announ...

What can you do to save your contract phone that may be phased out?

For users who are used to buying bare-metal phone...

Can we eat the green onion?

Every summer, it is the season for eating mushroo...

Mainstream promotion channels, the truth that startup companies must know!

The content shared some time ago was about how to...

Jie Xiaojie · Popular methods and techniques course videos on short videos

The course is about the techniques and methods of...

Marketing promotion strategy based on user decision

Obviously, users have different decision-making p...