Initial Contribution
Add the Renderscript library. (Not in the build by default yet.)

This library can be used to create animated 3D User Interfaces.

This library is currently under heavy development, so it's not part of
the build by default.

In order to build this library, you must define

   BUILD_RENDERSCRIPT=true

in your build environment.

You will also have to manually edit

 build/core/prelink-linux-arm.map

And add libRS and libRS_jni at the end like this (exact address may change.)

libRS.so                0x9A100000
libRS_jni.so            0x9A000000
Add sprite fountain test.

It's still called "Calc".
Rename Calc sample to Fountain.
Fix RenderScript JNI code build issue.

We should not try to build the JNI file until after we have built the
the generated header files that it includes.
Fix Fountain test app so that it actually builds.

Also check in first part of an libACC implementation.
Turn on ACC script test. (It works!)

+ Modified test script to work with the limitations of the ACC langauge.
   - No <op>=
   - use correct C API names for callback methods.
Implement first pass bitmap to allocation support.  The Java bindings can create a 2D allocation by passing in a Bitmap object.
Enable renderscript to build under the simulator.

Added missing #include file to declare memcpy().
Merge change 2568

* changes:
  Enable renderscript to build under the simulator.
Change the Fountain test app's package to com.android.fountain.

It had been com.android.calc, which caused conflicts with the real Calc
application.
Add background bitmap to fountain test app for renderscript.
Add support for setting scripts, rather than having a hard-coded script.

Move the test script into a resource file.
Add APIs for reading a script from a resource, InputStream, string, or
byte array.
Remove versions of scriptCSetScript method that take byte arrays.

This makes the API simpler, and therefore probably easier to use.
Delete the acc script when deleting the Renderscript rsScriptC object.

Previously we had been leaking the ACCscript object.
Add sampler support
Implement sampler GL setup code.
Don't prelink the libRS libraries.

These are temporary libraries for the development of RenderScript, so they
don't have to be prelinked.
Improve bitmap support and do conversion in native rather than java code to reduce conversion time.
Generalize bitmap support and add remaining GL formats.
Fix bug in command fifo looping case.