class
WaylandClient::Surface(Format)
- WaylandClient::Surface(Format)
- Reference
- Object
Included Modules
Defined in:
surface.crConstructors
Instance Method Summary
- #attach_buffer(buffer, x = 0, y = 0)
-
#attached_buffer
Warning: Will give a different buffer each time.
- #buffer_pool : WaylandClient::Buffer::Pool(WaylandClient::Buffer::Memory(Format))
- #close
- #commit
- #create_subsurface(kind : Buffer::Kind, format, opaque, sync = true, position = {0, 0})
- #damage_all
- #damage_buffer(x, y, width, height)
- #format
- #frame_handler
- #region(add_all = false)
- #registry : Registry
- #repaint(&)
- #request_frame(*args)
- #resize(x, y)
- #size
- #surface : Pointer(LibWaylandClient::WlSurface)
- #to_unsafe
Constructor Detail
def self.new(registry : WaylandClient::Registry, buffer_pool : WaylandClient::Buffer::Pool(WaylandClient::Buffer::Memory(Format)), opaque, accepts_input = true)
#
Instance Method Detail
def attached_buffer
#
Warning: Will give a different buffer each time. Call this only once each time an update is to happen.