Subversion Repositories Kolibri OS

Rev

Rev 2340 | Rev 2344 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2340 Serge 1
 
2
typedef struct tag_display display_t;
3
4
 
5
{
6
    u32  *table;
7
    u32   next;
8
    u32   avail;
9
    u32   count;
10
};
11
12
 
13
14
 
15
u32  alloc_handle(struct hman *man);
16
int free_handle(struct hman *man, u32 handle);
17
18
 
19
        ((man)->table[(handle)-1])
20
21
 
22
        ((man)->table[(handle)-1]) = (u32)(val)
23
24
 
25
 
26
{
27
    uint32_t   magic;
28
    void      *destroy;
29
    kobj_t    *fd;
30
    kobj_t    *bk;
31
    uint32_t   pid;
32
};
33
34
 
35
{
36
    kobj_t   header;
37
38
 
39
    u32       width;
40
    u32       height;
41
    u32       pitch;
42
    u32       gaddr;
43
    void     *uaddr;
44
    struct drm_i915_gem_object *obj;
45
}bitmap_t;
46
47
 
48
 
49
{
50
    u32    width;
51
    u32    height;
52
    u32    pitch;
53
    u32    handle;
54
    void  *data;
55
};
56
57
 
2342 Serge 58
int init_bitmaps();
59