add a method to blank/unblank the screen

Change-Id: I3874654248826c29e57bb62bb5217184bdfb4263
This commit is contained in:
Mathias Agopian 2011-04-18 19:05:29 -07:00
parent c9881d8c56
commit 97c7c40b73

View file

@ -345,7 +345,15 @@ typedef struct framebuffer_device_t {
*/
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;