OSDN Git Service

DO NOT MERGE. Port Froyo livewallpaper support to eclair for droid..
authorJason Sams <rjsams@android.com>
Fri, 11 Dec 2009 01:32:28 +0000 (17:32 -0800)
committerJason Sams <rjsams@android.com>
Fri, 12 Feb 2010 02:09:56 +0000 (18:09 -0800)
commit6a500a1d5e15bd5a563995f31d0796552cc13640
tree5166241fb3673a24b980e8995200a67b8168672d
parenta7f85762cded62465c5144679ba8bf5b9986d0c0
DO NOT MERGE.  Port Froyo livewallpaper support to eclair for droid..

Update grass to use fragment shaders.

Create struct for blade data.

Use indicies to reduce grass cpu usage.  Fix aliasing of tips of grass.

Update to new RS texture API.

Update to new RS element API.

Update to use RS generic attrib support.

Change to user attrib types.

Disable per touch logging.

Simplify the fall water script.  Remove some dead code from the java layer that was left over from the old integer mesh.

Move Fall waveform calculation to vertex shader.

Add uses-feature to the manifest.

Enable red-pulses-only mode in Nexus wallpaper.

Also load textures with CLAMP for Droid compatiblity.

Bug: 2395147
Change-Id: Id310674e1c3160a545d632b286506e55e9cbc8ad

Fix shader problems in Nexus, er, Neural Network LW.

Change-Id: I852bdf4700d61f18a006ebcf619e9d4f3b51e4cd

Fix Galaxy in landscape mode.

 Author:    Romain Guy <romainguy@android.com>
 Committer: Jason Sams <rjsams@android.com>
 On branch droid
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

modified:   src/com/android/wallpaper/galaxy/GalaxyRS.java
AndroidManifest.xml
res/raw/fall.rs
res/raw/galaxy.rs
res/raw/grass.rs
res/raw/nexus.rs
res/values/integers.xml [new file with mode: 0644]
src/com/android/wallpaper/fall/FallRS.java
src/com/android/wallpaper/galaxy/GalaxyRS.java
src/com/android/wallpaper/grass/GrassRS.java
src/com/android/wallpaper/nexus/NexusRS.java