0

There used to be a subset of Android Renderscript called Filterscript. It was supposed to execute faster than Renderscript on some devices due to reduced complexity. Here is a thread about Filterscript on SO.

Although Filterscript was officially announced just one version ago (4.2) I can't find Filterscript mentioned in the current (4.3) Android Renderscript documentation any more.

So the question is: What happened to Filterscript? Does the distinction between RS and FS still make sense? Has it been deprecated?

Community
  • 1
  • 1
rsp1984
  • 1,877
  • 21
  • 23

1 Answers1

1

FilterScript most certainly still exists. We did make a lot of doc updates for 4.3, so perhaps those sections disappeared (or got folded into more general sections). In general, you can still use the .fs suffix to denote FilterScript kernels. These should be more easily accelerated than .rs files due to the forced use of "__attribute__((kernel))". If you use this attribute to declare your kernels, your .rs files should also be easier to run on the GPU.

Stephen Hines
  • 2,612
  • 1
  • 13
  • 12