Replace dynamic invoke

Changed the invocation process of extension function to gain better performance. Performance of SharpGL has been increased by about 30% (on my machine).