Home | History | Annotate | Download | only in canvas

Lines Matching defs:framebufferTexture2D

1920 void WebGLRenderingContextBase::framebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, WebGLTexture* texture, GLint level)
1922 if (isContextLost() || !validateFramebufferFuncParameters("framebufferTexture2D", target, attachment))
1925 synthesizeGLError(GL_INVALID_VALUE, "framebufferTexture2D", "level not 0");
1929 synthesizeGLError(GL_INVALID_OPERATION, "framebufferTexture2D", "no texture or texture not from this context");
1936 synthesizeGLError(GL_INVALID_OPERATION, "framebufferTexture2D", "no framebuffer bound");
1942 webContext()->framebufferTexture2D(target, GL_DEPTH_ATTACHMENT, textarget, textureObject, level);
1943 webContext()->framebufferTexture2D(target, GL_STENCIL_ATTACHMENT, textarget, textureObject, level);
1946 webContext()->framebufferTexture2D(target, attachment, textarget, textureObject, level);
1949 webContext()->framebufferTexture2D(target, attachment, textarget, textureObject, level);
1952 webContext()->framebufferTexture2D(target, attachment, textarget, textureObject, level);