I'm attempting to pull the buffered layering code into QCP1 for my project, so i did a cursory glance through the QCP2 beta code. I noticed there are quite a few things that changed with regards to the drawing of qcustomplot.

Which pieces of code would i have to merge in to get buffered layering to work so that i can draw layers separately?.