Thread
#compose
    t

    tad

    1 year ago
    Any plans to hook up
    Surface
    to Compose? Would be useful for, say, camerax.
    r

    romainguy

    1 year ago
    You mean 
    SurfaceView
    ? Not the Material Design
    Surface
    t

    tad

    1 year ago
    Yes.
    r

    romainguy

    1 year ago
    Currently you should use
    SurfaceView
    🙂
    t

    tad

    1 year ago
    Hah, I know.
    r

    romainguy

    1 year ago
    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

    tad

    1 year ago
    An abstraction over "platform-specific hardware-backed display buffer" would be useful for desktop as well.
    or more accurately, "opaque display buffer"
    r

    romainguy

    1 year ago
    Agreed
    (although it quickly gets messy on desktop, esp. Linux)
    t

    tad

    1 year ago
    Wayland makes it nicer with EGL buffers, but yeah
    r

    romainguy

    1 year ago
    I’m mad at Wayland right now 🙂
    (also it doesn’t help because the user may or may not use Wayland)
    t

    tad

    1 year ago
    Everyone's mad at Wayland right now... I rather enjoy it myself.
    r

    romainguy

    1 year ago
    I’m mad at it because it doesn’t implement EGL properly