Romain Guy
d7fa122dfe
Add new RenderScript sample: ImageProcessing.
...
Change-Id: I5e482bbc34911c940a3a74258f8f8549b1939bc4
2009-10-09 16:05:25 -07:00
Jason Sams
bd2197fb00
Add script to script call support. Add exception to catch out of bound index data when added to TriangleMeshBuilder.
2009-10-07 18:14:01 -07:00
Jason Sams
996db8dace
Fix tls crash on startup if more than one RS contexts are created in one process.
2009-10-06 17:16:55 -07:00
Jason Sams
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
Jason Sams
7f047786d9
Update the SimpleMesh API to support new attribute types. Also spilt add/set commands to avoid permutation explosion.
2009-10-02 18:18:35 -07:00
Joe Onorato
9e384dddb8
Add a test pattern as rollo's icon
2009-10-01 16:48:44 -07:00
Jason Sams
e9ad9a719d
Implement screen aligned bitmap drawing support.
2009-09-30 17:40:06 -07:00
Romain Guy
bd5b572279
absf() -> fabsf() instead of fabs()
...
Change-Id: I5571a635757295aa1514aeaff72e80cc3dd8752c
2009-09-29 13:17:27 -07:00
Jason Sams
5235cf3f41
Fix but processing raster state pragma.
...
rename stateFragmentStore to stateStore
2009-09-28 18:12:56 -07:00
Jason Sams
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
Jason Sams
f075b4e713
Fix fountain crash.
2009-09-25 20:24:54 -07:00
Jason Sams
a57e982785
Fix remaining object leaks. Change FountainView to tear down the rsContext and recreate on rotation to test teardown.
2009-09-25 16:50:36 -07:00
Jason Sams
61f08d6fa7
Improved object lifecycle tracking and fix leaks.
2009-09-25 16:37:33 -07: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
65e7aa56f5
Implement pause/resume for the RS thread.
2009-09-24 17:38:20 -07:00
Jason Sams
d3f2eaf60a
Minor cleanup of profile and compile logging.
2009-09-24 15:42:52 -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
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
Joe Onorato
9ac2c66f01
Make the renderscript timing logging available by setting debug.rs.profile=1
2009-09-23 17:26:07 -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
59038ca98b
Update viewport when height or width change.
2009-09-22 12:26:53 -07:00
Jason Sams
d342fd7526
Clean up some debugging and add 2 math lib routines.
2009-09-18 14:24:24 -07:00
Jason Sams
be2e84193f
Implement renderscript Invokables.
2009-09-16 15:04:38 -07:00
Jason Sams
988f6ebb44
Minor perf tweak for fountain.
2009-09-14 15:00:05 -07:00
Romain Guy
fa736d79b7
Remove the FallRS demo, now promoted as a wallpaper.
...
Change-Id: I0e40f2aa4b51f9e9cdbe14d178491b3667662023
2009-09-09 13:10:56 -07:00
Android (Google) Code Review
ac67ebe667
Merge change 24058 into eclair
...
* changes:
Minor perf improvement to fall and expand use of struct.
2009-09-04 18:21:30 -07:00
Android (Google) Code Review
a3c745dafa
Merge change 24057 into eclair
...
* changes:
checkpoint
2009-09-04 18:21:18 -07:00
Jason Sams
7042cde5e1
Minor perf improvement to fall and expand use of struct.
2009-09-04 18:19:46 -07:00
Romain Guy
2d496bfebc
Fix point sprites.
...
Change-Id: Ic9438daaf25f3969a0dd5b634b7cceccbbbfb27b
2009-09-04 17:55:53 -07:00
Jason Sams
7adb985e85
checkpoint
2009-09-04 16:01:41 -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
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
44e9983ffc
Update fountain to use structures.
2009-08-31 12:10:24 -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
67c6844ea0
Remove bogus comments and logging.
2009-08-25 17:09:59 -07:00
Jason Sams
f5b4596a38
Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
2009-08-25 14:49:07 -07:00
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
Romain Guy
463a60830f
Remove Galaxy Render Script, replaced by its wallpaper equivalent.
...
Change-Id: I28c91d648fe5ab6e794bf55d11879388b139dbe9
2009-08-24 13:12:40 -07:00
Romain Guy
1965610f3b
Fix FallRS by keeping a reference to the mesh.
2009-08-21 16:29:42 -07:00
Android (Google) Code Review
75e6c77139
Merge change 22169 into eclair
...
* changes:
Cleanup the Galaxy, add a few RS functions for Grass.
2009-08-20 17:08:54 -07:00
Romain Guy
d22fff7185
Cleanup the Galaxy, add a few RS functions for Grass.
2009-08-20 17:08:33 -07:00
Jason Sams
25ffcdc9d7
Point Sprites
2009-08-20 16:11:03 -07:00
Romain Guy
8e7c671db7
Micro-optimizations for FallRS
2009-08-19 18:08:09 -07:00
Romain Guy
313b5b8b63
Improved performance in Galaxy and Fall
2009-08-19 17:16:17 -07:00
Android (Google) Code Review
6794e1ba38
Merge change 21927 into eclair
...
* changes:
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:18:28 -07:00
Jason Sams
f4d160653f
Improved RS timing code to monitor where we spend CPU time.
2009-08-19 12:17:14 -07:00
Romain Guy
484d57f435
Move the sky
2009-08-19 12:10:03 -07:00
Romain Guy
8a947bd696
Tweak the water and its texture
2009-08-18 18:38:38 -07:00