Lines Matching defs:texture

298  * Remove any texture or renderbuffer attached to the given attachment
308 /* tell driver that we're done rendering to this texture. */
325 * Bind a texture object to an attachment point.
336 /* re-attaching same texture */
604 att_incomplete("illegal stencil texture");
740 /* get width, height, format of the renderbuffer/texture
755 fbo_incomplete("texture attachment incomplete", -1);
1172 /* signed normalized texture formats */
1538 * renderbuffer/texture was created with internalFormat=GL_RGB but the
1669 * (render to texture). Call ctx->Driver.RenderTexture() for such
1679 return; /* can't render to texture with winsys framebuffers */
1692 * If so, call ctx->Driver.FinishRenderTexture() for each texture to
1693 * notify the device driver that the texture image may have changed.
1699 return; /* can't render to texture with winsys framebuffers */
1812 * We also check if we're beginning and/or ending render-to-texture.
1813 * When a framebuffer with texture attachments is unbound, call
1815 * When a framebuffer with texture attachments is bound, call
1818 * Note that if the ReadBuffer has texture attachments we don't consider
1819 * that a render-to-texture case.
1824 /* check if old readbuffer was render-to-texture */
1833 /* check if old framebuffer had any texture attachments */
1837 /* check if newly bound framebuffer has any texture attachments */
1965 * the same texture is attached at GL_DEPTH_ATTACHMENT and
1996 GLenum attachment, GLenum textarget, GLuint texture,
2021 * texture is non-zero.
2023 if (texture) {
2026 texObj = _mesa_lookup_texture(ctx, texture);
2031 * The only legal texture types for that function are 3D and
2039 /* Make sure textarget is consistent with the texture's type */
2046 /* can't render to a non-existant texture */
2048 "glFramebufferTexture%sEXT(non existant texture)",
2055 "glFramebufferTexture%sEXT(texture target mismatch)",
2103 /* The texture object is already attached to the stencil attachment
2133 /* Set the render-to-texture flag. We'll check this flag in
2135 * any FBOs that might be rendering into this texture.
2137 * when all FBOs might be done rendering to this texture. That's OK
2138 * though since it's uncommon to render to a texture then repeatedly
2139 * call glTexImage() to change images in the texture.
2160 GLenum textarget, GLuint texture, GLint level)
2164 if (texture != 0) {
2186 framebuffer_texture(ctx, "1D", target, attachment, textarget, texture,
2193 GLenum textarget, GLuint texture, GLint level)
2197 if (texture != 0) {
2232 framebuffer_texture(ctx, "2D", target, attachment, textarget, texture,
2239 GLenum textarget, GLuint texture,
2244 if ((texture != 0) && (textarget != GL_TEXTURE_3D)) {
2250 framebuffer_texture(ctx, "3D", target, attachment, textarget, texture,
2257 GLuint texture, GLint level, GLint layer)
2261 framebuffer_texture(ctx, "Layer", target, attachment, 0, texture,
3117 GLuint texture, GLint level)
3128 GLuint texture, GLint level, GLenum face)