summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-06-13 19:07:22 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-13 19:07:22 -0700
commitad4e03d6978054db19f1267af2b8c1072272f3fe (patch)
treed70a0646aecba6b6b9157db262656061353e2a4a /tests
parent6e4ba2bf35c3c45dc829e5a863fa437d976d86f0 (diff)
parent54be1cdf3d63095512120fa7ced5c16e462abffa (diff)
downloadframeworks_base-ad4e03d6978054db19f1267af2b8c1072272f3fe.zip
frameworks_base-ad4e03d6978054db19f1267af2b8c1072272f3fe.tar.gz
frameworks_base-ad4e03d6978054db19f1267af2b8c1072272f3fe.tar.bz2
Merge "Batch glCopyTexImage() calls to get about 15 fps back on SGX."
Diffstat (limited to 'tests')
-rw-r--r--tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java
index b49db7c5..1c82e9b 100644
--- a/tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java
+++ b/tests/HwAccelerationTest/src/com/android/test/hwui/ClearActivity.java
@@ -20,7 +20,6 @@ import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
-import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
@@ -79,6 +78,9 @@ public class ClearActivity extends Activity {
}
canvas.restore();
canvas.drawText("OpenGLRenderer", 50.0f, 50.0f, mClearPaint);
+ mClearPaint.setColor(0xff000000);
+ canvas.drawRect(800.0f, 100.0f, 900.0f, 200.0f, mClearPaint);
+ mClearPaint.setColor(0x0000ff00);
}
canvas.restore();
}