Jason Sams
b9d5c574ff
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.
2009-12-09 11:05:45 -08:00
Jason Sams
9d5e03db99
Fix RS bugs. We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-11-03 11:25:42 -08:00
Jason Sams
66b2771d74
Reduce debugging spew and add props to selectivly re-enable it.
...
change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
2009-09-25 15:25:00 -07:00
Jason Sams
a9e7a05b84
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
2009-09-25 14:51:22 -07:00
Jason Sams
e60446b9c1
Fix invokables to make sure script pointers are setup before invoking function calls. Reduce app startup time up to 1s.
2009-09-24 14:55:38 -07:00
Jason Sams
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
Jason Sams
2525a81522
Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
2009-09-03 15:43:13 -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
Joe Onorato
d7b3774da6
Let java put #defines into renderscript
2009-08-09 22:58:20 -07:00
Jason Sams
c97bb8844f
Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working.
2009-07-20 14:31:06 -07:00
Jason Sams
764205c194
Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled.
2009-07-16 17:47:40 -07:00
Jason Sams
54440a01a9
Update rollo and renderscript to the new ACC compiler interface.
2009-07-16 15:08:06 -07:00
Jason Sams
462d11b880
checkpoint filmstrip, implemented TLS.
2009-06-19 16:03:18 -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
da423d8479
checkpoint pragma support. Includes more cleanup of script enviroment storage to keep the env settings in the base and only the per language state in ScriptC.
2009-06-09 12:15:30 -07:00
Jason Sams
928f5cf287
Move placement of script enviroment data to base.
2009-06-08 18:50:13 -07:00
Jason Sams
3a833d8e0f
Fix build issue and ref count bug with scripts.
2009-06-08 15:20:31 -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
a09f11d6c6
Add support for scripts to return an animation flag. This allows them to indicate they are generating changing content and the rs thread to sleep if the content is static.
2009-06-04 17:58:03 -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
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