Skia Resize prevents layer to be rendered in Stride

heyhey,

this is gamma 2021.4.7 - 837

using a Skia resize node prevents the layer from being rendered via SkiaRenderer in Stride. see the attached gif : soon as Resize is inserted in the chain, the Texture goes black.

resize2

SkiaResize.vl (8.3 KB)

thanks!

seb

Indeed, Stride and Skia use different graphics contexts. We did some tests internally where both use the same context but I can give you no ETA yet when (or if even) that branch will come back to the mainline. For now you’ll have to do an expensive download with ToRasterImage.

Oh right, I see. Thanks for the explanation.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.

In latest preview Stride and Skia will use the same graphics device, your patch works as expected.

Note: If you start patching, and reference first Skia and Stride after it could be that you’ll need to restart the patch once, as the device was already negotiated. The other way round it should be fine.

2 Likes