Skip to content Skip to sidebar Skip to footer

Renderscript Fails On Gpu Enabled Driver If Usage_shared

We are using renderscript for audio dsp processing. It is simple and improves performance significantly for our use-case. But we run into an annoying issue with USAGE_SHARED on dev

Solution 1:

You need to have the copy even if you use USAGE_SHARED.

USAGE_SHARED is just a hint to the driver, it doesn’t have to use it.

If the driver does share the memory the copy will be ignored and performance will be the same.

Post a Comment for "Renderscript Fails On Gpu Enabled Driver If Usage_shared"