Jason Sams
b13ada5071
Add support for selecting the color bit depth and if the application used a depth buffer.
2009-08-25 11:44:30 -07:00
Jason Sams
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
Jason Sams
730ee65d4d
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
2009-08-18 17:07:09 -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
bc948dedce
Remove global IO context and integrate it into the RS context.
2009-08-17 18:35:48 -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
a8f2acee39
readData should read the data, not write the data.
2009-08-12 11:47:23 -07:00
Marco Nelissen
3f8f9da85f
Fix the simulator build by removing librs_jni and libRS from it.
...
Since libacc isn't 64-bit clean (it casts pointers to integers),
and so can't be built for the gHardy simulator, everything
that depends on it can't be built for the simulator either, which
means removing libRS and librs_jni.
2009-08-12 09:41:07 -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
01e5fbd721
build libRS
2009-08-10 14:06:01 -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
Jason Sams
bd1c3ad0cd
Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
2009-08-03 16:03:08 -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
8af858e9b6
Unbreak build by making the build of renderscript again conditional on BUILD_RENDERSCRIPT until we can figure out why the build servers see an error that does not reproduce locally.
2009-07-23 16:10:46 -07:00
Jason Sams
e29d471e5c
Move the java and jni renderscript files to the proper location.
2009-07-23 15:19:03 -07:00