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
516c319115
Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
...
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.
Change only impacts renderscript and renderscript apps.
2009-10-06 13:58:47 -07:00
3c0dfbab80
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
2009-09-27 17:50:38 -07:00
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
65e7aa56f5
Implement pause/resume for the RS thread.
2009-09-24 17:38:20 -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
768bc02d81
Implement more type checks on Allocations.
...
Add tracking for allocations created using the "sized" helper.
Add more param validation for data upload calls.
2009-09-21 19:41:04 -07:00
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
5f43fd289a
Implement Object readback.
2009-09-15 12:39:22 -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
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
650a3eb7d6
Load bitmap resources entirely from native code.
...
Change-Id: I6660baec241794c40611bce79b7f9ce9479e52ba
2009-08-31 14:06:43 -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
f5b4596a38
Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
2009-08-25 14:49:07 -07:00
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
d8e4161f11
Allow null to be re-bound as a root script. This was always legal from native and just a limitation of the java binding for the API.
2009-08-20 17:22:40 -07:00
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
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
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
b3c61e7dec
Fix the build
2009-08-11 17:49:01 -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
110195fe9f
Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc into the ProgramVertex class.
2009-08-04 19:00:00 -07:00
0835d42be9
Seperate Light and Sampler from RenderScript.java
2009-08-04 17:58:23 -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
69f0d31e57
Split ScriptC from RenderScript.java. Implement state caching in the Builder objects.
2009-08-04 12:29:40 -07:00
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
b8c5a84e7c
Split RenderScript Type and Allocation into seperate classes.
2009-07-31 20:40:47 -07:00
36e612a488
Begin splitting up RenderScript.java into seperate classes. First piece split off Element.
2009-07-31 16:26:13 -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
dba3ba5b5b
Implement bitmap resource loaders for utility. cleanup rolloRS and checkin maps.png which was missing.
2009-07-30 14:56:12 -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
e29d471e5c
Move the java and jni renderscript files to the proper location.
2009-07-23 15:19:03 -07:00