This seems to work except on an iphone 6 large in landscape mode. In that case in debug I get a SIGTRAP from the opengl error GL_INVALID_VALUE. I can't tell exactly why this is happening but when I go up the call stack it's trying to `OpenGLTexture::create`. The width and height passed in are 4416x762 (can a texture > 4096 be made? this is exactly 2x the res I was expecting and want) and then after `getAllowedTextureSize (w)` it becomes 8192x1024.
iOS can be a bit unhappy about having windows which are partially offscreen - maybe make the animated bar a child component of your top-level full-screen window instead?
Thanks for the reply. That doesn't change anything, and also changing the animation to never be off screen also doesn't change anything. I forgot to make the most important part clear - this only occurs when useProxyComponent = true... so something to do with the snapshot image. I'm also having trouble in another spot where I do createComponentSnapshot manually and display that image, where it works fine except on android where the colors are inverted. I'm thinking it's something wrong with juce::Flipper.
I'm pretty sure the issue here is that it's trying to create a texture bigger than GL_MAX_TEXTURE_SIZE. Shouldn't it restrict the texture to be a size that can be created?