modify func name and call back func name in thread and xopengl.h