Rev 3039 | Rev 3243 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3039 | Rev 3120 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | 19 | ||
20 | void parse_cmdline(char *cmdline, char *log); |
20 | void parse_cmdline(char *cmdline, char *log); |
21 | int _stdcall display_handler(ioctl_t *io); |
21 | int _stdcall display_handler(ioctl_t *io); |
Line 22... | Line 22... | ||
22 | int init_agp(void); |
22 | int init_agp(void); |
23 | 23 | ||
Line 24... | Line 24... | ||
24 | int blit_video(u32 hbitmap, int dst_x, int dst_y, |
24 | int srv_blit_bitmap(u32 hbitmap, int dst_x, int dst_y, |
25 | int src_x, int src_y, u32 w, u32 h); |
25 | int src_x, int src_y, u32 w, u32 h); |
Line 99... | Line 99... | ||
99 | #define SRV_CREATE_SURFACE 10 |
99 | #define SRV_CREATE_SURFACE 10 |
100 | #define SRV_DESTROY_SURFACE 11 |
100 | #define SRV_DESTROY_SURFACE 11 |
101 | #define SRV_LOCK_SURFACE 12 |
101 | #define SRV_LOCK_SURFACE 12 |
102 | #define SRV_UNLOCK_SURFACE 13 |
102 | #define SRV_UNLOCK_SURFACE 13 |
103 | #define SRV_RESIZE_SURFACE 14 |
103 | #define SRV_RESIZE_SURFACE 14 |
104 | - | ||
105 | - | ||
- | 104 | #define SRV_BLIT_BITMAP 15 |
|
- | 105 | #define SRV_BLIT_TEXTURE 16 |
|
106 | #define SRV_BLIT_VIDEO 20 |
106 | #define SRV_BLIT_VIDEO 17 |
Line 107... | Line 107... | ||
107 | 107 | ||
108 | #define check_input(size) \ |
108 | #define check_input(size) \ |
109 | if( unlikely((inp==NULL)||(io->inp_size != (size))) ) \ |
109 | if( unlikely((inp==NULL)||(io->inp_size != (size))) ) \ |
Line 162... | Line 162... | ||
162 | 162 | ||
163 | case SRV_RESIZE_SURFACE: |
163 | case SRV_RESIZE_SURFACE: |
164 | retval = resize_surface((struct io_call_14*)inp); |
164 | retval = resize_surface((struct io_call_14*)inp); |
Line 165... | Line 165... | ||
165 | break; |
165 | break; |
166 | 166 | ||
167 | case SRV_BLIT_VIDEO: |
167 | case SRV_BLIT_BITMAP: |
Line 168... | Line 168... | ||
168 | blit_video( inp[0], inp[1], inp[2], |
168 | srv_blit_bitmap( inp[0], inp[1], inp[2], |
169 | inp[3], inp[4], inp[5], inp[6]); |
169 | inp[3], inp[4], inp[5], inp[6]); |