+
+# ifdef USE_IPHONE
+ BOOL screenLocked;
+ BOOL _ignoreRotation; // whether hack requested "always portrait".
+ // some want this, some do not.
+ NSTimer *crash_timer;
+
+ NSDictionary *function_tables;
+
+ id<XScreenSaverViewDelegate> _delegate;
+
+# else // !USE_PHONE
+
+ NSOpenGLPixelFormat *pixfmt;
+
+# endif // !USE_IPHONE
+
+ NSOpenGLContext *ogl_ctx; // OpenGL rendering context
+
+# ifdef JWXYZ_QUARTZ
+ CGContextRef backbuffer;
+ CGColorSpaceRef colorspace;
+
+# ifdef BACKBUFFER_OPENGL
+ void *backbuffer_data;
+ size_t backbuffer_len;
+
+ GLsizei gl_texture_w, gl_texture_h;
+
+ GLuint backbuffer_texture;
+ GLenum gl_texture_target;
+ GLenum gl_pixel_format, gl_pixel_type;
+# ifndef USE_IPHONE
+ BOOL double_buffered_p, gl_apple_client_storage_p;
+# else // USE_IPHONE
+ BOOL gl_limited_npot_p;
+ GLuint gl_framebuffer, gl_renderbuffer;
+# endif // USE_IPHONE
+# endif
+
+# endif // JWXYZ_QUARTZ
+
+# if defined JWXYZ_GL && defined USE_IPHONE
+ NSOpenGLContext *ogl_ctx_pixmap;
+# endif // JWXYZ_GL && USE_IPHONE