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
Romain Guy
a2136d6b18
Add ability to load arrays in RenderScript.
2009-08-04 18:50:24 -07:00
Jason Sams
0835d42be9
Seperate Light and Sampler from RenderScript.java
2009-08-04 17:58:23 -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
Romain Guy
1836ae25f5
Use the new ScriptC.Builder API.
2009-08-04 16:44:11 -07:00
Romain Guy
ecc7ca0372
Add swaying effect to the grass.
2009-08-04 14:41:41 -07:00
Jason Sams
69f0d31e57
Split ScriptC from RenderScript.java. Implement state caching in the Builder objects.
2009-08-04 12:29:40 -07:00
Android (Google) Code Review
cd9e8d4907
Merge change 9606
...
* changes:
Add anti-aliasing to Grass RS.
2009-08-03 17:29:51 -07:00
Romain Guy
3a1ea9334f
Add anti-aliasing to Grass RS.
2009-08-03 17:29:05 -07:00
Android (Google) Code Review
9df76c7c2f
Merge change 9551
...
* changes:
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:23:07 -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
fcaa31bf65
Clean up Grass RS
2009-07-31 23:30:07 -07:00