other.go (772B)
1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build !darwin !386,!amd64 ios 6 // +build !linux android 7 // +build !windows 8 // +build !openbsd 9 10 package gldriver 11 12 import ( 13 "fmt" 14 "runtime" 15 16 "golang.org/x/exp/shiny/screen" 17 ) 18 19 const useLifecycler = true 20 const handleSizeEventsAtChannelReceive = true 21 22 func newWindow(opts *screen.NewWindowOptions) (uintptr, error) { return 0, nil } 23 24 func initWindow(id *windowImpl) {} 25 func showWindow(id *windowImpl) {} 26 func closeWindow(id uintptr) {} 27 func drawLoop(w *windowImpl) {} 28 29 func main(f func(screen.Screen)) error { 30 return fmt.Errorf("gldriver: unsupported GOOS/GOARCH %s/%s", runtime.GOOS, runtime.GOARCH) 31 }