Documentation ¶
Overview ¶
Package display implements an SDL-backed preview window. The way SDL is shoehorned into Go makes for some intereasting limitations in regards to how multithreading is managed. This will probably be replaced by something Vulkan-backed in the future. nolint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisplayTile ¶
type SDLDisplay ¶
type SDLDisplay struct {
// contains filtered or unexported fields
}
func NewSDLDisplay ¶
func NewSDLDisplay(name string, width int, height int, input chan DisplayTile) *SDLDisplay
func (*SDLDisplay) Start ¶
func (sd *SDLDisplay) Start()
func (*SDLDisplay) Wait ¶
func (sd *SDLDisplay) Wait()
Click to show internal directories.
Click to hide internal directories.