X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utils%2Fvisual.h;h=863b1a1fc5201c0aa1f6388d1ca6b339ab74db5b;hb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;hp=68804b30e69c359ad0ce213f5cbeccf9ec4ce6f2;hpb=481b95e2617b69e6fd4444432747d7e1e0c3dc85;p=xscreensaver diff --git a/utils/visual.h b/utils/visual.h index 68804b30..863b1a1f 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 @@ -22,6 +22,11 @@ extern int screen_number (Screen *); 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 Bool has_writable_cells (Screen *, Visual *); +extern Visual *id_to_visual (Screen *, int); + +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__ */