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 static render_buffer_t video_null_create_render_buffer( uint32_t hres, uint32_t vres, GLuint tex_id )
26 static void video_null_destroy_render_buffer( render_buffer_t buffer )
30 static gboolean video_null_set_render_target( render_buffer_t buffer )
35 static void video_null_finish_render( render_buffer_t buffer )
39 static void video_null_display_render_buffer( render_buffer_t buffer )
43 static gboolean video_null_read_render_buffer( unsigned char *target,
44 render_buffer_t buffer,
45 int rowstride, int format )
50 static void video_null_load_frame_buffer( frame_buffer_t frame,
51 render_buffer_t buffer )
55 static void video_null_display_blank( uint32_t colour )
60 struct display_driver display_null_driver = {
62 N_("Null (no video) driver"),
68 video_null_create_render_buffer,
69 video_null_destroy_render_buffer,
70 video_null_set_render_target,
71 video_null_finish_render,
72 video_null_load_frame_buffer,
73 video_null_display_render_buffer,
74 video_null_display_blank,
75 video_null_read_render_buffer };
.