From e83d10c1fc61ac7921d58d8818a9ad4926a207ad Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Tue, 6 May 2014 15:56:59 -0700 Subject: hwcomposer: Allow display configuration selection Adds two functions to the HWC interface: one for querying the current display configuration, and one for setting a new configuration. This will enable DisplayManager to change the mode on demand. Bug: 14320401 Change-Id: I556c509192b877b38b2103a78f937b3687f35546 --- tests/hardware/struct-offset.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/hardware/struct-offset.cpp b/tests/hardware/struct-offset.cpp index 8e5aa40..2354408 100644 --- a/tests/hardware/struct-offset.cpp +++ b/tests/hardware/struct-offset.cpp @@ -167,7 +167,9 @@ void CheckOffsets(void) { CHECK_MEMBER_AT(hwc_composer_device_1_t, dump, 88, 168); CHECK_MEMBER_AT(hwc_composer_device_1_t, getDisplayConfigs, 92, 176); CHECK_MEMBER_AT(hwc_composer_device_1_t, getDisplayAttributes, 96, 184); - CHECK_MEMBER_AT(hwc_composer_device_1_t, reserved_proc, 100, 192); + CHECK_MEMBER_AT(hwc_composer_device_1_t, getActiveConfig, 100, 192); + CHECK_MEMBER_AT(hwc_composer_device_1_t, setActiveConfig, 104, 200); + CHECK_MEMBER_AT(hwc_composer_device_1_t, reserved_proc, 108, 208); //Types defined in gralloc.h CHECK_MEMBER_AT(gralloc_module_t, common, 0, 0); -- cgit v1.1