#
✕ nick:daniels
#asahi · 2021-11-01 16:09
danielsgotcha
#asahi · 2021-11-01 16:09
danielsis the grey/black split your doing (i.e. literally what's in the fb), or can you program a background colour for areas not covered by a plane?
#asahi · 2021-11-01 16:08
danielsyeah
#asahi · 2021-11-01 16:05
danielsimpressive
#asahi · 2021-11-01 16:05
danielsjesus
#asahi · 2021-11-01 16:04
danielshuh, TIL about Android ... I mean you could certainly just expose a bitmask as a blob property, but rect would be easier for now and almost certainly sufficient?
#asahi · 2021-11-01 16:00
daniels(you'd have to do the equivalent for Wayland, where fullscreen only meant 16:10 unless you opted in to notch awareness)
#asahi · 2021-11-01 15:59
daniels* smart userspace can set the client cap, see the notchful modes and the CRTC property, and render around it
#asahi · 2021-11-01 15:59
daniels* create a new CRTC property for the notch area
#asahi · 2021-11-01 15:59
daniels* similar to 3D modes, add a new mode flag for notchful modes, which are not shown to userspace unless they opt in to a new DRM client cap for it
#asahi · 2021-11-01 15:59
daniels* expose the 16:10 mode as the default to userspace, and offset the primary plane in Y when it's in use so the notch is avoided (there have been patches for a CRTC background-colour property if DCP supports this, but they never landed due to lack of open userspace for them)
#asahi · 2021-11-01 15:59
danielsfwiw on the notch, the thing to do is: