ImageLayer fails to render on nexus 4 when layerType = Mirrored
kenvandine opened this issue · 2 comments
kenvandine commented
This works fine when layerType = Infinite. Probably something to do with how the mirrored effect is created.
mdkcore0 commented
+1 on this. Actually, for the mirrored effect, we create an image 2 times bigger than the source image (only for the width for now), and send it to the OpenGL renderer. This seems to be the problem on some devices that have a limited memory when the source image is big.
An ideal solution for this is to use only the source image as input and handle the mirrored effect direct with the shader.
kenvandine commented
I played around with this a bit, if I make the image smaller Layer.Mirrored works.