Jason Sams
96ed4cfa62
Remove InvokeData and add ContextFinish to generate a sync point.
...
Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
2010-06-15 12:15:57 -07:00
Alex Sakhartchouk
aae74ad614
Creating the jni and java layer to integrate a3d
...
Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
2010-06-04 10:06:50 -07:00
Jason Sams
d79b2e9f8b
Begin naming cleanup for renderscript runtime.
...
Prefix functions with "rs" or "rsg".
Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
2010-05-19 17:23:08 -07:00
Jason Sams
1de0b87168
Remove more pieces of setRoot. Add pointer to allocation lookup for scripts.
...
Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
2010-05-17 14:55:34 -07:00
Jason Sams
ec67275e5f
Delete legacy setDefine API.
...
Change-Id: I1bae13533ab9efea3d3b0ebb6a3711343e922f8a
2010-05-14 16:51:22 -07:00
Jason Sams
54db59c359
Rename ProgramFragmentStore to ProgramStore.
...
Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
2010-05-13 18:35:01 -07:00
Jason Sams
4d3399337d
Convert renderscript from using ACC to LLVM for its compiler.
...
This will also require application to be updated to support
the new compiler and data passing models.
Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
2010-05-11 14:03:58 -07:00
Jason Sams
f468700b6d
checkpoint animations
...
Change-Id: I14ef05bf56470565e4b0cb706f9fb358cdcb42ff
2010-03-16 12:26:30 -07:00
Jason Sams
156cce6980
Improve RS error handling. On errors RS will now store the error and a message that can be read from the app. RS will then not continue rendering frames while an unchecked error is present until new state is received.
2010-03-03 14:14:37 -08:00
Jason Sams
8a64743f37
Add support for linking to a skia bitmap rather than always copying the data from the bitmap.
2010-03-01 15:31:04 -08:00
Jason Sams
c2908e60c9
Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain.
2010-02-23 17:44:28 -08:00
Mathias Agopian
128ce4b24a
real fix for [2440014] launcher2 crashing in loop during boot
...
Surface* cannot be casted to void* and then to android_native_window_t*
2010-02-12 14:04:35 -08:00
Jason Sams
e17964e150
Add RS support for generic attribs as input to vertex programs.
2010-01-04 16:52:27 -08:00
Jason Sams
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
Jason Sams
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
Jason Sams
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
Jason Sams
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
Jason Sams
54c0ec14e0
Beging GL2 user shaders. Switch master to using GL2 by default.
2009-11-30 15:34:03 -08:00
Jason Sams
715333b832
Add support for dumping RS objects to aid in debugging of white blocks bug.
2009-11-17 17:26:46 -08:00
Jason Sams
7d787b4722
Add setPriority to allow wallpapers to run at lower cpu priority than default.
2009-11-15 12:14:26 -08:00
Jason Sams
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
Jason Sams
efd9b6fb2e
Support applications changing the surface attached to the RS.
2009-11-03 14:15:28 -08:00
Jason Sams
65e7aa56f5
Implement pause/resume for the RS thread.
2009-09-24 17:38:20 -07:00
Jason Sams
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
Jason Sams
6b9dec00af
Remove depricated triangleMesh.
2009-09-23 18:07:45 -07:00
Jason Sams
ebfb436a49
Add raster object to control point and line params. Add flag to force SW rendering.
2009-09-23 13:57:02 -07:00
Jason Sams
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
Jason Sams
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
Jason Sams
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
Jason Sams
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
Jason Sams
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
Jason Sams
334ea0c98f
Update fountain and add writable flag to script slots.
2009-08-17 13:56:09 -07:00
Jason Sams
fbf0b9ecda
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
2009-08-13 12:59:04 -07:00
Jason Sams
43ee06857b
Implement reflecting Java objects into the ACC enviroment.
2009-08-12 17:54:11 -07:00
Jason Sams
40a29e8e28
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
2009-08-10 14:55:26 -07:00
Joe Onorato
d7b3774da6
Let java put #defines into renderscript
2009-08-09 22:58:20 -07:00
Jason Sams
1bada8cd6e
Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
2009-08-09 17:05:13 -07:00
Jason Sams
9bee51c42e
Remove useless slot from ProgramVertex. Optimize GL state setup.
2009-08-05 13:57:03 -07:00
Jason Sams
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
Romain Guy
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
Jason Sams
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
Jason Sams
ee41112e15
Enable light sources and update film test app.
2009-07-21 12:20:54 -07:00
Jason Sams
64676f3c21
1st cut of a3d file loader.
2009-07-10 17:32:59 -07:00
Jason Sams
bba134c8a1
All light source objects.
2009-06-22 15:49:21 -07:00
Jason Sams
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
Jason Sams
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
Jason Sams
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
Jason Sams
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
Jason Sams
39ddc950c9
Move call to compiler from jni to core library code.
2009-06-05 17:35:09 -07:00
Jason Sams
02fb2cb531
Add sampler support
2009-05-28 16:16:46 -07:00