Functions | |
void | _mesa_init_fbobjects (GLcontext *ctx) |
struct gl_renderbuffer * | _mesa_lookup_renderbuffer (GLcontext *ctx, GLuint id) |
Helper routine for getting a gl_renderbuffer. | |
struct gl_framebuffer * | _mesa_lookup_framebuffer (GLcontext *ctx, GLuint id) |
Helper routine for getting a gl_framebuffer. | |
struct gl_renderbuffer_attachment * | _mesa_get_attachment (GLcontext *ctx, struct gl_framebuffer *fb, GLenum attachment) |
Given a GL_*_ATTACHMENTn token, return a pointer to the corresponding gl_renderbuffer_attachment object. | |
void | _mesa_remove_attachment (GLcontext *ctx, struct gl_renderbuffer_attachment *att) |
Remove any texture or renderbuffer attached to the given attachment point. | |
void | _mesa_set_texture_attachment (GLcontext *ctx, struct gl_framebuffer *fb, struct gl_renderbuffer_attachment *att, struct gl_texture_object *texObj, GLenum texTarget, GLuint level, GLuint zoffset) |
Bind a texture object to an attachment point. | |
void | _mesa_set_renderbuffer_attachment (GLcontext *ctx, struct gl_renderbuffer_attachment *att, struct gl_renderbuffer *rb) |
Bind a renderbuffer to an attachment point. | |
void | _mesa_framebuffer_renderbuffer (GLcontext *ctx, struct gl_framebuffer *fb, GLenum attachment, struct gl_renderbuffer *rb) |
Fallback for ctx->Driver.FramebufferRenderbuffer() Attach a renderbuffer object to a framebuffer object. | |
void | _mesa_test_framebuffer_completeness (GLcontext *ctx, struct gl_framebuffer *fb) |
Test if the given framebuffer object is complete and update its Status field with the results. | |
GLenum | _mesa_base_fbo_format (GLcontext *ctx, GLenum internalFormat) |
Given an internal format token for a render buffer, return the corresponding base format. | |
GLboolean GLAPIENTRY | _mesa_IsRenderbufferEXT (GLuint renderbuffer) |
void GLAPIENTRY | _mesa_BindRenderbufferEXT (GLenum target, GLuint renderbuffer) |
void GLAPIENTRY | _mesa_DeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers) |
void GLAPIENTRY | _mesa_GenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers) |
void GLAPIENTRY | _mesa_RenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
void GLAPIENTRY | _mesa_RenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
void GLAPIENTRY | _mesa_GetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params) |
GLboolean GLAPIENTRY | _mesa_IsFramebufferEXT (GLuint framebuffer) |
void GLAPIENTRY | _mesa_BindFramebufferEXT (GLenum target, GLuint framebuffer) |
void GLAPIENTRY | _mesa_DeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers) |
void GLAPIENTRY | _mesa_GenFramebuffersEXT (GLsizei n, GLuint *framebuffers) |
GLenum GLAPIENTRY | _mesa_CheckFramebufferStatusEXT (GLenum target) |
void GLAPIENTRY | _mesa_FramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
void GLAPIENTRY | _mesa_FramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
void GLAPIENTRY | _mesa_FramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
void GLAPIENTRY | _mesa_FramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
void GLAPIENTRY | _mesa_FramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
void GLAPIENTRY | _mesa_GetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params) |
void GLAPIENTRY | _mesa_GenerateMipmapEXT (GLenum target) |
void GLAPIENTRY | _mesa_BlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
GLenum _mesa_base_fbo_format | ( | GLcontext * | ctx, | |
GLenum | internalFormat | |||
) |
Given an internal format token for a render buffer, return the corresponding base format.
This is very similar to _mesa_base_tex_format() but the set of valid internal formats is somewhat different.
void GLAPIENTRY _mesa_BindFramebufferEXT | ( | GLenum | target, | |
GLuint | framebuffer | |||
) |
void GLAPIENTRY _mesa_BindRenderbufferEXT | ( | GLenum | target, | |
GLuint | renderbuffer | |||
) |
void GLAPIENTRY _mesa_BlitFramebufferEXT | ( | GLint | srcX0, | |
GLint | srcY0, | |||
GLint | srcX1, | |||
GLint | srcY1, | |||
GLint | dstX0, | |||
GLint | dstY0, | |||
GLint | dstX1, | |||
GLint | dstY1, | |||
GLbitfield | mask, | |||
GLenum | filter | |||
) |
GLenum GLAPIENTRY _mesa_CheckFramebufferStatusEXT | ( | GLenum | target | ) |
void GLAPIENTRY _mesa_DeleteFramebuffersEXT | ( | GLsizei | n, | |
const GLuint * | framebuffers | |||
) |
void GLAPIENTRY _mesa_DeleteRenderbuffersEXT | ( | GLsizei | n, | |
const GLuint * | renderbuffers | |||
) |
void _mesa_framebuffer_renderbuffer | ( | GLcontext * | ctx, | |
struct gl_framebuffer * | fb, | |||
GLenum | attachment, | |||
struct gl_renderbuffer * | rb | |||
) |
Fallback for ctx->Driver.FramebufferRenderbuffer() Attach a renderbuffer object to a framebuffer object.
void GLAPIENTRY _mesa_FramebufferRenderbufferEXT | ( | GLenum | target, | |
GLenum | attachment, | |||
GLenum | renderbuffertarget, | |||
GLuint | renderbuffer | |||
) |
void GLAPIENTRY _mesa_FramebufferTexture1DEXT | ( | GLenum | target, | |
GLenum | attachment, | |||
GLenum | textarget, | |||
GLuint | texture, | |||
GLint | level | |||
) |
void GLAPIENTRY _mesa_FramebufferTexture2DEXT | ( | GLenum | target, | |
GLenum | attachment, | |||
GLenum | textarget, | |||
GLuint | texture, | |||
GLint | level | |||
) |
void GLAPIENTRY _mesa_FramebufferTexture3DEXT | ( | GLenum | target, | |
GLenum | attachment, | |||
GLenum | textarget, | |||
GLuint | texture, | |||
GLint | level, | |||
GLint | zoffset | |||
) |
void GLAPIENTRY _mesa_FramebufferTextureLayerEXT | ( | GLenum | target, | |
GLenum | attachment, | |||
GLuint | texture, | |||
GLint | level, | |||
GLint | layer | |||
) |
void GLAPIENTRY _mesa_GenerateMipmapEXT | ( | GLenum | target | ) |
void GLAPIENTRY _mesa_GenFramebuffersEXT | ( | GLsizei | n, | |
GLuint * | framebuffers | |||
) |
void GLAPIENTRY _mesa_GenRenderbuffersEXT | ( | GLsizei | n, | |
GLuint * | renderbuffers | |||
) |
struct gl_renderbuffer_attachment* _mesa_get_attachment | ( | GLcontext * | ctx, | |
struct gl_framebuffer * | fb, | |||
GLenum | attachment | |||
) | [read] |
Given a GL_*_ATTACHMENTn token, return a pointer to the corresponding gl_renderbuffer_attachment object.
If attachment
is GL_DEPTH_STENCIL_ATTACHMENT, return a pointer to the depth buffer attachment point.
void GLAPIENTRY _mesa_GetFramebufferAttachmentParameterivEXT | ( | GLenum | target, | |
GLenum | attachment, | |||
GLenum | pname, | |||
GLint * | params | |||
) |
void GLAPIENTRY _mesa_GetRenderbufferParameterivEXT | ( | GLenum | target, | |
GLenum | pname, | |||
GLint * | params | |||
) |
void _mesa_init_fbobjects | ( | GLcontext * | ctx | ) |
GLboolean GLAPIENTRY _mesa_IsFramebufferEXT | ( | GLuint | framebuffer | ) |
GLboolean GLAPIENTRY _mesa_IsRenderbufferEXT | ( | GLuint | renderbuffer | ) |
struct gl_framebuffer* _mesa_lookup_framebuffer | ( | GLcontext * | ctx, | |
GLuint | id | |||
) | [read] |
Helper routine for getting a gl_framebuffer.
struct gl_renderbuffer* _mesa_lookup_renderbuffer | ( | GLcontext * | ctx, | |
GLuint | id | |||
) | [read] |
Helper routine for getting a gl_renderbuffer.
void _mesa_remove_attachment | ( | GLcontext * | ctx, | |
struct gl_renderbuffer_attachment * | att | |||
) |
Remove any texture or renderbuffer attached to the given attachment point.
Update reference counts, etc.
void GLAPIENTRY _mesa_RenderbufferStorageEXT | ( | GLenum | target, | |
GLenum | internalformat, | |||
GLsizei | width, | |||
GLsizei | height | |||
) |
void GLAPIENTRY _mesa_RenderbufferStorageMultisample | ( | GLenum | target, | |
GLsizei | samples, | |||
GLenum | internalformat, | |||
GLsizei | width, | |||
GLsizei | height | |||
) |
void _mesa_set_renderbuffer_attachment | ( | GLcontext * | ctx, | |
struct gl_renderbuffer_attachment * | att, | |||
struct gl_renderbuffer * | rb | |||
) |
Bind a renderbuffer to an attachment point.
The previous binding, if any, will be removed first.
void _mesa_set_texture_attachment | ( | GLcontext * | ctx, | |
struct gl_framebuffer * | fb, | |||
struct gl_renderbuffer_attachment * | att, | |||
struct gl_texture_object * | texObj, | |||
GLenum | texTarget, | |||
GLuint | level, | |||
GLuint | zoffset | |||
) |
Bind a texture object to an attachment point.
The previous binding, if any, will be removed first.
void _mesa_test_framebuffer_completeness | ( | GLcontext * | ctx, | |
struct gl_framebuffer * | fb | |||
) |
Test if the given framebuffer object is complete and update its Status field with the results.
Calls the ctx->Driver.ValidateFramebuffer() function to allow the driver to make hardware-specific validation/completeness checks. Also update the framebuffer's Width and Height fields if the framebuffer is complete.