Documentation
¶
Overview ¶
Package syncobj implements wp_linux_drm_syncobj_manager_v1: explicit synchronization through DRM timeline syncobjs. A commit waits for its acquire point before it takes effect, and a buffer's release point signals once the GPU has finished with it and it has left the screen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrNoTimelines = errors.New("syncobj: the device has no timeline syncobjs")
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device interface {
Path() string
Cap(capability uint64) (uint64, error)
ImportSyncobj(fd int) (drm.Syncobj, error)
DestroySyncobj(s drm.Syncobj) error
Signal(s drm.Syncobj, point uint64) error
Query(s drm.Syncobj) (uint64, error)
EventFD(s drm.Syncobj, point uint64, eventfd int, available bool) error
ImportSyncFile(s drm.Syncobj, point uint64, syncFile int) error
Close() error
}