func (s *screenImpl) NewBuffer(size image.Point) (screen.Buffer, error) {
	m := image.NewRGBA(image.Rectangle{Max: size})
	return &bufferImpl{
		buf:  m.Pix,
		rgba: *m,
		size: size,
	}, nil
}
NewBuffer returns a new Buffer for this screen.
package shiny
import (
	"image"
	"golang.org/x/exp/shiny/screen"
)
var (
	_ screen.Buffer = (*bufferImpl)(nil)
	_ screen.Window = (*windowImpl)(nil)
	defaultScreen screenImpl
)
type screenImpl struct {
}