comparison src/video/macdsp/SDL_dspvideo.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents 7a610f25c12f
children
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
23 23
24 #ifndef _SDL_dspvideo_h 24 #ifndef _SDL_dspvideo_h
25 #define _SDL_dspvideo_h 25 #define _SDL_dspvideo_h
26 26
27 #if TARGET_API_MAC_OSX 27 #if TARGET_API_MAC_OSX
28 # include <DrawSprocket/DrawSprocket.h> /* Drawsprocket.framework */ 28 # include <DrawSprocket/DrawSprocket.h> /* Drawsprocket.framework */
29 #else 29 #else
30 #include <DrawSprocket.h> 30 #include <DrawSprocket.h>
31 #endif 31 #endif
32 32
33 #include "../maccommon/SDL_lowvideo.h" 33 #include "../maccommon/SDL_lowvideo.h"
34 34
35 /* DrawSprocket specific information */ 35 /* DrawSprocket specific information */
36 struct DSpInfo { 36 struct DSpInfo
37 DSpContextReference dsp_context; 37 {
38 CGrafPtr dsp_back_buffer; 38 DSpContextReference dsp_context;
39 int dsp_old_depth; 39 CGrafPtr dsp_back_buffer;
40 40 int dsp_old_depth;
41 /* Flags for hw acceleration */ 41
42 int dsp_vram_available; 42 /* Flags for hw acceleration */
43 int dsp_agp_available; 43 int dsp_vram_available;
44 44 int dsp_agp_available;
45 45
46 }; 46
47 };
47 /* Old variable names */ 48 /* Old variable names */
48 #define dsp_context (this->hidden->dspinfo->dsp_context) 49 #define dsp_context (this->hidden->dspinfo->dsp_context)
49 #define dsp_back_buffer (this->hidden->dspinfo->dsp_back_buffer) 50 #define dsp_back_buffer (this->hidden->dspinfo->dsp_back_buffer)
50 #define dsp_old_depth (this->hidden->dspinfo->dsp_old_depth) 51 #define dsp_old_depth (this->hidden->dspinfo->dsp_old_depth)
51 #define dsp_vram_available (this->hidden->dspinfo->dsp_vram_available) 52 #define dsp_vram_available (this->hidden->dspinfo->dsp_vram_available)
52 #define dsp_agp_available (this->hidden->dspinfo->dsp_agp_available) 53 #define dsp_agp_available (this->hidden->dspinfo->dsp_agp_available)
53 54
54 #endif /* _SDL_dspvideo_h */ 55 #endif /* _SDL_dspvideo_h */
56 /* vi: set ts=4 sw=4 expandtab: */