Using fillRectList
Using for (auto r : lines) g.fillRect(r);
Works fine under software renderer
Code to reproduce: juce_bugs/MidiKeyboard/Source/MainComponent.h at master · FigBug/juce_bugs · GitHub
Using fillRectList
Using for (auto r : lines) g.fillRect(r);
Works fine under software renderer
Code to reproduce: juce_bugs/MidiKeyboard/Source/MainComponent.h at master · FigBug/juce_bugs · GitHub
Did anybody get a chance to look into this?
Sorry, been out of town and then of course I got sick from traveling.
Thanks for the example; I can reproduce it.
Matt
It’s because of the half-pixel height. I’ll give it some thought.
This appears to fix the issue, any chance on getting it merged into official juce repo?
See Direct2D Causes Considerable Performance Drop - #69 by reuk
I think they will update all Direct2D things at once. Still waiting for it.
Thanks for your patience.
The fix is now on develop: