diff options
author | Romain Guy <romainguy@google.com> | 2010-07-29 14:37:42 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-07-29 14:37:42 -0700 |
commit | 889f8d1403761d5668115ced6cbb3f767cfe966d (patch) | |
tree | 8620d3453e3811dce152630f1b17e0f5f42601c6 /tests | |
parent | 85d8daa889db113b51c5d98929245e80f7277388 (diff) | |
download | frameworks_base-889f8d1403761d5668115ced6cbb3f767cfe966d.zip frameworks_base-889f8d1403761d5668115ced6cbb3f767cfe966d.tar.gz frameworks_base-889f8d1403761d5668115ced6cbb3f767cfe966d.tar.bz2 |
Moved all the rendering code to the new shader generator.
The generator supports features that are not yet implement in the
renderer: color matrix, lighting, porterduff color blending and
composite shaders.
This change also adds support for repeated/mirrored non-power of 2
bitmap shaders.
Change-Id: I903a11a070c0eb9cc8850a60ef305751e5b47234
Diffstat (limited to 'tests')
-rw-r--r-- | tests/HwAccelerationTest/src/com/google/android/test/hwui/ShadersActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/src/com/google/android/test/hwui/ShadersActivity.java b/tests/HwAccelerationTest/src/com/google/android/test/hwui/ShadersActivity.java index 1912245..abd741c 100644 --- a/tests/HwAccelerationTest/src/com/google/android/test/hwui/ShadersActivity.java +++ b/tests/HwAccelerationTest/src/com/google/android/test/hwui/ShadersActivity.java @@ -68,6 +68,7 @@ public class ShadersActivity extends Activity { Shader.TileMode.REPEAT); Matrix m1 = new Matrix(); m1.setTranslate(mTexWidth / 2.0f, mTexHeight / 2.0f); + m1.postRotate(45, 0, 0); mTranslatedShader.setLocalMatrix(m1); mScaledShader = new BitmapShader(texture, Shader.TileMode.MIRROR, |