-
Notifications
You must be signed in to change notification settings - Fork 6
/
dri3.proto
77 lines (66 loc) · 1.02 KB
/
dri3.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
NEEDS "sync.proto"
NEEDS "randr.proto"
EXTENSION "DRI3" DRI3
USE core
REQUESTS
QueryVersion RESPONDS
Open RESPONDS
PixmapFromBuffer
BufferFromPixmap RESPONDS
FenceFromFD
FDFromFence RESPONDS
END
EVENTS
END
ERRORS
END
REQUEST QueryVersion
4 major_version UINT32
8 minor_version UINT32
END
RESPONSE QueryVersion
8 major-version UINT32
12 minor-version UINT32
END
REQUEST Open
4 drawable DRAWABLE
8 provider RandR::PROVIDER
END
RESPONSE Open
1 nfd UINT8
END
REQUEST PixmapFromBuffer
4 pixmap PIXMAP
8 drawable DRAWABLE
12 size UINT32
16 width UINT16
18 height UINT16
20 stride UINT16
22 depth UINT8
23 bpp UINT8
END
REQUEST BufferFromPixmap
4 pixmap PIXMAP
END
RESPONSE BufferFromPixmap
1 nfd UINT8
8 size UINT32
12 width UINT16
14 height UINT16
16 stride UINT16
18 depth UINT8
19 bpp UINT8
END
REQUEST FenceFromFD
4 drawable DRAWABLE
8 fence XSync::Fence
9 initially_triggered BOOL
END
REQUEST FDFromFence
4 drawable DRAWABLE
8 fence XSync::Fence
END
RESPONSE FDFromFence
1 nfd UINT8
END
EOF