Documentation
¶
Index ¶
- Variables
- type ExtImageCopyCaptureCursorSessionV1
- func CreateExtImageCopyCaptureCursorSessionV1(p wire.Peer, id wire.ObjectID, version uint32, ...) (*ExtImageCopyCaptureCursorSessionV1, error)
- func NewExtImageCopyCaptureCursorSessionV1(p wire.Peer, version uint32, h ExtImageCopyCaptureCursorSessionV1Handler) (*ExtImageCopyCaptureCursorSessionV1, error)
- func (obj *ExtImageCopyCaptureCursorSessionV1) Base() *wire.Object
- func (obj *ExtImageCopyCaptureCursorSessionV1) Destroy() error
- func (obj *ExtImageCopyCaptureCursorSessionV1) Dispatch(msg *wire.Message) error
- func (obj *ExtImageCopyCaptureCursorSessionV1) GetCaptureSession(h ExtImageCopyCaptureSessionV1Handler) (*ExtImageCopyCaptureSessionV1, error)
- func (obj *ExtImageCopyCaptureCursorSessionV1) Handler() ExtImageCopyCaptureCursorSessionV1Handler
- type ExtImageCopyCaptureCursorSessionV1Error
- type ExtImageCopyCaptureCursorSessionV1Handler
- type ExtImageCopyCaptureFrameV1
- func (obj *ExtImageCopyCaptureFrameV1) AttachBuffer(buffer *wayland.WlBuffer) error
- func (obj *ExtImageCopyCaptureFrameV1) Base() *wire.Object
- func (obj *ExtImageCopyCaptureFrameV1) Capture() error
- func (obj *ExtImageCopyCaptureFrameV1) DamageBuffer(x int32, y int32, width int32, height int32) error
- func (obj *ExtImageCopyCaptureFrameV1) Destroy() error
- func (obj *ExtImageCopyCaptureFrameV1) Dispatch(msg *wire.Message) error
- func (obj *ExtImageCopyCaptureFrameV1) Handler() ExtImageCopyCaptureFrameV1Handler
- type ExtImageCopyCaptureFrameV1Error
- type ExtImageCopyCaptureFrameV1FailureReason
- type ExtImageCopyCaptureFrameV1Handler
- type ExtImageCopyCaptureManagerV1
- func (obj *ExtImageCopyCaptureManagerV1) Base() *wire.Object
- func (obj *ExtImageCopyCaptureManagerV1) CreatePointerCursorSession(h ExtImageCopyCaptureCursorSessionV1Handler, ...) (*ExtImageCopyCaptureCursorSessionV1, error)
- func (obj *ExtImageCopyCaptureManagerV1) CreateSession(h ExtImageCopyCaptureSessionV1Handler, ...) (*ExtImageCopyCaptureSessionV1, error)
- func (obj *ExtImageCopyCaptureManagerV1) Destroy() error
- func (obj *ExtImageCopyCaptureManagerV1) Dispatch(msg *wire.Message) error
- type ExtImageCopyCaptureManagerV1Error
- type ExtImageCopyCaptureManagerV1Options
- type ExtImageCopyCaptureSessionV1
- func (obj *ExtImageCopyCaptureSessionV1) Base() *wire.Object
- func (obj *ExtImageCopyCaptureSessionV1) CreateFrame(h ExtImageCopyCaptureFrameV1Handler) (*ExtImageCopyCaptureFrameV1, error)
- func (obj *ExtImageCopyCaptureSessionV1) Destroy() error
- func (obj *ExtImageCopyCaptureSessionV1) Dispatch(msg *wire.Message) error
- func (obj *ExtImageCopyCaptureSessionV1) Handler() ExtImageCopyCaptureSessionV1Handler
- type ExtImageCopyCaptureSessionV1Error
- type ExtImageCopyCaptureSessionV1Handler
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtImageCopyCaptureCursorSessionV1Interface = &wire.Interface{ Name: "ext_image_copy_capture_cursor_session_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "get_capture_session", Since: 1, Args: []wire.Arg{{Name: "session", Type: wire.ArgNewID, Interface: "ext_image_copy_capture_session_v1"}}}, }, Events: []wire.MessageSpec{ {Name: "enter", Since: 1}, {Name: "leave", Since: 1}, {Name: "position", Since: 1, Args: []wire.Arg{{Name: "x", Type: wire.ArgInt}, {Name: "y", Type: wire.ArgInt}}}, {Name: "hotspot", Since: 1, Args: []wire.Arg{{Name: "x", Type: wire.ArgInt}, {Name: "y", Type: wire.ArgInt}}}, }, }
View Source
var ExtImageCopyCaptureFrameV1Interface = &wire.Interface{ Name: "ext_image_copy_capture_frame_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "destroy", Since: 1, Destructor: true}, {Name: "attach_buffer", Since: 1, Args: []wire.Arg{{Name: "buffer", Type: wire.ArgObject, Interface: "wl_buffer"}}}, {Name: "damage_buffer", Since: 1, Args: []wire.Arg{{Name: "x", Type: wire.ArgInt}, {Name: "y", Type: wire.ArgInt}, {Name: "width", Type: wire.ArgInt}, {Name: "height", Type: wire.ArgInt}}}, {Name: "capture", Since: 1}, }, Events: []wire.MessageSpec{ {Name: "transform", Since: 1, Args: []wire.Arg{{Name: "transform", Type: wire.ArgUint}}}, {Name: "damage", Since: 1, Args: []wire.Arg{{Name: "x", Type: wire.ArgInt}, {Name: "y", Type: wire.ArgInt}, {Name: "width", Type: wire.ArgInt}, {Name: "height", Type: wire.ArgInt}}}, {Name: "presentation_time", Since: 1, Args: []wire.Arg{{Name: "tv_sec_hi", Type: wire.ArgUint}, {Name: "tv_sec_lo", Type: wire.ArgUint}, {Name: "tv_nsec", Type: wire.ArgUint}}}, {Name: "ready", Since: 1}, {Name: "failed", Since: 1, Args: []wire.Arg{{Name: "reason", Type: wire.ArgUint}}}, }, }
View Source
var ExtImageCopyCaptureManagerV1Interface = &wire.Interface{ Name: "ext_image_copy_capture_manager_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "create_session", Since: 1, Args: []wire.Arg{{Name: "session", Type: wire.ArgNewID, Interface: "ext_image_copy_capture_session_v1"}, {Name: "source", Type: wire.ArgObject, Interface: "ext_image_capture_source_v1"}, {Name: "options", Type: wire.ArgUint}}}, {Name: "create_pointer_cursor_session", Since: 1, Args: []wire.Arg{{Name: "session", Type: wire.ArgNewID, Interface: "ext_image_copy_capture_cursor_session_v1"}, {Name: "source", Type: wire.ArgObject, Interface: "ext_image_capture_source_v1"}, {Name: "pointer", Type: wire.ArgObject, Interface: "wl_pointer"}}}, {Name: "destroy", Since: 1, Destructor: true}, }, }
View Source
var ExtImageCopyCaptureSessionV1Interface = &wire.Interface{ Name: "ext_image_copy_capture_session_v1", Version: 1, Requests: []wire.MessageSpec{ {Name: "create_frame", Since: 1, Args: []wire.Arg{{Name: "frame", Type: wire.ArgNewID, Interface: "ext_image_copy_capture_frame_v1"}}}, {Name: "destroy", Since: 1, Destructor: true}, }, Events: []wire.MessageSpec{ {Name: "buffer_size", Since: 1, Args: []wire.Arg{{Name: "width", Type: wire.ArgUint}, {Name: "height", Type: wire.ArgUint}}}, {Name: "shm_format", Since: 1, Args: []wire.Arg{{Name: "format", Type: wire.ArgUint}}}, {Name: "dmabuf_device", Since: 1, Args: []wire.Arg{{Name: "device", Type: wire.ArgArray}}}, {Name: "dmabuf_format", Since: 1, Args: []wire.Arg{{Name: "format", Type: wire.ArgUint}, {Name: "modifiers", Type: wire.ArgArray}}}, {Name: "done", Since: 1}, {Name: "stopped", Since: 1}, }, }
Functions ¶
This section is empty.
Types ¶
type ExtImageCopyCaptureCursorSessionV1 ¶
type ExtImageCopyCaptureCursorSessionV1 struct {
// contains filtered or unexported fields
}
func CreateExtImageCopyCaptureCursorSessionV1 ¶
func CreateExtImageCopyCaptureCursorSessionV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtImageCopyCaptureCursorSessionV1) (ExtImageCopyCaptureCursorSessionV1Handler, error)) (*ExtImageCopyCaptureCursorSessionV1, error)
func NewExtImageCopyCaptureCursorSessionV1 ¶
func NewExtImageCopyCaptureCursorSessionV1(p wire.Peer, version uint32, h ExtImageCopyCaptureCursorSessionV1Handler) (*ExtImageCopyCaptureCursorSessionV1, error)
func (*ExtImageCopyCaptureCursorSessionV1) Base ¶
func (obj *ExtImageCopyCaptureCursorSessionV1) Base() *wire.Object
func (*ExtImageCopyCaptureCursorSessionV1) Destroy ¶
func (obj *ExtImageCopyCaptureCursorSessionV1) Destroy() error
func (*ExtImageCopyCaptureCursorSessionV1) Dispatch ¶
func (obj *ExtImageCopyCaptureCursorSessionV1) Dispatch(msg *wire.Message) error
func (*ExtImageCopyCaptureCursorSessionV1) GetCaptureSession ¶
func (obj *ExtImageCopyCaptureCursorSessionV1) GetCaptureSession(h ExtImageCopyCaptureSessionV1Handler) (*ExtImageCopyCaptureSessionV1, error)
func (*ExtImageCopyCaptureCursorSessionV1) Handler ¶
func (obj *ExtImageCopyCaptureCursorSessionV1) Handler() ExtImageCopyCaptureCursorSessionV1Handler
type ExtImageCopyCaptureCursorSessionV1Error ¶
type ExtImageCopyCaptureCursorSessionV1Error uint32
const (
ExtImageCopyCaptureCursorSessionV1ErrorDuplicateSession ExtImageCopyCaptureCursorSessionV1Error = 1
)
func (ExtImageCopyCaptureCursorSessionV1Error) Valid ¶
func (v ExtImageCopyCaptureCursorSessionV1Error) Valid(version uint32) bool
type ExtImageCopyCaptureCursorSessionV1Handler ¶
type ExtImageCopyCaptureCursorSessionV1Handler interface {
Enter(obj *ExtImageCopyCaptureCursorSessionV1) error
Leave(obj *ExtImageCopyCaptureCursorSessionV1) error
Position(obj *ExtImageCopyCaptureCursorSessionV1, x int32, y int32) error
Hotspot(obj *ExtImageCopyCaptureCursorSessionV1, x int32, y int32) error
}
type ExtImageCopyCaptureFrameV1 ¶
type ExtImageCopyCaptureFrameV1 struct {
// contains filtered or unexported fields
}
func CreateExtImageCopyCaptureFrameV1 ¶
func CreateExtImageCopyCaptureFrameV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtImageCopyCaptureFrameV1) (ExtImageCopyCaptureFrameV1Handler, error)) (*ExtImageCopyCaptureFrameV1, error)
func NewExtImageCopyCaptureFrameV1 ¶
func NewExtImageCopyCaptureFrameV1(p wire.Peer, version uint32, h ExtImageCopyCaptureFrameV1Handler) (*ExtImageCopyCaptureFrameV1, error)
func (*ExtImageCopyCaptureFrameV1) AttachBuffer ¶
func (obj *ExtImageCopyCaptureFrameV1) AttachBuffer(buffer *wayland.WlBuffer) error
func (*ExtImageCopyCaptureFrameV1) Base ¶
func (obj *ExtImageCopyCaptureFrameV1) Base() *wire.Object
func (*ExtImageCopyCaptureFrameV1) Capture ¶
func (obj *ExtImageCopyCaptureFrameV1) Capture() error
func (*ExtImageCopyCaptureFrameV1) DamageBuffer ¶
func (*ExtImageCopyCaptureFrameV1) Destroy ¶
func (obj *ExtImageCopyCaptureFrameV1) Destroy() error
func (*ExtImageCopyCaptureFrameV1) Dispatch ¶
func (obj *ExtImageCopyCaptureFrameV1) Dispatch(msg *wire.Message) error
func (*ExtImageCopyCaptureFrameV1) Handler ¶
func (obj *ExtImageCopyCaptureFrameV1) Handler() ExtImageCopyCaptureFrameV1Handler
type ExtImageCopyCaptureFrameV1Error ¶
type ExtImageCopyCaptureFrameV1Error uint32
const ( ExtImageCopyCaptureFrameV1ErrorNoBuffer ExtImageCopyCaptureFrameV1Error = 1 ExtImageCopyCaptureFrameV1ErrorInvalidBufferDamage ExtImageCopyCaptureFrameV1Error = 2 ExtImageCopyCaptureFrameV1ErrorAlreadyCaptured ExtImageCopyCaptureFrameV1Error = 3 )
func (ExtImageCopyCaptureFrameV1Error) Valid ¶
func (v ExtImageCopyCaptureFrameV1Error) Valid(version uint32) bool
type ExtImageCopyCaptureFrameV1FailureReason ¶
type ExtImageCopyCaptureFrameV1FailureReason uint32
const ( ExtImageCopyCaptureFrameV1FailureReasonUnknown ExtImageCopyCaptureFrameV1FailureReason = 0 ExtImageCopyCaptureFrameV1FailureReasonBufferConstraints ExtImageCopyCaptureFrameV1FailureReason = 1 ExtImageCopyCaptureFrameV1FailureReasonStopped ExtImageCopyCaptureFrameV1FailureReason = 2 )
func (ExtImageCopyCaptureFrameV1FailureReason) Valid ¶
func (v ExtImageCopyCaptureFrameV1FailureReason) Valid(version uint32) bool
type ExtImageCopyCaptureFrameV1Handler ¶
type ExtImageCopyCaptureFrameV1Handler interface {
Transform(obj *ExtImageCopyCaptureFrameV1, transform wayland.WlOutputTransform) error
Damage(obj *ExtImageCopyCaptureFrameV1, x int32, y int32, width int32, height int32) error
PresentationTime(obj *ExtImageCopyCaptureFrameV1, tvSecHi uint32, tvSecLo uint32, tvNsec uint32) error
Ready(obj *ExtImageCopyCaptureFrameV1) error
Failed(obj *ExtImageCopyCaptureFrameV1, reason ExtImageCopyCaptureFrameV1FailureReason) error
}
type ExtImageCopyCaptureManagerV1 ¶
type ExtImageCopyCaptureManagerV1 struct {
// contains filtered or unexported fields
}
func NewExtImageCopyCaptureManagerV1 ¶
func NewExtImageCopyCaptureManagerV1(p wire.Peer, version uint32) (*ExtImageCopyCaptureManagerV1, error)
func (*ExtImageCopyCaptureManagerV1) Base ¶
func (obj *ExtImageCopyCaptureManagerV1) Base() *wire.Object
func (*ExtImageCopyCaptureManagerV1) CreatePointerCursorSession ¶
func (obj *ExtImageCopyCaptureManagerV1) CreatePointerCursorSession(h ExtImageCopyCaptureCursorSessionV1Handler, source *extimagecapturesource.ExtImageCaptureSourceV1, pointer *wayland.WlPointer) (*ExtImageCopyCaptureCursorSessionV1, error)
func (*ExtImageCopyCaptureManagerV1) CreateSession ¶
func (obj *ExtImageCopyCaptureManagerV1) CreateSession(h ExtImageCopyCaptureSessionV1Handler, source *extimagecapturesource.ExtImageCaptureSourceV1, options ExtImageCopyCaptureManagerV1Options) (*ExtImageCopyCaptureSessionV1, error)
func (*ExtImageCopyCaptureManagerV1) Destroy ¶
func (obj *ExtImageCopyCaptureManagerV1) Destroy() error
type ExtImageCopyCaptureManagerV1Error ¶
type ExtImageCopyCaptureManagerV1Error uint32
const (
ExtImageCopyCaptureManagerV1ErrorInvalidOption ExtImageCopyCaptureManagerV1Error = 1
)
func (ExtImageCopyCaptureManagerV1Error) Valid ¶
func (v ExtImageCopyCaptureManagerV1Error) Valid(version uint32) bool
type ExtImageCopyCaptureManagerV1Options ¶
type ExtImageCopyCaptureManagerV1Options uint32
const (
ExtImageCopyCaptureManagerV1OptionsPaintCursors ExtImageCopyCaptureManagerV1Options = 1
)
func (ExtImageCopyCaptureManagerV1Options) Has ¶
func (v ExtImageCopyCaptureManagerV1Options) Has(flag ExtImageCopyCaptureManagerV1Options) bool
func (ExtImageCopyCaptureManagerV1Options) Valid ¶
func (v ExtImageCopyCaptureManagerV1Options) Valid(version uint32) bool
type ExtImageCopyCaptureSessionV1 ¶
type ExtImageCopyCaptureSessionV1 struct {
// contains filtered or unexported fields
}
func CreateExtImageCopyCaptureSessionV1 ¶
func CreateExtImageCopyCaptureSessionV1(p wire.Peer, id wire.ObjectID, version uint32, newHandler func(*ExtImageCopyCaptureSessionV1) (ExtImageCopyCaptureSessionV1Handler, error)) (*ExtImageCopyCaptureSessionV1, error)
func NewExtImageCopyCaptureSessionV1 ¶
func NewExtImageCopyCaptureSessionV1(p wire.Peer, version uint32, h ExtImageCopyCaptureSessionV1Handler) (*ExtImageCopyCaptureSessionV1, error)
func (*ExtImageCopyCaptureSessionV1) Base ¶
func (obj *ExtImageCopyCaptureSessionV1) Base() *wire.Object
func (*ExtImageCopyCaptureSessionV1) CreateFrame ¶
func (obj *ExtImageCopyCaptureSessionV1) CreateFrame(h ExtImageCopyCaptureFrameV1Handler) (*ExtImageCopyCaptureFrameV1, error)
func (*ExtImageCopyCaptureSessionV1) Destroy ¶
func (obj *ExtImageCopyCaptureSessionV1) Destroy() error
func (*ExtImageCopyCaptureSessionV1) Dispatch ¶
func (obj *ExtImageCopyCaptureSessionV1) Dispatch(msg *wire.Message) error
func (*ExtImageCopyCaptureSessionV1) Handler ¶
func (obj *ExtImageCopyCaptureSessionV1) Handler() ExtImageCopyCaptureSessionV1Handler
type ExtImageCopyCaptureSessionV1Error ¶
type ExtImageCopyCaptureSessionV1Error uint32
const (
ExtImageCopyCaptureSessionV1ErrorDuplicateFrame ExtImageCopyCaptureSessionV1Error = 1
)
func (ExtImageCopyCaptureSessionV1Error) Valid ¶
func (v ExtImageCopyCaptureSessionV1Error) Valid(version uint32) bool
type ExtImageCopyCaptureSessionV1Handler ¶
type ExtImageCopyCaptureSessionV1Handler interface {
BufferSize(obj *ExtImageCopyCaptureSessionV1, width uint32, height uint32) error
ShmFormat(obj *ExtImageCopyCaptureSessionV1, format wayland.WlShmFormat) error
DmabufDevice(obj *ExtImageCopyCaptureSessionV1, device []byte) error
DmabufFormat(obj *ExtImageCopyCaptureSessionV1, format uint32, modifiers []byte) error
Done(obj *ExtImageCopyCaptureSessionV1) error
Stopped(obj *ExtImageCopyCaptureSessionV1) error
}
Click to show internal directories.
Click to hide internal directories.