166 Commits

Author SHA1 Message Date
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
Android (Google) Code Review
6c8dd9841f Merge change 21831 into eclair
* changes:
  Add reflections to the water
2009-08-18 17:22:02 -07:00
Romain Guy
15b2969818 Add reflections to the water 2009-08-18 17:21:07 -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
Romain Guy
cac80a6e13 Tweak the galaxy 2009-08-18 11:39:17 -07:00
Android (Google) Code Review
948ee25127 Merge change 21660 into eclair
* changes:
  Optimized Galaxy
2009-08-17 20:00:32 -07:00
Romain Guy
4f7136c659 Optimized Galaxy 2009-08-17 19:59:27 -07:00