I inadvertently created a litmus test for reasonable windowing APIs: whether you can reposition two HW graphics surfaces simultaneously without tearing, using only public API. Windows Vista+, macOS 10.7(?)+, Wayland: Pass X11, Android (all versions!): Fail.
-
Show this thread
-
Replying to @pcwalton
How does Android fail at this?! Seems like it shouldn't be that hard to get right.
1 reply 0 retweets 2 likes -
Replying to @crzwdjk
It’s supported by SurfaceFlinger but is private API, as far as I can tell. Public APIs don’t have any concept of atomic updates.
1 reply 0 retweets 0 likes
I don’t think we can ship stuff that relies on private APIs for critical stuff like that. Sorry, Android users :(
12:32 PM - 18 Oct 2018
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.