From 448bf2cdc851c8e0e30865b75bccf6cd29e98eb5 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sun, 27 May 2012 19:25:29 +0200 Subject: [PATCH] Add static start/stop/restart to console video drivers. --- driver.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/driver.h b/driver.h index 7e14f009ba..686e4fd3a6 100644 --- a/driver.h +++ b/driver.h @@ -163,7 +163,11 @@ typedef struct video_driver void (*set_swap_block_state)(void *data, bool toggle); // Block swapping from being called in ::frame(). void (*swap)(void *data); // Explicitly swap buffers. Only useful when set_swap_block_state() is set to true. void (*set_aspect_ratio)(void *data, unsigned aspectratio_idx); // TODO: refactor this properly to float. + void (*start)(void); + void (*stop)(void); + void (*restart)(void); #endif + void (*set_rotation)(void *data, unsigned rotation); } video_driver_t;