226 Commits

Author SHA1 Message Date
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
Romain Guy
a32d100b34 Add new utility methods to rsScriptC_Lib, android.util.MathUtil and android.graphics.Color.
Fixes RS compilation.
2009-07-31 21:36:18 -07:00
Jason Sams
b8c5a84e7c Split RenderScript Type and Allocation into seperate classes. 2009-07-31 20:40:47 -07:00
Jason Sams
36e612a488 Begin splitting up RenderScript.java into seperate classes. First piece split off Element. 2009-07-31 16:26:13 -07:00
Romain Guy
8c76cef0c8 Smoother transitions in GrassRS 2009-07-30 22:39:21 -07:00
Romain Guy
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
Jason Sams
dba3ba5b5b Implement bitmap resource loaders for utility. cleanup rolloRS and checkin maps.png which was missing. 2009-07-30 14:56:12 -07:00
Jason Sams
0ea8c8a7c0 Simplify image loading. Use common internal format. 2009-07-29 21:05:11 -07:00
Jason Sams
faf1520be7 Filmstrip work and boxed bitmap load bugfixes. 2009-07-29 20:55:44 -07:00
Jason Sams
31b532ee9e Checkin art assets for film test app and change loading of icons to 8888. 2009-07-29 17:39:45 -07:00
Jason Sams
6f5c61c8df Add new icons and implement text. Fix bug with uploading 8888 bitmaps of non-square size. 2009-07-28 17:20:11 -07:00
Jason Sams
37d7fc70dd Fix selection and change icon loading from 565 to 8888. 2009-07-28 12:20:28 -07:00
Jason Sams
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
Jason Sams
e29d471e5c Move the java and jni renderscript files to the proper location. 2009-07-23 15:19:03 -07:00
Jason Sams
ee41112e15 Enable light sources and update film test app. 2009-07-21 12:20:54 -07:00
Jason Sams
c97bb8844f Split rsScriptC into class implemtation and library functions. Update test apps, all 3 should be working. 2009-07-20 14:31:06 -07:00
Jason Sams
e6c8e9b8c7 Fix fountain and more rollo ui work. 2009-07-17 17:29:09 -07:00
Jason Sams
7df07026e8 Remove shadows and invert dx sign in zoomed mode. 2009-07-17 12:28:27 -07:00
Jason Sams
c1ea948ee8 More usability tweaks including turning the icons right side up. 2009-07-16 19:09:33 -07:00
Jason Sams
764205c194 Fix conflict with automatic DPI support on high density devices by forcing bitmap loading to not be scaled. 2009-07-16 17:47:40 -07:00
Jason Sams
54440a01a9 Update rollo and renderscript to the new ACC compiler interface. 2009-07-16 15:08:06 -07:00
Jason Sams
c75a257c02 Update rollo with new interactivity model. 2009-07-16 12:55:18 -07:00
Jason Sams
7aa4f3a163 More test app work 2009-07-14 13:59:23 -07:00
Jason Sams
64676f3c21 1st cut of a3d file loader. 2009-07-10 17:32:59 -07:00
Jason Sams
4244afa87e Add support for multitexture and fix allocation ref counting bug in RS. Add plaque to rollo and leave it disabled due to ugly appearance. 2009-07-02 15:09:27 -07:00
Jason Sams
aabd00960f Update rollo with icon images. 2009-07-01 20:17:07 -07:00
Jason Sams
fdcc14e7a2 Update rollo and support functions. Includes mockup of some new ui concepts. 2009-07-01 16:41:34 -07:00
Jason Sams
7c878f3a83 Begin adding mesh 2009-06-30 14:13:25 -07:00
Jason Sams
f29ca50d80 Cleanup logging and fix a startup race condition that manifested on Firestone. 2009-06-23 12:22:47 -07:00