7 * Null video output driver (ie no video output whatsoever)
9 * Copyright (c) 2005 Nathan Keynes.
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
24 static render_buffer_t video_null_create_render_buffer( uint32_t hres, uint32_t vres )
29 static void video_null_destroy_render_buffer( render_buffer_t buffer )
33 static gboolean video_null_set_render_target( render_buffer_t buffer )
38 static void video_null_display_render_buffer( render_buffer_t buffer )
42 static gboolean video_null_read_render_buffer( unsigned char *target,
43 render_buffer_t buffer,
44 int rowstride, int format )
49 static void video_null_load_frame_buffer( frame_buffer_t frame,
50 render_buffer_t buffer )
54 static void video_null_display_blank( uint32_t colour )
59 struct display_driver display_null_driver = {
61 N_("Null (no video) driver"),
67 video_null_create_render_buffer,
68 video_null_destroy_render_buffer,
69 video_null_set_render_target,
70 video_null_load_frame_buffer,
71 video_null_display_render_buffer,
72 video_null_display_blank,
73 video_null_read_render_buffer };
.