extimagecopycapture

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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 (*ExtImageCopyCaptureCursorSessionV1) Base

func (*ExtImageCopyCaptureCursorSessionV1) Destroy

func (*ExtImageCopyCaptureCursorSessionV1) Dispatch

func (*ExtImageCopyCaptureCursorSessionV1) GetCaptureSession

func (*ExtImageCopyCaptureCursorSessionV1) Handler

type ExtImageCopyCaptureCursorSessionV1Error

type ExtImageCopyCaptureCursorSessionV1Error uint32
const (
	ExtImageCopyCaptureCursorSessionV1ErrorDuplicateSession ExtImageCopyCaptureCursorSessionV1Error = 1
)

func (ExtImageCopyCaptureCursorSessionV1Error) Valid

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 (*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 (obj *ExtImageCopyCaptureFrameV1) DamageBuffer(x int32, y int32, width int32, height int32) error

func (*ExtImageCopyCaptureFrameV1) Destroy

func (obj *ExtImageCopyCaptureFrameV1) Destroy() error

func (*ExtImageCopyCaptureFrameV1) Dispatch

func (obj *ExtImageCopyCaptureFrameV1) Dispatch(msg *wire.Message) error

func (*ExtImageCopyCaptureFrameV1) Handler

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

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 CreateExtImageCopyCaptureManagerV1

func CreateExtImageCopyCaptureManagerV1(p wire.Peer, id wire.ObjectID, version uint32) (*ExtImageCopyCaptureManagerV1, error)

func NewExtImageCopyCaptureManagerV1

func NewExtImageCopyCaptureManagerV1(p wire.Peer, version uint32) (*ExtImageCopyCaptureManagerV1, error)

func (*ExtImageCopyCaptureManagerV1) Base

func (*ExtImageCopyCaptureManagerV1) Destroy

func (obj *ExtImageCopyCaptureManagerV1) Destroy() error

func (*ExtImageCopyCaptureManagerV1) Dispatch

func (obj *ExtImageCopyCaptureManagerV1) Dispatch(msg *wire.Message) error

type ExtImageCopyCaptureManagerV1Error

type ExtImageCopyCaptureManagerV1Error uint32
const (
	ExtImageCopyCaptureManagerV1ErrorInvalidOption ExtImageCopyCaptureManagerV1Error = 1
)

func (ExtImageCopyCaptureManagerV1Error) Valid

type ExtImageCopyCaptureManagerV1Options

type ExtImageCopyCaptureManagerV1Options uint32
const (
	ExtImageCopyCaptureManagerV1OptionsPaintCursors ExtImageCopyCaptureManagerV1Options = 1
)

func (ExtImageCopyCaptureManagerV1Options) Has

func (ExtImageCopyCaptureManagerV1Options) Valid

type ExtImageCopyCaptureSessionV1

type ExtImageCopyCaptureSessionV1 struct {
	// contains filtered or unexported fields
}

func (*ExtImageCopyCaptureSessionV1) Base

func (*ExtImageCopyCaptureSessionV1) CreateFrame

func (*ExtImageCopyCaptureSessionV1) Destroy

func (obj *ExtImageCopyCaptureSessionV1) Destroy() error

func (*ExtImageCopyCaptureSessionV1) Dispatch

func (obj *ExtImageCopyCaptureSessionV1) Dispatch(msg *wire.Message) error

func (*ExtImageCopyCaptureSessionV1) Handler

type ExtImageCopyCaptureSessionV1Error

type ExtImageCopyCaptureSessionV1Error uint32
const (
	ExtImageCopyCaptureSessionV1ErrorDuplicateFrame ExtImageCopyCaptureSessionV1Error = 1
)

func (ExtImageCopyCaptureSessionV1Error) Valid

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL