class

WaylandClient::Buffer::Pool(T)

Inherits WaylandClient::Buffer::BufferPool < Reference < Object

Constants

POOL_SIZE = 2

Constructors

new(width = 0, height = 0)
Source

Instance methods

available?
Source
checkin(buffer)
Source
checkout(registry : WaylandClient::Registry)
Source
checkout

Factory form keeps pool behavior independent from the resource's construction requirements and makes it possible to test the pool without creating a Wayland connection.

Source
resize(width, height)
Source
resize!(width, height, surface, &)
Source
size
Source