Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When should we (really) use RenderScript? [closed]

I cannot seem to find a clear answer of when to use RenderScript?

Documentation says that we should use it when doing some computing or work with images. This is not so clear especially the part with images.

Can someone give me practical advices when to use it?

For example,

  1. what computing are they talking about?

  2. when should we use RenderScript dealing with Bitmap when there are other methods (or factories) which we can successfully use on such occasions?

  3. Is RenderScript limited only to usage when coding games?

like image 215
sandalone Avatar asked Sep 03 '13 12:09

sandalone


1 Answers

Its really pretty simple. If your application is doing a lot of cpu based data processing (i.e. in Dalvik or the NDK), and you would like a speedup, you should look at RS.

If you don't have a performance problem today I would keep doing what you are doing.

like image 156
R. Jason Sams Avatar answered Nov 02 '22 18:11

R. Jason Sams