ases = [
      { pname: gl.TEXTURE_WRAP_S,  param: gl.REPEAT },
      { pname: gl.TEXTURE_WRAP_S,  param: gl.MIRRORED_REPEAT },
      { pname: gl.TEXTURE_WRAP_S,  param: gl.CLAMP_TO_EDGE },
      { pname: gl.TEXTURE_WRAP_T,  param: gl.REPEAT },
      { pname: gl.TEXTURE_WRAP_T,  param: gl.MIRRORED_REPEAT },
      { pname: gl.TEXTURE_WRAP_T,  param: gl.CLAMP_TO_EDGE },
      { pname: gl.TEXTURE_WRAP_R,  param: gl.REPEAT },
      { pname: gl.TEXTURE_WRAP_R,  param: gl.MIRRORED_REPEAT },
      { pname: gl.TEXT