extimagecopycapture

package
v0.5.3 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) Dispatch

func (*ExtImageCopyCaptureCursorSessionV1) Handler

func (*ExtImageCopyCaptureCursorSessionV1) ProtocolError

func (*ExtImageCopyCaptureCursorSessionV1) SendEnter

func (obj *ExtImageCopyCaptureCursorSessionV1) SendEnter() error

func (*ExtImageCopyCaptureCursorSessionV1) SendHotspot

func (obj *ExtImageCopyCaptureCursorSessionV1) SendHotspot(x int32, y int32) error

func (*ExtImageCopyCaptureCursorSessionV1) SendLeave

func (obj *ExtImageCopyCaptureCursorSessionV1) SendLeave() error

func (*ExtImageCopyCaptureCursorSessionV1) SendPosition

func (obj *ExtImageCopyCaptureCursorSessionV1) SendPosition(x int32, y int32) error

type ExtImageCopyCaptureCursorSessionV1Error

type ExtImageCopyCaptureCursorSessionV1Error uint32
const (
	ExtImageCopyCaptureCursorSessionV1ErrorDuplicateSession ExtImageCopyCaptureCursorSessionV1Error = 1
)

func (ExtImageCopyCaptureCursorSessionV1Error) Valid

type ExtImageCopyCaptureCursorSessionV1Handler

type ExtImageCopyCaptureCursorSessionV1Handler interface {
	Destroy(obj *ExtImageCopyCaptureCursorSessionV1) error
	GetCaptureSession(obj *ExtImageCopyCaptureCursorSessionV1, session *ExtImageCopyCaptureSessionV1) (ExtImageCopyCaptureSessionV1Handler, error)
}

type ExtImageCopyCaptureFrameV1

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

func (*ExtImageCopyCaptureFrameV1) Base

func (obj *ExtImageCopyCaptureFrameV1) Base() *wire.Object

func (*ExtImageCopyCaptureFrameV1) Dispatch

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

func (*ExtImageCopyCaptureFrameV1) Handler

func (*ExtImageCopyCaptureFrameV1) ProtocolError

func (obj *ExtImageCopyCaptureFrameV1) ProtocolError(code ExtImageCopyCaptureFrameV1Error, format string, args ...any) error

func (*ExtImageCopyCaptureFrameV1) SendDamage

func (obj *ExtImageCopyCaptureFrameV1) SendDamage(x int32, y int32, width int32, height int32) error

func (*ExtImageCopyCaptureFrameV1) SendFailed

func (*ExtImageCopyCaptureFrameV1) SendPresentationTime

func (obj *ExtImageCopyCaptureFrameV1) SendPresentationTime(tvSecHi uint32, tvSecLo uint32, tvNsec uint32) error

func (*ExtImageCopyCaptureFrameV1) SendReady

func (obj *ExtImageCopyCaptureFrameV1) SendReady() error

func (*ExtImageCopyCaptureFrameV1) SendTransform

func (obj *ExtImageCopyCaptureFrameV1) SendTransform(transform wayland.WlOutputTransform) error

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 {
	Destroy(obj *ExtImageCopyCaptureFrameV1) error
	AttachBuffer(obj *ExtImageCopyCaptureFrameV1, buffer *wayland.WlBuffer) error
	DamageBuffer(obj *ExtImageCopyCaptureFrameV1, x int32, y int32, width int32, height int32) error
	Capture(obj *ExtImageCopyCaptureFrameV1) error
}

type ExtImageCopyCaptureManagerV1

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

func (*ExtImageCopyCaptureManagerV1) Base

func (*ExtImageCopyCaptureManagerV1) Dispatch

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

func (*ExtImageCopyCaptureManagerV1) Handler

func (*ExtImageCopyCaptureManagerV1) ProtocolError

func (obj *ExtImageCopyCaptureManagerV1) ProtocolError(code ExtImageCopyCaptureManagerV1Error, format string, args ...any) 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) Dispatch

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

func (*ExtImageCopyCaptureSessionV1) Handler

func (*ExtImageCopyCaptureSessionV1) ProtocolError

func (obj *ExtImageCopyCaptureSessionV1) ProtocolError(code ExtImageCopyCaptureSessionV1Error, format string, args ...any) error

func (*ExtImageCopyCaptureSessionV1) SendBufferSize

func (obj *ExtImageCopyCaptureSessionV1) SendBufferSize(width uint32, height uint32) error

func (*ExtImageCopyCaptureSessionV1) SendDmabufDevice

func (obj *ExtImageCopyCaptureSessionV1) SendDmabufDevice(device []byte) error

func (*ExtImageCopyCaptureSessionV1) SendDmabufFormat

func (obj *ExtImageCopyCaptureSessionV1) SendDmabufFormat(format uint32, modifiers []byte) error

func (*ExtImageCopyCaptureSessionV1) SendDone

func (obj *ExtImageCopyCaptureSessionV1) SendDone() error

func (*ExtImageCopyCaptureSessionV1) SendShmFormat

func (obj *ExtImageCopyCaptureSessionV1) SendShmFormat(format wayland.WlShmFormat) error

func (*ExtImageCopyCaptureSessionV1) SendStopped

func (obj *ExtImageCopyCaptureSessionV1) SendStopped() error

type ExtImageCopyCaptureSessionV1Error

type ExtImageCopyCaptureSessionV1Error uint32
const (
	ExtImageCopyCaptureSessionV1ErrorDuplicateFrame ExtImageCopyCaptureSessionV1Error = 1
)

func (ExtImageCopyCaptureSessionV1Error) Valid

type ExtImageCopyCaptureSessionV1Handler

type ExtImageCopyCaptureSessionV1Handler interface {
	CreateFrame(obj *ExtImageCopyCaptureSessionV1, frame *ExtImageCopyCaptureFrameV1) (ExtImageCopyCaptureFrameV1Handler, error)
	Destroy(obj *ExtImageCopyCaptureSessionV1) error
}

Jump to

Keyboard shortcuts

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