openGL on Android? something seems off

Performance is much improved when I use OpenGL for my Android app. However, as soon as I enable it my plugin no longer sits correctly within the screen. The top bit is missing and there is empty space below it. It looks like the size is still correct, but with minus x/y coordinates. What’s also interesting is that interaction with the widgets only works when you press the areas they should be in, not the areas they actually appear in. I’m using 7.0.7.

[edit] I should mention that I’m using Desktop::setGlobalScaleFactor() in order to make my plugin window fit correctly. And it makes no difference when I attach my context to the top level window, i.e., before or after I perform the desktop scaling…

In case anyone else gets caught out with this, I was able to move past the problem by applying a transform to the editor which the StandaloneFilterWindow displays. Now I can use openGL rendering, and scale things accordingly.

1 Like