Rev 2997 | 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 | |
1179 | serge | 3 | |
4 | { |
||
5 | kobj_t header; |
||
1246 | serge | 6 | |
1179 | serge | 7 | |
1246 | serge | 8 | uint32_t hot_x; |
9 | uint32_t hot_y; |
||
10 | |||
1179 | serge | 11 | |
1404 | serge | 12 | struct radeon_bo *robj; |
13 | }cursor_t; |
||
1246 | serge | 14 | |
15 | |||
16 | #define CURSOR_HEIGHT 64 |
||
17 | |||
18 | |||
19 | { |
||
20 | int x; |
||
21 | int y; |
||
22 | int width; |
||
23 | int height; |
||
24 | int bpp; |
||
25 | int vrefresh; |
||
26 | int pitch; |
||
27 | int lfb; |
||
28 | |||
29 | |||
30 | struct drm_device *ddev; |
||
31 | struct drm_connector *connector; |
||
32 | struct drm_crtc *crtc; |
||
33 | |||
34 | |||
35 | |||
36 | |||
1179 | serge | 37 | int (*init_cursor)(cursor_t*); |
1246 | serge | 38 | cursor_t* (__stdcall *select_cursor)(cursor_t*); |
39 | void (*show_cursor)(int show); |
||
40 | void (__stdcall *move_cursor)(cursor_t *cursor, int x, int y); |
||
41 | void (__stdcall *restore_cursor)(int x, int y); |
||
42 | void (*disable_mouse)(void); |
||
1313 | serge | 43 | u32 mask_seqno; |
2997 | Serge | 44 | u32 check_mouse; |
45 | u32 check_m_pixel; |
||
46 | |||
47 | |||
1246 | serge | 48 | |
1179 | serge | 49 | |
1246 | serge | 50 | |
1179 | serge | 51 | |
1246 | serge | 52 | void __stdcall restore_cursor(int x, int y); |
53 |