commit | 1fea468a75e944dc88afb929b46fe9e7fa95f7e3 | [log] [tgz] |
---|---|---|
author | Dmitri Shuralyov <dmitshur@golang.org> | Sat Dec 21 17:13:03 2019 +0000 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Tue Dec 24 04:42:20 2019 +0000 |
tree | 50155d119a2cb8e04aff708ae159737a796684f7 | |
parent | 2f50522955873285d9bf17ec91e55aec8ae82edc [diff] |
shiny/driver/gldriver: revert "update the open gl context after making it current" This reverts CL 154461. [NSOpenGLContext update] must be called from the main thread if the context has a view. The makeCurrentContext function is not called from the main thread, so it is not thread safe to make a direct [ctx update]; call in it. Doing so causes gldriver to crash with a SIGILL signal when compiled with Xcode 11.1 or newer on macOS Catalina. Fixes golang/go#35177 Change-Id: I566c9526cddf31ed981312466f8843c2030d6692 Reviewed-on: https://go-review.googlesource.com/c/exp/+/212245 Reviewed-by: Nigel Tao <nigeltao@golang.org>
This subrepository holds experimental and deprecated (in the old
directory) packages.
The idea for this subrepository originated as the pkg/exp
directory of the main repository, but its presence there made it unavailable to users of the binary downloads of the Go installation. The subrepository has therefore been created to make it possible to go get
these packages.
Warning: Packages here are experimental and unreliable. Some may one day be promoted to the main repository or other subrepository, or they may be modified arbitrarily or even disappear altogether.
In short, code in this subrepository is not subject to the Go 1 compatibility promise. (No subrepo is, but the promise is even more likely to be violated by go.exp than the others.)
Caveat emptor.