Jason Sams
e2ae85fc5a
Generalize bitmap support and add remaining GL formats.
...
Fix bug in command fifo looping case.
2009-06-03 16:04:54 -07:00
Jason Sams
ffe9f48890
Improve bitmap support and do conversion in native rather than java code to reduce conversion time.
2009-06-01 17:45:53 -07:00
Jack Palevich
e1ab434926
Don't prelink the libRS libraries.
...
These are temporary libraries for the development of RenderScript, so they
don't have to be prelinked.
2009-05-29 14:38:01 -07:00
Jason Sams
243e3fbcf7
Implement sampler GL setup code.
2009-05-28 16:16:46 -07:00
Jason Sams
02fb2cb531
Add sampler support
2009-05-28 16:16:46 -07:00
Jack Palevich
ec5a20bf2b
Delete the acc script when deleting the Renderscript rsScriptC object.
...
Previously we had been leaking the ACCscript object.
2009-05-28 15:53:04 -07:00
Jack Palevich
63975dde40
Remove versions of scriptCSetScript method that take byte arrays.
...
This makes the API simpler, and therefore probably easier to use.
2009-05-28 15:34:15 -07:00
Jack Palevich
43702d8925
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.
2009-05-28 13:38:16 -07:00
Jason Sams
0ae234c991
Add background bitmap to fountain test app for renderscript.
2009-05-27 17:46:57 -07:00
Jack Palevich
df98851d2f
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.
2009-05-27 17:00:45 -07:00
Android (Google) Code Review
ba89724351
Merge change 2568
...
* changes:
Enable renderscript to build under the simulator.
2009-05-27 15:29:32 -07:00
Jack Palevich
81d0a9a70a
Enable renderscript to build under the simulator.
...
Added missing #include file to declare memcpy().
2009-05-27 15:26:57 -07:00
Jason Sams
fe08d99725
Implement first pass bitmap to allocation support. The Java bindings can create a 2D allocation by passing in a Bitmap object.
2009-05-27 14:45:32 -07:00
Jack Palevich
8191d0f634
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.
2009-05-27 12:38:37 -07:00
Jack Palevich
55d4522392
Fix Fountain test app so that it actually builds.
...
Also check in first part of an libACC implementation.
2009-05-26 19:21:23 -07:00
Jack Palevich
eaff30744e
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.
2009-05-26 17:23:34 -07:00
Jack Palevich
5da30b73d4
Rename Calc sample to Fountain.
2009-05-26 14:26:43 -07:00
Jack Palevich
60aa3eaf55
Add sprite fountain test.
...
It's still called "Calc".
2009-05-26 13:45:08 -07:00
Jason Sams
d19f10d43a
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
2009-05-22 17:11:00 -07:00