singlepixel

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: 5 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

Overview

Package singlepixel implements wp_single_pixel_buffer_manager_v1: one-pixel buffers of a solid premultiplied color.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(d *server.Display) error

Types

type Buffer

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

func (*Buffer) Destroy

func (b *Buffer) Destroy(*sw.WlBuffer) error

func (*Buffer) Lock

func (b *Buffer) Lock()

func (*Buffer) Pixel

func (b *Buffer) Pixel() []byte

func (*Buffer) Release

func (b *Buffer) Release() error

func (*Buffer) ResourceID

func (b *Buffer) ResourceID() (wire.ObjectID, bool)

func (*Buffer) Size

func (b *Buffer) Size() image.Point

func (*Buffer) Unlock

func (b *Buffer) Unlock() error

Jump to

Keyboard shortcuts

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