Any plans to hook up `Surface` to Compose? Would b...
# compose
t
Any plans to hook up
Surface
to Compose? Would be useful for, say, camerax.
r
You mean 
SurfaceView
? Not the Material Design
Surface
t
Yes.
r
Currently you should use
SurfaceView
🙂
t
Hah, I know.
r
More precisely, this is something I’d like to see eventually but this is not a priority because
SurfaceView
and
TextureView
work for those specific cases (which are fairly uncommon compared to all the other components)
t
An abstraction over "platform-specific hardware-backed display buffer" would be useful for desktop as well.
or more accurately, "opaque display buffer"
r
Agreed
(although it quickly gets messy on desktop, esp. Linux)
t
Wayland makes it nicer with EGL buffers, but yeah
r
I’m mad at Wayland right now 🙂
(also it doesn’t help because the user may or may not use Wayland)
t
Everyone's mad at Wayland right now... I rather enjoy it myself.
😂 1
r
I’m mad at it because it doesn’t implement EGL properly