I have huge perfomance issues cause by GraphEditor.DrawGrid so I rewrited the DrawGrid function which have execution time divided by 10:
Replace in GraphEditor.cs DrawGrid function by this piece of code:
Indeed the grid function was way too slow because of many lines drawn and being part of the zoom group.
I have already changed the way it works to be faster, but of course also using GL directly is probably going to be further better as well, so thank you for that!
What version of unity is this code on? I am asking because it seems that the method “s_applyWireMaterialMethod” can not be found.