summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-07-09 16:13:28 -0700
committerRomain Guy <romainguy@google.com>2010-07-09 16:13:28 -0700
commit16202fc9745e9b11db089ebc8f40119d13732016 (patch)
tree1765a6146b9a4fcaf9513e1b9bc851e47fdc76b3 /tests/HwAccelerationTest
parent82164ad543b4eb6c11937b2a81891443317709cc (diff)
downloadframeworks_base-16202fc9745e9b11db089ebc8f40119d13732016.zip
frameworks_base-16202fc9745e9b11db089ebc8f40119d13732016.tar.gz
frameworks_base-16202fc9745e9b11db089ebc8f40119d13732016.tar.bz2
Fix alpha blending and improve fragment shaders performance.
Change-Id: Ib74f6941d25ca6f6a41708e541174eaa7e8d9bc2
Diffstat (limited to 'tests/HwAccelerationTest')
-rw-r--r--tests/HwAccelerationTest/src/com/google/android/test/hwui/NinePatchesActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/HwAccelerationTest/src/com/google/android/test/hwui/NinePatchesActivity.java b/tests/HwAccelerationTest/src/com/google/android/test/hwui/NinePatchesActivity.java
index dc8fbcc..3268fbf 100644
--- a/tests/HwAccelerationTest/src/com/google/android/test/hwui/NinePatchesActivity.java
+++ b/tests/HwAccelerationTest/src/com/google/android/test/hwui/NinePatchesActivity.java
@@ -34,6 +34,7 @@ public class NinePatchesActivity extends Activity {
FrameLayout.LayoutParams.WRAP_CONTENT, Gravity.CENTER));
b.setText("9 patches");
layout.addView(b);
+ layout.setBackgroundColor(0xffffffff);
setContentView(layout);
}