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

Summary of common configurations of Android gradle

This article summarizes the common configurations...

US experts: True driverless cars won't be available until 2075

Autonomous driving systems are already being inst...

5,000 yuan is not important, you may lose Alipay and WeChat Pay

[[143843]] Your favorite Wu Meiniang has had her ...

Convenience stores are not a panacea for community O2O

Once upon a time, I was superstitious about conve...

Scientists say this about the "hard technology" in "The Wandering Earth 2"...

Xinhua News Agency, Hefei, January 27th. Planetar...

Lao Duan said: The Internetization of TV Brands

By chance, I invited my neighbor to dinner. Their...

How to make a 400 call? How much does a 400 call cost?

400 telephone numbers can enhance a company's...

What is a deeply customized operating system?

Domestic terminal manufacturers seem to like to cu...

iOS13.5 performance test: Do 5 old iPhones run faster after upgrading?

Apple has officially launched the official versio...