63 Commits

Author SHA1 Message Date
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
Jason Sams
f8001669ba Fix 3 bugs in fountain test. Correctly generate the last mip level of a non-square mip chain. Default the background to not blended and disable dither/depth. 2009-06-22 18:13:36 -07:00
Jason Sams
bba134c8a1 All light source objects. 2009-06-22 15:49:21 -07:00
Jason Sams
af49c744d0 implement modeview matrix sliding from within scripts. 2009-06-19 18:33:44 -07:00
Jason Sams
462d11b880 checkpoint filmstrip, implemented TLS. 2009-06-19 16:03:18 -07:00
Jason Sams
2d9c39d6e1 Fix two minor issues. Rename launchID to launchIndex and make util class Matrix public for apps to use. 2009-06-18 19:52:45 -07:00
Jason Sams
9c54bdbf45 Implement default programs and implement defaults and parents for imports. 2009-06-17 16:52:59 -07:00
Jason Sams
b37c0a5db6 Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts. 2009-06-16 17:49:58 -07:00
Jason Sams
0826a6f90f Bug fixes. TriangleMesh now ref-counts, implement missing element formats, add missing modes for program vertex. Add matrix support classes. Add test app rollo 2009-06-15 19:04:56 -07:00
Jason Sams
1fe9b8c3bd Split FountainView into View and RS parts. Beging adding ProgramVertex to the java api. It was already implemented in native. 2009-06-11 14:46:10 -07:00
Jason Sams
d5680f9ba9 Fix bug with bad conversion of java strings to C strings for object names. Update test app to test object defines. 2009-06-10 18:39:40 -07:00
Jason Sams
94d8e90ad7 Split renderscript java code from test apps. Update makefiles. 2009-06-10 16:09:05 -07:00
Jason Sams
3eaa338e11 Add named objects and implement support for ProgramFragmentStore and ProgramFragment to be used by name in scripts. 2009-06-10 15:04:38 -07:00
Jason Sams
da423d8479 checkpoint pragma support. Includes more cleanup of script enviroment storage to keep the env settings in the base and only the per language state in ScriptC. 2009-06-09 12:15:30 -07:00