I am wondering whether it would be safe to use OpenGl inside of the ui of an VST/AU/RTAS plugin (if only it can be done) to perform some animations. Are there any pitfalls to avoid, or efficiency drawbacks of doing so? To be more specific, I would not like to do stuff related to the audio stream, but mostly fancy buttons or sliders.
Some voices inside of me are telling me that I’d want to stay away from this, but I am not really familiar with graphics programming, hence some hints would be greatly appreciated!
Thanks in advance,