From e97d33d5ee914244d6c69789f4f7bbe3ebac1102 Mon Sep 17 00:00:00 2001 From: Rebecca Schultz Zavin Date: Fri, 13 Feb 2009 17:05:03 -0800 Subject: [PATCH] Add getBufferCount to overlay HAL Signed-off-by: Rebecca Schultz Zavin --- include/hardware/overlay.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hardware/overlay.h b/include/hardware/overlay.h index a5cd2633..12f8369b 100644 --- a/include/hardware/overlay.h +++ b/include/hardware/overlay.h @@ -193,6 +193,7 @@ struct overlay_data_device_t { /* returns the address of a given buffer if supported, NULL otherwise. */ void* (*getBufferAddress)(struct overlay_data_device_t *dev, overlay_buffer_t buffer); + int (*getBufferCount)(struct overlay_data_device_t *dev); };