func (w *Window) FlushImage(bounds ...image.Rectangle) { onMainThread(func() { C.flushWindowScreen(w.cw) }) }
func (w *Window) FlushImage() { w.oplock.Lock() defer w.oplock.Unlock() C.flushWindowScreen(w.cw) }
func (w *Window) FlushImage() { C.flushWindowScreen(w.cw) }
func (w *Window) FlushImage(bounds ...image.Rectangle) { w.oplock.Lock() defer w.oplock.Unlock() C.flushWindowScreen(w.cw) }