Merge "add a method to blank/unblank the screen"
This commit is contained in:
commit
fa9c285fed
1 changed files with 9 additions and 1 deletions
|
@ -345,7 +345,15 @@ typedef struct framebuffer_device_t {
|
||||||
*/
|
*/
|
||||||
void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
|
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;
|
} framebuffer_device_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue