Search
lxdream.org :: lxdream/src/display.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/display.h
changeset 1134:f502f3d32f90
prev1076:18c164e8aec4
next1159:580436b01b6c
author nkeynes
date Fri Oct 22 20:55:32 2010 +1000 (9 years ago)
permissions -rw-r--r--
last change Dump more information with --gl-info, and print it a little more nicely
file annotate diff log raw
1.1 --- a/src/display.h Mon Aug 03 08:41:11 2009 +1000
1.2 +++ b/src/display.h Fri Oct 22 20:55:32 2010 +1000
1.3 @@ -104,6 +104,7 @@
1.4 };
1.5
1.6 struct display_capabilities {
1.7 + gboolean has_gl;
1.8 int stencil_bits; /* 0 = no stencil buffer */
1.9 };
1.10
1.11 @@ -211,6 +212,11 @@
1.12 gboolean (*read_render_buffer)( unsigned char *target, render_buffer_t buffer,
1.13 int rowstride, int format );
1.14
1.15 + /**
1.16 + * Dump driver-specific information about the implementation to the given stream
1.17 + */
1.18 + void (*print_info)( FILE *out );
1.19 +
1.20 struct display_capabilities capabilities;
1.21 } *display_driver_t;
1.22
.