Optimizing Performance on M3 Max Pro?

Dear Processing community, i hope this finds you well.

I’m Working on an infinite image sequence slider that’s currently not hitting desired performance, despite having a super powerful hardware it stays below the desired 120.

Considering how powerful this machine is i was expecting a lot more FPS, as comparison i have an old razer laptop which can reach nearly 300 fps with complex games, unfortunately it doesn’t really work quite like that ( :

I would love to have some suggestions / recommendations / explanations on what i’m missing here.

Currently i’m using P2D renderer as i read it works better with Apple’s METAL compared to OPENGL which is ( surprisingly deprecated? ), i’m also loading the images in a separate thread to try avoid stuttering on the main drawing thread.

Code: ImageManager.pde · GitHub

Are there better approaches in order to draw faster and/or optimise for Apple Silicon?

Thank you very much!