~emersion/go-drm

ref: ae7f101956c06ac2e32531acfa7975a5d234875b go-drm/fourcc.go -rw-r--r-- 191 bytes
ae7f1019Simon Ser Run gofmt on generated file a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
package drm

//go:generate ./fourcc.py

type Format uint32

type ModifierVendor uint8

type Modifier uint64

func (mod Modifier) Vendor() ModifierVendor {
	return ModifierVendor(mod >> 56)
}