Commit 0500b3c
Dianne Hackborn
Some optimizations.
- Don't try to create a thumbnail bitmap on the client side. This
wastes 64k, and isn't needed since we are doing screenshots.
- Optimize View to put all of the callback pointers out of line.
Added a couple new APIs so these don't need to be protected/public.
- Lazily create ViewGroup's cache paint.
- Change FrameworkPerf app to not use HW accel drawing, to give better
comparison with GB.
Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b1 parent f136aa3 commit 0500b3c
File tree
9 files changed
+196
-107
lines changed- api
- core/java/android
- app
- view
- widget
- tests/FrameworkPerf
- res/layout
- src/com/android/frameworkperf
9 files changed
+196
-107
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22849 | 22849 | | |
22850 | 22850 | | |
22851 | 22851 | | |
| 22852 | + | |
22852 | 22853 | | |
22853 | 22854 | | |
22854 | 22855 | | |
| |||
23000 | 23001 | | |
23001 | 23002 | | |
23002 | 23003 | | |
| 23004 | + | |
23003 | 23005 | | |
23004 | 23006 | | |
23005 | 23007 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2769 | 2769 | | |
2770 | 2770 | | |
2771 | 2771 | | |
2772 | | - | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
2773 | 2775 | | |
2774 | 2776 | | |
2775 | 2777 | | |
| |||
0 commit comments