Home | History | Annotate | Download | only in canvas

Lines Matching defs:framebufferTexture2D

1916 void WebGLRenderingContext::framebufferTexture2D(GC3Denum target, GC3Denum attachment, GC3Denum textarget, WebGLTexture* texture, GC3Dint level)
1918 if (isContextLost() || !validateFramebufferFuncParameters("framebufferTexture2D", target, attachment))
1921 synthesizeGLError(GraphicsContext3D::INVALID_VALUE, "framebufferTexture2D", "level not 0");
1925 synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "framebufferTexture2D", "no texture or texture not from this context");
1932 synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, "framebufferTexture2D", "no framebuffer bound");
1938 m_context->framebufferTexture2D(target, GraphicsContext3D::DEPTH_ATTACHMENT, textarget, textureObject, level);
1939 m_context->framebufferTexture2D(target, GraphicsContext3D::STENCIL_ATTACHMENT, textarget, textureObject, level);
1942 m_context->framebufferTexture2D(target, attachment, textarget, textureObject, level);
1945 m_context->framebufferTexture2D(target, attachment, textarget, textureObject, level);
1948 m_context->framebufferTexture2D(target, attachment, textarget, textureObject, level);