839 Commits

Author SHA1 Message Date
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
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
Romain Guy
81e4640d18 Add Galaxy wallpaper 2009-08-16 23:22:44 -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
Romain Guy
12d6831156 Grass has graduated from an RS experiment to a real live wallpaper. 2009-08-12 15:55:17 -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
Joe Onorato
ee1e253453 fix the build 2009-08-10 17:46:06 -07:00
Android (Google) Code Review
1f9ef9a2cc Merge change 20654
* changes:
  The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex conform to that.
2009-08-10 15:02:36 -07:00
Joe Onorato
daed524c35 The build system knows how to deal with lex files, but it treats them as c++, so make spec.lex
conform to that.
2009-08-10 15:01:51 -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
Android (Google) Code Review
6307f0285e Merge change 20586
* changes:
  Let java put #defines into renderscript
2009-08-09 23:01:04 -07:00
Joe Onorato
d7b3774da6 Let java put #defines into renderscript 2009-08-09 22:58:20 -07:00
Romain Guy
a9d2d5ed28 Make the laves follow the ripples 2009-08-09 19:12:27 -07:00
Joe Onorato
3370ec9e54 add three rs functions: uptimeMillis, startTimeMillis, elapsedTimeMillis 2009-08-09 17:31:59 -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
Romain Guy
8f5c94b453 Better ripples and leaves 2009-08-09 15:20:29 -07:00
Romain Guy
6c0cc6db99 Add refraction and bettr normals computation to FallRS 2009-08-07 15:40:32 -07:00
Romain Guy
b62627ea33 Add lighting to animated water ripples. 2009-08-06 22:52:13 -07:00
Romain Guy
f8e136dcd0 Use arrays in Grass RS 2009-08-06 12:40:41 -07:00
Android (Google) Code Review
71cb821c05 Merge change 20217
* changes:
  Draw untextured water mesh
2009-08-05 19:27:58 -07:00
Romain Guy
31858c2b84 Draw untextured water mesh 2009-08-05 18:39:37 -07:00
Jason Sams
8c709dcc41 Implement basic snapping. 2009-08-05 17:35:36 -07:00
Jason Sams
9bee51c42e Remove useless slot from ProgramVertex. Optimize GL state setup. 2009-08-05 13:57:03 -07:00
Romain Guy
ec070224c4 Fix Fall RS to use the new ProgramVertex APIs. 2009-08-04 20:23:00 -07:00
Jason Sams
110195fe9f Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc into the ProgramVertex class. 2009-08-04 19:00:00 -07:00