X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2FxlockmoreI.h;h=42e553e0c1a5ce61759cbe4aa71cf3c2f58cb409;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hp=483bef80452237e16052e21f6e5c334b981d0bb2;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823;p=xscreensaver diff --git a/hacks/xlockmoreI.h b/hacks/xlockmoreI.h index 483bef80..42e553e0 100644 --- a/hacks/xlockmoreI.h +++ b/hacks/xlockmoreI.h @@ -1,5 +1,5 @@ /* xlockmore.h --- xscreensaver compatibility layer for xlockmore modules. - * xscreensaver, Copyright (c) 1997-2011 Jamie Zawinski + * xscreensaver, Copyright (c) 1997-2014 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 @@ -41,13 +41,25 @@ typedef struct ModeInfo ModeInfo; # endif /* !HAVE_MESA_GL */ # ifdef HAVE_COCOA -# include +# ifndef USE_IPHONE +# include +# include +# endif +# elif defined(HAVE_ANDROID) +# include # else # include +# include # include # endif +# ifdef HAVE_JWZGLES +# include "jwzgles.h" +# endif /* HAVE_JWZGLES */ + + extern GLXContext *init_GL (ModeInfo *); + extern void xlockmore_reset_gl_state(void); extern void clear_gl_error (void); extern void check_gl_error (const char *type); @@ -155,6 +167,8 @@ struct xlockmore_function_table { void (*hack_free) (ModeInfo *); Bool (*hack_handle_events) (ModeInfo *, XEvent *); ModeSpecOpt *opts; + + unsigned int screen_count; /* Only used on the OS X and iOS ports. */ }; #endif /* __XLOCKMORE_INTERNAL_H__ */