mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-05 21:15:38 -05:00
19 lines
441 B
Go
19 lines
441 B
Go
package screenshot
|
|
|
|
import "github.com/AvengeMedia/DankMaterialShell/core/internal/wayland/shm"
|
|
|
|
type PixelFormat = shm.PixelFormat
|
|
|
|
const (
|
|
FormatARGB8888 = shm.FormatARGB8888
|
|
FormatXRGB8888 = shm.FormatXRGB8888
|
|
FormatABGR8888 = shm.FormatABGR8888
|
|
FormatXBGR8888 = shm.FormatXBGR8888
|
|
)
|
|
|
|
type ShmBuffer = shm.Buffer
|
|
|
|
func CreateShmBuffer(width, height, stride int) (*ShmBuffer, error) {
|
|
return shm.CreateBuffer(width, height, stride)
|
|
}
|