colorrepresentation

package
v0.5.2 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: 2 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 WpColorRepresentationManagerV1Interface = &wire.Interface{
	Name:    "wp_color_representation_manager_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "get_surface", Since: 1, Args: []wire.Arg{{Name: "id", Type: wire.ArgNewID, Interface: "wp_color_representation_surface_v1"}, {Name: "surface", Type: wire.ArgObject, Interface: "wl_surface"}}},
	},
	Events: []wire.MessageSpec{
		{Name: "supported_alpha_mode", Since: 1, Args: []wire.Arg{{Name: "alpha_mode", Type: wire.ArgUint}}},
		{Name: "supported_coefficients_and_ranges", Since: 1, Args: []wire.Arg{{Name: "coefficients", Type: wire.ArgUint}, {Name: "range", Type: wire.ArgUint}}},
		{Name: "done", Since: 1},
	},
}
View Source
var WpColorRepresentationSurfaceV1Interface = &wire.Interface{
	Name:    "wp_color_representation_surface_v1",
	Version: 1,
	Requests: []wire.MessageSpec{
		{Name: "destroy", Since: 1, Destructor: true},
		{Name: "set_alpha_mode", Since: 1, Args: []wire.Arg{{Name: "alpha_mode", Type: wire.ArgUint}}},
		{Name: "set_coefficients_and_range", Since: 1, Args: []wire.Arg{{Name: "coefficients", Type: wire.ArgUint}, {Name: "range", Type: wire.ArgUint}}},
		{Name: "set_chroma_location", Since: 1, Args: []wire.Arg{{Name: "chroma_location", Type: wire.ArgUint}}},
	},
}

Functions

This section is empty.

Types

type WpColorRepresentationManagerV1

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

func (*WpColorRepresentationManagerV1) Base

func (*WpColorRepresentationManagerV1) Dispatch

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

func (*WpColorRepresentationManagerV1) Handler

func (*WpColorRepresentationManagerV1) ProtocolError

func (obj *WpColorRepresentationManagerV1) ProtocolError(code WpColorRepresentationManagerV1Error, format string, args ...any) error

func (*WpColorRepresentationManagerV1) SendDone

func (obj *WpColorRepresentationManagerV1) SendDone() error

func (*WpColorRepresentationManagerV1) SendSupportedAlphaMode

func (obj *WpColorRepresentationManagerV1) SendSupportedAlphaMode(alphaMode WpColorRepresentationSurfaceV1AlphaMode) error

func (*WpColorRepresentationManagerV1) SendSupportedCoefficientsAndRanges

func (obj *WpColorRepresentationManagerV1) SendSupportedCoefficientsAndRanges(coefficients WpColorRepresentationSurfaceV1Coefficients, rangeArg WpColorRepresentationSurfaceV1Range) error

type WpColorRepresentationManagerV1Error

type WpColorRepresentationManagerV1Error uint32
const (
	WpColorRepresentationManagerV1ErrorSurfaceExists WpColorRepresentationManagerV1Error = 1
)

func (WpColorRepresentationManagerV1Error) Valid

type WpColorRepresentationSurfaceV1

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

func (*WpColorRepresentationSurfaceV1) Base

func (*WpColorRepresentationSurfaceV1) Dispatch

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

func (*WpColorRepresentationSurfaceV1) Handler

func (*WpColorRepresentationSurfaceV1) ProtocolError

func (obj *WpColorRepresentationSurfaceV1) ProtocolError(code WpColorRepresentationSurfaceV1Error, format string, args ...any) error

type WpColorRepresentationSurfaceV1AlphaMode

type WpColorRepresentationSurfaceV1AlphaMode uint32
const (
	WpColorRepresentationSurfaceV1AlphaModePremultipliedElectrical WpColorRepresentationSurfaceV1AlphaMode = 0
	WpColorRepresentationSurfaceV1AlphaModePremultipliedOptical    WpColorRepresentationSurfaceV1AlphaMode = 1
	WpColorRepresentationSurfaceV1AlphaModeStraight                WpColorRepresentationSurfaceV1AlphaMode = 2
)

func (WpColorRepresentationSurfaceV1AlphaMode) Valid

type WpColorRepresentationSurfaceV1ChromaLocation

type WpColorRepresentationSurfaceV1ChromaLocation uint32
const (
	WpColorRepresentationSurfaceV1ChromaLocationType0 WpColorRepresentationSurfaceV1ChromaLocation = 1
	WpColorRepresentationSurfaceV1ChromaLocationType1 WpColorRepresentationSurfaceV1ChromaLocation = 2
	WpColorRepresentationSurfaceV1ChromaLocationType2 WpColorRepresentationSurfaceV1ChromaLocation = 3
	WpColorRepresentationSurfaceV1ChromaLocationType3 WpColorRepresentationSurfaceV1ChromaLocation = 4
	WpColorRepresentationSurfaceV1ChromaLocationType4 WpColorRepresentationSurfaceV1ChromaLocation = 5
	WpColorRepresentationSurfaceV1ChromaLocationType5 WpColorRepresentationSurfaceV1ChromaLocation = 6
)

func (WpColorRepresentationSurfaceV1ChromaLocation) Valid

type WpColorRepresentationSurfaceV1Coefficients

type WpColorRepresentationSurfaceV1Coefficients uint32
const (
	WpColorRepresentationSurfaceV1CoefficientsIdentity WpColorRepresentationSurfaceV1Coefficients = 1
	WpColorRepresentationSurfaceV1CoefficientsBt709    WpColorRepresentationSurfaceV1Coefficients = 2
	WpColorRepresentationSurfaceV1CoefficientsFcc      WpColorRepresentationSurfaceV1Coefficients = 3
	WpColorRepresentationSurfaceV1CoefficientsBt601    WpColorRepresentationSurfaceV1Coefficients = 4
	WpColorRepresentationSurfaceV1CoefficientsSmpte240 WpColorRepresentationSurfaceV1Coefficients = 5
	WpColorRepresentationSurfaceV1CoefficientsBt2020   WpColorRepresentationSurfaceV1Coefficients = 6
	WpColorRepresentationSurfaceV1CoefficientsBt2020Cl WpColorRepresentationSurfaceV1Coefficients = 7
	WpColorRepresentationSurfaceV1CoefficientsIctcp    WpColorRepresentationSurfaceV1Coefficients = 8
)

func (WpColorRepresentationSurfaceV1Coefficients) Valid

type WpColorRepresentationSurfaceV1Error

type WpColorRepresentationSurfaceV1Error uint32
const (
	WpColorRepresentationSurfaceV1ErrorAlphaMode      WpColorRepresentationSurfaceV1Error = 1
	WpColorRepresentationSurfaceV1ErrorCoefficients   WpColorRepresentationSurfaceV1Error = 2
	WpColorRepresentationSurfaceV1ErrorPixelFormat    WpColorRepresentationSurfaceV1Error = 3
	WpColorRepresentationSurfaceV1ErrorInert          WpColorRepresentationSurfaceV1Error = 4
	WpColorRepresentationSurfaceV1ErrorChromaLocation WpColorRepresentationSurfaceV1Error = 5
)

func (WpColorRepresentationSurfaceV1Error) Valid

type WpColorRepresentationSurfaceV1Range

type WpColorRepresentationSurfaceV1Range uint32
const (
	WpColorRepresentationSurfaceV1RangeFull    WpColorRepresentationSurfaceV1Range = 1
	WpColorRepresentationSurfaceV1RangeLimited WpColorRepresentationSurfaceV1Range = 2
)

func (WpColorRepresentationSurfaceV1Range) Valid

Jump to

Keyboard shortcuts

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