comparison src/video/ps3/SDL_ps3video.h @ 3152:7f3341cccf42 gsoc2009_ps3

Working 1080p, 720p, 480p videomodes and double buffering.
author Martin Lowinski <martin@goldtopf.org>
date Thu, 06 Aug 2009 12:24:47 +0000
parents 4a88137385f9
children
comparison
equal deleted inserted replaced
3151:4a88137385f9 3152:7f3341cccf42
34 * 0: No debug messages 34 * 0: No debug messages
35 * 1: Video debug messages 35 * 1: Video debug messages
36 * 2: SPE debug messages 36 * 2: SPE debug messages
37 * 3: Memory adresses 37 * 3: Memory adresses
38 */ 38 */
39 #define DEBUG_LEVEL 1 39 #define DEBUG_LEVEL 0
40 40
41 #ifdef DEBUG_LEVEL 41 #ifdef DEBUG_LEVEL
42 #define deprintf( level, fmt, args... ) \ 42 #define deprintf( level, fmt, args... ) \
43 do \ 43 do \
44 { \ 44 { \
66 spu_data_t * fb_thread_data; 66 spu_data_t * fb_thread_data;
67 /* Framebuffer transfer data */ 67 /* Framebuffer transfer data */
68 volatile struct fb_writer_parms_t * fb_parms __attribute__((aligned(128))); 68 volatile struct fb_writer_parms_t * fb_parms __attribute__((aligned(128)));
69 } SDL_VideoData; 69 } SDL_VideoData;
70 70
71 typedef struct 71 typedef struct SDL_DisplayModeData
72 { 72 {
73 unsigned long mode; 73 unsigned long mode;
74 struct ps3fb_ioctl_res res; 74 //struct ps3fb_ioctl_res res;
75 } PS3_DisplayModeData; 75 } PS3_DisplayModeData;
76 76
77 #endif /* _SDL_ps3video_h */ 77 #endif /* _SDL_ps3video_h */
78 78
79 /* vi: set ts=4 sw=4 expandtab: */ 79 /* vi: set ts=4 sw=4 expandtab: */