Mercurial > sdl-ios-xcode
diff src/video/ps2gs/SDL_gsvideo.h @ 136:717f739d6ec1
Added hardware stretching code to scale 640x480 to TV resolution
There's a bug of some kind in the 16bpp code. ??
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 01 Aug 2001 08:41:45 +0000 |
parents | f590dd383b5d |
children | e8157fcb3114 |
line wrap: on
line diff
--- a/src/video/ps2gs/SDL_gsvideo.h Wed Aug 01 05:01:08 2001 +0000 +++ b/src/video/ps2gs/SDL_gsvideo.h Wed Aug 01 08:41:45 2001 +0000 @@ -67,6 +67,8 @@ int screen_image_size; unsigned long long *head_tags_mem; unsigned long long *image_tags_mem; + unsigned long long *tex_tags_mem; + unsigned long long *scale_tags_mem; int dma_pending; }; /* Old variable names */ @@ -87,6 +89,11 @@ #define screen_image_size (this->hidden->screen_image_size) #define head_tags_mem (this->hidden->head_tags_mem) #define image_tags_mem (this->hidden->image_tags_mem) +#define tex_tags_mem (this->hidden->tex_tags_mem) +#define scale_tags_mem (this->hidden->scale_tags_mem) #define dma_pending (this->hidden->dma_pending) +/* Shared between the mouse and video code for screen update scaling */ +extern int scaleimage_nonblock(int fd, + unsigned long long *tm, unsigned long long *sm); #endif /* _SDL_gsvideo_h */