Rev 1179 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1179 | serge | 1 | |
1246 | serge | 2 | typedef struct tag_display display_t; |
3 | |||
1179 | serge | 4 | |
1246 | serge | 5 | { |
6 | uint32_t magic; |
||
7 | void *destroy; |
||
8 | kobj_t *fd; |
||
9 | kobj_t *bk; |
||
10 | uint32_t pid; |
||
11 | }; |
||
12 | |||
13 | |||
1179 | serge | 14 | { |
15 | kobj_t header; |
||
1246 | serge | 16 | |
1179 | serge | 17 | |
1246 | serge | 18 | uint32_t hot_x; |
19 | uint32_t hot_y; |
||
20 | |||
1179 | serge | 21 | |
1246 | serge | 22 | struct radeon_object *robj; |
23 | }cursor_t; |
||
24 | |||
25 | |||
26 | #define CURSOR_HEIGHT 64 |
||
27 | |||
28 | |||
29 | { |
||
30 | int x; |
||
31 | int y; |
||
32 | int width; |
||
33 | int height; |
||
34 | int bpp; |
||
35 | int vrefresh; |
||
36 | int pitch; |
||
37 | int lfb; |
||
38 | |||
39 | |||
40 | struct drm_device *ddev; |
||
41 | struct drm_connector *connector; |
||
42 | struct drm_crtc *crtc; |
||
43 | |||
44 | |||
45 | |||
46 | |||
1179 | serge | 47 | int (*init_cursor)(cursor_t*); |
1246 | serge | 48 | cursor_t* (__stdcall *select_cursor)(cursor_t*); |
49 | void (*show_cursor)(int show); |
||
50 | void (__stdcall *move_cursor)(cursor_t *cursor, int x, int y); |
||
51 | void (__stdcall *restore_cursor)(int x, int y); |
||
52 | |||
1179 | serge | 53 | |
1246 | serge | 54 | |
1179 | serge | 55 | |
1246 | serge | 56 | |
1179 | serge | 57 | |
1246 | serge | 58 | void __stdcall restore_cursor(int x, int y); |
59 |