Lines Matching defs:copyTexSubImage2D
1513 void WebGLRenderingContextBase::copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1517 if (!validateTexFuncLevel("copyTexSubImage2D", target, level))
1519 WebGLTexture* tex = validateTextureBinding("copyTexSubImage2D", target, true);
1522 if (!validateSize("copyTexSubImage2D", xoffset, yoffset) || !validateSize("copyTexSubImage2D", width, height))
1530 synthesizeGLError(GL_INVALID_VALUE, "copyTexSubImage2D", "bad dimensions");
1534 synthesizeGLError(GL_INVALID_VALUE, "copyTexSubImage2D", "rectangle out of range");
1538 if (!validateSettableTexFormat("copyTexSubImage2D", internalformat))
1541 synthesizeGLError(GL_INVALID_OPERATION, "copyTexSubImage2D", "framebuffer is incompatible format");
1546 synthesizeGLError(GL_INVALID_FRAMEBUFFER_OPERATION, "copyTexSubImage2D", reason);
1551 webContext()->copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);