2 * $Id: video_null.c,v 1.4 2007-10-07 05:42:25 nkeynes Exp $
4 * Null video output driver (ie no video output whatsoever)
6 * Copyright (c) 2005 Nathan Keynes.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
21 render_buffer_t video_null_create_render_buffer( uint32_t hres, uint32_t vres )
26 void video_null_destroy_render_buffer( render_buffer_t buffer )
30 gboolean video_null_set_render_target( render_buffer_t buffer )
35 gboolean video_null_display_render_buffer( render_buffer_t buffer )
40 gboolean video_null_read_render_buffer( render_buffer_t buffer, char *target )
45 gboolean video_null_display_frame_buffer( frame_buffer_t buffer )
50 gboolean video_null_display_blank( uint32_t colour )
55 void video_null_display_back_buffer( void )
60 struct display_driver display_null_driver = { "null",
64 video_null_create_render_buffer,
65 video_null_destroy_render_buffer,
66 video_null_set_render_target,
67 video_null_display_frame_buffer,
68 video_null_display_render_buffer,
69 video_null_display_blank,
70 video_null_read_render_buffer };
.