-/* xscreensaver, Copyright (c) 1991-2006 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1991-2010 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
#define RootWindowOfScreen(s) RootWindow(DisplayOfScreen(s),0)
#define DisplayWidth XDisplayWidth
#define DisplayHeight XDisplayHeight
+#define XMaxRequestSize(dpy) (65535)
extern Display *jwxyz_make_display (void *nsview);
extern void jwxyz_free_display (Display *);
unsigned int depth);
extern XPixmapFormatValues *XListPixmapFormats (Display *, int *count_ret);
-extern void jwxyz_draw_NSImage (Display *, Drawable, void *NSImage_arg,
- XRectangle *geom_ret);
+extern void jwxyz_draw_NSImage_or_CGImage (Display *, Drawable,
+ Bool nsimg_p, void *NSImage_arg,
+ XRectangle *geom_ret,
+ int exif_rotation);
extern int XSetGraphicsExposures (Display *, GC, Bool);
extern Bool XTranslateCoordinates (Display *, Window src_w, Window dest_w,
XCharStruct *overall_ret);
extern int XTextWidth (XFontStruct *, const char *, int length);
extern int XSetFont (Display *, GC, Font);
-extern Font XGContextFromGC (GC);
extern Pixmap XCreatePixmap (Display *, Drawable,
unsigned int width, unsigned int height,
// also declared in utils/grabclient.h
extern Bool use_subwindow_mode_p (Screen *, Window);
-// for aglUseFont
-extern int jwxyz_font_info (Font, int *size_ret, int *face_ret);
-
-
struct jwxyz_Visual {
VisualID visualid; /* visual id of this visual */
int class; /* class of screen (monochrome, etc.) */