Introduce GpuViewUpdatesPreferenceController

- Create new GpuViewUpdatesPreferenceController
 - 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: Ieff20634238900137acc1524edb6fd0d4bfce894
This commit is contained in:
jeffreyhuang
2017-09-28 15:02:13 -07:00
parent 5ae503b383
commit a02a9886c0
5 changed files with 208 additions and 3 deletions

View File

@@ -293,7 +293,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
// simulate secondary displays
// smallest width
controllers.add(new ForceGpuRenderingPreferenceController(context));
// show gpu view updates
controllers.add(new GpuViewUpdatesPreferenceController(context));
controllers.add(new HardwareLayersUpdatesPreferenceController(context));
// debug gpu overdraw
// debug non-rectangular clip operations