src/video/quartz/SDL_QuartzVideo.h
branchSDL-1.2
changeset 7726 e9466ead70e5
parent 6157 8a1bc41db6bb
child 7734 bbfb41c13a87
equal deleted inserted replaced
7625:952791dbe6ba 7726:e9466ead70e5
    89     BOOL               use_new_mode_apis;  /* 1 == >= 10.6 APIs available */
    89     BOOL               use_new_mode_apis;  /* 1 == >= 10.6 APIs available */
    90     BOOL               allow_screensaver;  /* 0 == disable screensaver */
    90     BOOL               allow_screensaver;  /* 0 == disable screensaver */
    91     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
    91     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
    92     const void         *mode;              /* current mode of the display */
    92     const void         *mode;              /* current mode of the display */
    93     const void         *save_mode;         /* original mode of the display */
    93     const void         *save_mode;         /* original mode of the display */
    94     CGDirectPaletteRef palette;            /* palette of an 8-bit display */
       
    95     NSOpenGLContext    *gl_context;        /* OpenGL rendering context */
    94     NSOpenGLContext    *gl_context;        /* OpenGL rendering context */
    96     NSGraphicsContext  *nsgfx_context;     /* Cocoa graphics context */
    95     NSGraphicsContext  *nsgfx_context;     /* Cocoa graphics context */
    97     Uint32             width, height, bpp; /* frequently used data about the display */
    96     Uint32             width, height, bpp; /* frequently used data about the display */
    98     Uint32             flags;              /* flags for current mode, for teardown purposes */
    97     Uint32             flags;              /* flags for current mode, for teardown purposes */
    99     Uint32             video_set;          /* boolean; indicates if video was set correctly */
    98     Uint32             video_set;          /* boolean; indicates if video was set correctly */