Mercurial > sdl-ios-xcode
diff src/video/ps3/SDL_ps3video.h @ 3144:0d8d1f870964 gsoc2009_ps3
Moved SPE-functions to SDL_ps3spe.c.
Added ActivateRenderer() and PS3_QueryTexturePixels().
Added yuv2rgb_spu but not yet in use.
author | Martin Lowinski <martin@goldtopf.org> |
---|---|
date | Wed, 10 Jun 2009 09:15:33 +0000 |
parents | 8fdabaa064c3 |
children | 7828eed2f31a |
line wrap: on
line diff
--- a/src/video/ps3/SDL_ps3video.h Sat Jun 06 06:40:23 2009 +0000 +++ b/src/video/ps3/SDL_ps3video.h Wed Jun 10 09:15:33 2009 +0000 @@ -21,12 +21,11 @@ */ #include "SDL_config.h" -#include <libspe2.h> - #ifndef _SDL_ps3video_h #define _SDL_ps3video_h #include "../SDL_sysvideo.h" +#include "SDL_ps3spe_c.h" /* Debugging * 0: No debug messages @@ -53,19 +52,6 @@ /* Default framebuffer device on PS3 */ #define PS3DEV "/dev/fb0" -/* SPU thread data */ -typedef struct spu_data { - spe_context_ptr_t ctx; - spe_program_handle_t program; - pthread_t thread; - char * program_name; - unsigned int booted; - unsigned int keepalive; - unsigned int entry; - int error_code; - void * argp; -} spu_data_t; - /* Private display data */ typedef struct SDL_VideoData {