diff options
author | Erik Gilling <konkers@android.com> | 2010-12-01 16:34:08 -0800 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2010-12-08 15:31:40 -0800 |
commit | 158549c89405186d9ecaefd3811cfae3949056ee (patch) | |
tree | 1c1eadaed3937283b817f4a76a0281adbfbf376b /include/hardware/hwcomposer.h | |
parent | e99520400f228e45b1feff28eb4105b8e5599196 (diff) | |
download | hardware_libhardware-158549c89405186d9ecaefd3811cfae3949056ee.zip hardware_libhardware-158549c89405186d9ecaefd3811cfae3949056ee.tar.gz hardware_libhardware-158549c89405186d9ecaefd3811cfae3949056ee.tar.bz2 |
gralloc: add dump hooks to gralloc/hwcomposer
Change-Id: I27bf46103b4d1d547c42a6de4f3270a6dfd7b7ec
Diffstat (limited to 'include/hardware/hwcomposer.h')
-rw-r--r-- | include/hardware/hwcomposer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/hardware/hwcomposer.h b/include/hardware/hwcomposer.h index c72d466..321dfc1 100644 --- a/include/hardware/hwcomposer.h +++ b/include/hardware/hwcomposer.h @@ -278,8 +278,14 @@ typedef struct hwc_composer_device { hwc_display_t dpy, hwc_surface_t sur, hwc_layer_list_t* list); + /* + * This hook is OPTIONAL. + * + * If non NULL it will be caused by SurfaceFlinger on dumpsys + */ + void (*dump)(struct hwc_composer_device* dev, char *buff, int buff_len); - void* reserved_proc[8]; + void* reserved_proc[7]; } hwc_composer_device_t; |