Leon Linhart
12/22/2024, 1:21 PMLeon Linhart
12/22/2024, 1:33 PMCanvas(modifier) {
drawIntoCanvas { canvas ->
surface().draw(canvas.nativeCanvas, 0, 0, null)
}
}
RenderDoc shows that Skia creates an empty texture and uses this instead of the off-screen framebuffer's color attachment.Leon Linhart
12/22/2024, 1:35 PMZach Klippenstein (he/him) [MOD]
12/22/2024, 8:47 PMLeon Linhart
12/22/2024, 9:05 PMLeon Linhart
12/23/2024, 4:35 PMAndroidExternalSurface
is only available on Android and the implementation is not of much use either because it heavily depends on Android views. Do you happen to know if there is something that's available on desktop too? (Apologies for the confusion, maybe I should've posted in compose-desktop.)Zach Klippenstein (he/him) [MOD]
12/23/2024, 5:08 PM