Introduce HardwareLayersUpdatesPreferenceCtrl

- Create new HardwareLayersUpdatesPreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller
 - Fix a typo in preference naming

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I12744051c836b17ca2bfca5a84b9e22eb7b7d677
This commit is contained in:
jeffreyhuang
2017-09-28 14:44:15 -07:00
parent ae6c29d10f
commit a9f7c95f27
5 changed files with 208 additions and 3 deletions

View File

@@ -289,7 +289,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// smallest width
// force gpu rendering
// show gpu view updates
// show hardware layers updates
controllers.add(new HardwareLayersUpdatesPreferenceController(context));
// debug gpu overdraw
// debug non-rectangular clip operations
// force 4x msaa