I strongly suspect this is achieved with hardware accelerated rendering such as OpenGL, Metal, Vulkan, etc.
What platform(s) are you running / testing on?
For macOS I’m not sure there is a whole lot of room for improvement, on Windows improvements are being worked on in the form of using a Direct2D renderer (see here for more details).