add a globle error info buffer
add create shader program code