optimize: redo/undo->compile shader: move getShaderParameter to ensureCheck
optimize: redo/undo->compile shader: move getShaderParameter to ensureCheck

yyc-git/Wonder.js,yyc-git/Wonder.js,yyc-git/Wonder.js