Lines Matching refs:pimage
8384 p.texture = function(pimage) { argument
8385 if (pimage.localName === "canvas") {
8387 executeTexImage2D(pimage);
8391 } else if (!pimage.__texture) {
8393 pimage.__texture = texture;
8396 cvs.width = pimage.width;
8397 cvs.height = pimage.height;
8401 var imgData = pimage.toImageData();
8414 pimage.__cvs = cvs;
8416 curContext.bindTexture(curContext.TEXTURE_2D, pimage.__texture);
8421 executeTexImage2D(pimage.__cvs);
8424 curContext.bindTexture(curContext.TEXTURE_2D, pimage.__texture);
8427 curTexture.width = pimage.width;
8428 curTexture.height = pimage.height;