create gl context in glrender