Hi,
The line elements rely heavily on the MCU for rendering, so it might be difficult to overcome hardware limitations. Which Dynamic Behavior are you using ? "Wrap and Clear" would be the least demanding one. When you run the simulator, press F2 to see what parts of the display are being updated. This might help you see if you are not invalidating something that is not necessary.
I dont know if it will help that much but if you have enough space you could try to also enable the animation storage in addition to the double framebuffer. You need to manually do this in user code in the setFrameBufferStartAddresses() function in TouchGFXHAL.cpp in the initialize function:
void TouchGFXHAL::initialize()
{
// Calling parent implementation of initialize().
//
// To overwrite the generated implementation, omit call to parent function
// and implemented needed functionality here.
// Please note, HAL::initialize() must be called to initialize the framework.
TouchGFXGeneratedHAL::initialize();
setFrameBufferStartAddresses((void*)firstFrameBufferAddress, (void*)(firstFrameBufferAddress+ sizeFrameBuffer), (void*)(firstFrameBufferAddress+ 2 * sizeFrameBuffer));
}
/Romain