summaryrefslogtreecommitdiff
path: root/src/screen/drm/frame-buffer/pixelformat.zig
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2025-02-02 21:54:14 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2025-02-02 21:54:14 +0100
commit811a6bd572f4c6b26e99b4e746f5d710947ee934 (patch)
tree3ff6375ce2d7ea13e0d49f7800757a1b42604884 /src/screen/drm/frame-buffer/pixelformat.zig
parent3f4375a14218796cbd7bfff1c8cfff0f7bb1f6df (diff)
screen: drm change struct layout
Diffstat (limited to 'src/screen/drm/frame-buffer/pixelformat.zig')
-rw-r--r--src/screen/drm/frame-buffer/pixelformat.zig11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/screen/drm/frame-buffer/pixelformat.zig b/src/screen/drm/frame-buffer/pixelformat.zig
deleted file mode 100644
index ec98900..0000000
--- a/src/screen/drm/frame-buffer/pixelformat.zig
+++ /dev/null
@@ -1,11 +0,0 @@
-
-fn pixel_format_code(comptime a: u8, comptime b: u8, comptime c: u8, comptime d: u8) u32 {
- return @as(u32, @intCast(a)) |
- (@as(u32, @intCast(b)) << 8) |
- (@as(u32, @intCast(c)) << 16) |
- (@as(u32, @intCast(d)) << 24);
-}
-
-pub const PixelFormat = enum(u32) {
- xrgb8888 = pixel_format_code('X', 'R', '2', '4'),
-};