Subversion Repositories Kolibri OS

Rev

Rev 3033 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3033 Rev 3039
Line 15... Line 15...
15
{
15
{
16
    kobj_t   header;
16
    kobj_t   header;
17
 
17
 
Line 18... Line 18...
18
    u32     handle;
18
    u32     handle;
19
    void    *uaddr;
19
    char   *uaddr;
Line 20... Line 20...
20
 
20
 
21
    u32     pitch;
21
    u32     pitch;
Line 22... Line 22...
22
    u32     gaddr;
22
    u32     gaddr;
Line 48... Line 48...
48
};
48
};
49
 
49
 
Line 50... Line 50...
50
struct  io_call_12         /*     SRV_LOCK_SURFACE    */
50
struct  io_call_12         /*     SRV_LOCK_SURFACE    */
51
{
51
{
52
    u32     handle;       // ignored
52
    u32     handle;
53
    void   *data;         // ignored
-
 
54
 
-
 
55
    u32     width;
53
    void   *data;
56
    u32     height;
54
    u32     pitch;
57
    u32     pitch;        // ignored
-
 
58
};
55
};
Line -... Line 56...
-
 
56
 
-
 
57
struct  io_call_14         /*     SRV_RESIZE_SURFACE    */
-
 
58
{
-
 
59
    u32     handle;
-
 
60
    void   *data;
-
 
61
    u32     new_width;
-
 
62
    u32     new_height;
-
 
63
    u32     pitch;
Line 59... Line 64...
59
 
64
};
60
 
65
 
61
typedef struct
66
typedef struct
62
{
67
{
Line 91... Line 96...
91
 
96
 
Line 92... Line 97...
92
int get_driver_caps(hwcaps_t *caps);
97
int get_driver_caps(hwcaps_t *caps);
93
int create_surface(struct drm_device *dev, struct io_call_10 *pbitmap);
98
int create_surface(struct drm_device *dev, struct io_call_10 *pbitmap);
94
int lock_surface(struct io_call_12 *pbitmap);
99
int lock_surface(struct io_call_12 *pbitmap);
-
 
100
int resize_surface(struct io_call_14 *pbitmap);
Line 95... Line 101...
95
 
101
 
Line 96... Line 102...
96
struct context *get_context(struct drm_device *dev);
102
struct context *get_context(struct drm_device *dev);