X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Fvisual.h;h=ca01142d99a0a3c3abd829aaee12663667e8fb7e;hb=de041722414a2e31c1c04caa10aaec9d6952e9b4;hp=2a0b3534e691d1ffea812b3fc86ff86006338cf9;hpb=ce3185de9d9705e259f2b60dd4b5509007fa17d4;p=xscreensaver diff --git a/utils/visual.h b/utils/visual.h index 2a0b3534..ca01142d 100644 --- a/utils/visual.h +++ b/utils/visual.h @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1993-1998 by Jamie Zawinski +/* xscreensaver, Copyright (c) 1993-2000 by Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -23,5 +23,10 @@ extern Visual *find_similar_visual (Screen *, Visual *old); extern void describe_visual (FILE *f, Screen *, Visual *, Bool private_cmap_p); extern Visual *get_overlay_visual (Screen *, unsigned long *pixel_return); extern Bool has_writable_cells (Screen *screen, Visual *visual); +extern Visual *id_to_visual (Screen *screen, int id); + +extern Visual *get_gl_visual (Screen *); +extern void describe_gl_visual (FILE *, Screen *, Visual *, Bool priv_cmap_p); +extern Bool validate_gl_visual (FILE *, Screen *, const char *, Visual *); #endif /* __VISUAL_H__ */