add a method to blank/unblank the screen
Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h
index 5eefe79..03281bf 100644
--- a/include/hardware/gralloc.h
+++ b/include/hardware/gralloc.h
@@ -345,7 +345,15 @@
*/
void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
- void* reserved_proc[7];
+ /*
+ * (*enableScreen)() is used to either blank (enable=0) or
+ * unblank (enable=1) the screen this framebuffer is attached to.
+ *
+ * Returns 0 on success or -errno on error.
+ */
+ int (*enableScreen)(struct framebuffer_device_t* dev, int enable);
+
+ void* reserved_proc[6];
} framebuffer_device_t;