e17964e150
Add RS support for generic attribs as input to vertex programs.
2010-01-04 16:52:27 -08:00
718cd1f322
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures.
...
This will break some apps, checkings for other projects will follow to unbreak them.
2009-12-23 14:35:29 -08:00
68afd01ec9
Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode.
2009-12-17 16:55:08 -08:00
7e5ab3b177
Continue es2 shader dev
...
Conflicts:
graphics/java/android/renderscript/Program.java
graphics/java/android/renderscript/ProgramVertex.java
2009-12-15 13:27:04 -08:00
0011bcf57f
Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
2009-12-15 12:58:36 -08:00
54c0ec14e0
Beging GL2 user shaders. Switch master to using GL2 by default.
2009-11-30 15:34:03 -08:00
715333b832
Add support for dumping RS objects to aid in debugging of white blocks bug.
2009-11-17 17:26:46 -08:00
7d787b4722
Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-15 12:14:26 -08:00
3bc47d4381
Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
2009-11-12 15:10:47 -08:00
efd9b6fb2e
Support applications changing the surface attached to the RS.
2009-11-03 14:15:28 -08:00
65e7aa56f5
Implement pause/resume for the RS thread.
2009-09-24 17:38:20 -07:00
b6f2b131c4
Removed last bits of predefined element types from native code. Predefined types are now constructed at the java layer from standard building blocks.
2009-09-24 12:33:45 -07:00
6b9dec00af
Remove depricated triangleMesh.
2009-09-23 18:07:45 -07:00
ebfb436a49
Add raster object to control point and line params. Add flag to force SW rendering.
2009-09-23 13:57:02 -07:00
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
ea84a7c517
Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
2009-09-04 14:42:41 -07:00
07ae406237
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
2009-08-27 20:23:34 -07:00
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
7ce033d797
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
2009-08-18 14:20:07 -07:00
334ea0c98f
Update fountain and add writable flag to script slots.
2009-08-17 13:56:09 -07:00
fbf0b9ecda
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 12:59:04 -07:00
43ee06857b
Implement reflecting Java objects into the ACC enviroment.
2009-08-12 17:54:11 -07:00
40a29e8e28
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
2009-08-10 14:55:26 -07:00
d7b3774da6
Let java put #defines into renderscript
2009-08-09 22:58:20 -07:00
1bada8cd6e
Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
2009-08-09 17:05:13 -07:00
9bee51c42e
Remove useless slot from ProgramVertex. Optimize GL state setup.
2009-08-05 13:57:03 -07:00
22534176fb
Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
2009-08-04 17:05:43 -07:00
584a375df6
First pass at implementing the Grass live wallpaper in RenderScript.
...
This change also adds second(), minute() and hour() to the RS library.
2009-07-30 19:11:51 -07:00
b0ec1b46d6
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
2009-07-28 12:02:16 -07:00
ee41112e15
Enable light sources and update film test app.
2009-07-21 12:20:54 -07:00
64676f3c21
1st cut of a3d file loader.
2009-07-10 17:32:59 -07:00
bba134c8a1
All light source objects.
2009-06-22 15:49:21 -07:00
b37c0a5db6
Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts.
2009-06-16 17:49:58 -07:00
0826a6f90f
Bug fixes. TriangleMesh now ref-counts, implement missing element formats, add missing modes for program vertex. Add matrix support classes. Add test app rollo
2009-06-15 19:04:56 -07:00
d5680f9ba9
Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines.
2009-06-10 18:39:40 -07:00
3eaa338e11
Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts.
2009-06-10 15:04:38 -07:00
39ddc950c9
Move call to compiler from jni to core library code.
2009-06-05 17:35:09 -07:00
02fb2cb531
Add sampler support
2009-05-28 16:16:46 -07:00
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
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
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