comparison 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
comparison
equal deleted inserted replaced
135:0bfcf0d2b874 136:717f739d6ec1
65 int mapped_len; 65 int mapped_len;
66 struct ps2_image screen_image; 66 struct ps2_image screen_image;
67 int screen_image_size; 67 int screen_image_size;
68 unsigned long long *head_tags_mem; 68 unsigned long long *head_tags_mem;
69 unsigned long long *image_tags_mem; 69 unsigned long long *image_tags_mem;
70 unsigned long long *tex_tags_mem;
71 unsigned long long *scale_tags_mem;
70 int dma_pending; 72 int dma_pending;
71 }; 73 };
72 /* Old variable names */ 74 /* Old variable names */
73 #define console_fd (this->hidden->console_fd) 75 #define console_fd (this->hidden->console_fd)
74 #define memory_fd (this->hidden->memory_fd) 76 #define memory_fd (this->hidden->memory_fd)
85 #define mapped_len (this->hidden->mapped_len) 87 #define mapped_len (this->hidden->mapped_len)
86 #define screen_image (this->hidden->screen_image) 88 #define screen_image (this->hidden->screen_image)
87 #define screen_image_size (this->hidden->screen_image_size) 89 #define screen_image_size (this->hidden->screen_image_size)
88 #define head_tags_mem (this->hidden->head_tags_mem) 90 #define head_tags_mem (this->hidden->head_tags_mem)
89 #define image_tags_mem (this->hidden->image_tags_mem) 91 #define image_tags_mem (this->hidden->image_tags_mem)
92 #define tex_tags_mem (this->hidden->tex_tags_mem)
93 #define scale_tags_mem (this->hidden->scale_tags_mem)
90 #define dma_pending (this->hidden->dma_pending) 94 #define dma_pending (this->hidden->dma_pending)
91 95
96 /* Shared between the mouse and video code for screen update scaling */
97 extern int scaleimage_nonblock(int fd,
98 unsigned long long *tm, unsigned long long *sm);
92 #endif /* _SDL_gsvideo_h */ 99 #endif /* _SDL_gsvideo_h */