Home | History | Annotate | Download | only in canvas

Lines Matching defs:copyTexSubImage2D

1472 void WebGLRenderingContext::copyTexSubImage2D(GC3Denum target, GC3Dint level, GC3Dint xoffset, GC3Dint yoffset, GC3Dint x, GC3Dint y, GC3Dsizei width, GC3Dsizei height)
1476 if (!validateTexFuncLevel("copyTexSubImage2D", target, level))
1478 WebGLTexture* tex = validateTextureBinding("copyTexSubImage2D", target, true);
1481 if (!validateSize("copyTexSubImage2D", xoffset, yoffset) || !validateSize("copyTexSubImage2D", width, height))
1485 synthesizeGLError(GraphicsContext3D::INVALID_VALUE, "copyTexSubImage2D", "bad dimensions");
1489 synthesizeGLError(GraphicsContext3D::INVALID_VALUE, "copyTexSubImage2D", "rectangle out of range");
1493 if (!validateSettableTexFormat("copyTexSubImage2D", internalformat))
1496 synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "copyTexSubImage2D", "framebuffer is incompatible format");
1501 synthesizeGLError(GraphicsContext3D::INVALID_FRAMEBUFFER_OPERATION, "copyTexSubImage2D", reason);
1506 m_context->copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);