code: func (i *Image) resolveStale() {
  	if !IsRestoringEnabled() {
  		return
  	}
  
  	if i.volatile {
  		return
  	}
  	if i.screen {
  		return
  	}
  	if !i.stale {
  		return
  	}
  	i.readPixelsFromGPU()
  }
docs: // resolveStale resolves the image's 'stale' state.