I’ve finally got some time to experiment with HiDPI support, but I can’t seem to be able to make it work…
I have a laptop with 1.5 scaling factor, I’ve created all my images with that scale factor in mind.
In VSTGUI I create the CBitmap* and then call:
The plug-in GUI has the right dimensions, the images are sized correctly too, but they still look blurred, exactly like they were scaled from 1x to 1.5x.
I did some debugging and noticed that the call to CFrame:
const double scaleFactor = myFrame->getScaleFactor();
always returns 1 instead of 1.5. Is this normal? I guess not…
I’m testing the plug-in in Bitwig studio on Windows, which has HiDPI support. In fact, if I open another plug-in I developed with JUCE using images sized for retina support, the GUI looks perfect as it should.
VSTGUI version is 4.6, the one bundled inside the VSTSDK 3.6.10 zip.
Am I missing something?