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
|
const drm = @import("../root.zig");
pub const CreateDumb = extern struct {
height: u32,
width: u32,
bpp: u32,
flags: u32,
handle: u32,
pitch: u32,
size: u32,
};
pub const FrameBufferCmd2 = extern struct {
id: u32,
width: u32,
height: u32,
pixel_format: drm.Pixel.Format,
flags: u32,
handles: [4]u32,
pitches: [4]u32,
offsets: [4]u32,
modifier: [4]u32,
};
pub const MapDumb = extern struct {
handle: u32,
__padding: u32,
offset: i64,
};
|