Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenfbobject.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 7.1 00004 * 00005 * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. 00006 * 00007 * Permission is hereby granted, free of charge, to any person obtaining a 00008 * copy of this software and associated documentation files (the "Software"), 00009 * to deal in the Software without restriction, including without limitation 00010 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00011 * and/or sell copies of the Software, and to permit persons to whom the 00012 * Software is furnished to do so, subject to the following conditions: 00013 * 00014 * The above copyright notice and this permission notice shall be included 00015 * in all copies or substantial portions of the Software. 00016 * 00017 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00018 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00019 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00020 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00021 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00022 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00023 */ 00024 00025 00026 #ifndef FBOBJECT_H 00027 #define FBOBJECT_H 00028 00029 00030 extern void 00031 _mesa_init_fbobjects(GLcontext *ctx); 00032 00033 extern struct gl_renderbuffer * 00034 _mesa_lookup_renderbuffer(GLcontext *ctx, GLuint id); 00035 00036 extern struct gl_framebuffer * 00037 _mesa_lookup_framebuffer(GLcontext *ctx, GLuint id); 00038 00039 extern struct gl_renderbuffer_attachment * 00040 _mesa_get_attachment(GLcontext *ctx, struct gl_framebuffer *fb, 00041 GLenum attachment); 00042 00043 00044 extern void 00045 _mesa_remove_attachment(GLcontext *ctx, 00046 struct gl_renderbuffer_attachment *att); 00047 00048 extern void 00049 _mesa_set_texture_attachment(GLcontext *ctx, 00050 struct gl_framebuffer *fb, 00051 struct gl_renderbuffer_attachment *att, 00052 struct gl_texture_object *texObj, 00053 GLenum texTarget, GLuint level, GLuint zoffset); 00054 00055 extern void 00056 _mesa_set_renderbuffer_attachment(GLcontext *ctx, 00057 struct gl_renderbuffer_attachment *att, 00058 struct gl_renderbuffer *rb); 00059 00060 extern void 00061 _mesa_framebuffer_renderbuffer(GLcontext *ctx, struct gl_framebuffer *fb, 00062 GLenum attachment, struct gl_renderbuffer *rb); 00063 00064 extern void 00065 _mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb); 00066 00067 extern GLenum 00068 _mesa_base_fbo_format(GLcontext *ctx, GLenum internalFormat); 00069 00070 extern GLboolean GLAPIENTRY 00071 _mesa_IsRenderbufferEXT(GLuint renderbuffer); 00072 00073 extern void GLAPIENTRY 00074 _mesa_BindRenderbufferEXT(GLenum target, GLuint renderbuffer); 00075 00076 extern void GLAPIENTRY 00077 _mesa_DeleteRenderbuffersEXT(GLsizei n, const GLuint *renderbuffers); 00078 00079 extern void GLAPIENTRY 00080 _mesa_GenRenderbuffersEXT(GLsizei n, GLuint *renderbuffers); 00081 00082 extern void GLAPIENTRY 00083 _mesa_RenderbufferStorageEXT(GLenum target, GLenum internalformat, 00084 GLsizei width, GLsizei height); 00085 00086 extern void GLAPIENTRY 00087 _mesa_GetRenderbufferParameterivEXT(GLenum target, GLenum pname, 00088 GLint *params); 00089 00090 extern GLboolean GLAPIENTRY 00091 _mesa_IsFramebufferEXT(GLuint framebuffer); 00092 00093 extern void GLAPIENTRY 00094 _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer); 00095 00096 extern void GLAPIENTRY 00097 _mesa_DeleteFramebuffersEXT(GLsizei n, const GLuint *framebuffers); 00098 00099 extern void GLAPIENTRY 00100 _mesa_GenFramebuffersEXT(GLsizei n, GLuint *framebuffers); 00101 00102 extern GLenum GLAPIENTRY 00103 _mesa_CheckFramebufferStatusEXT(GLenum target); 00104 00105 extern void GLAPIENTRY 00106 _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment, 00107 GLenum textarget, GLuint texture, GLint level); 00108 00109 extern void GLAPIENTRY 00110 _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment, 00111 GLenum textarget, GLuint texture, GLint level); 00112 00113 extern void GLAPIENTRY 00114 _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment, 00115 GLenum textarget, GLuint texture, 00116 GLint level, GLint zoffset); 00117 00118 extern void GLAPIENTRY 00119 _mesa_FramebufferTextureLayerEXT(GLenum target, GLenum attachment, 00120 GLuint texture, GLint level, GLint layer); 00121 00122 extern void GLAPIENTRY 00123 _mesa_FramebufferRenderbufferEXT(GLenum target, GLenum attachment, 00124 GLenum renderbuffertarget, 00125 GLuint renderbuffer); 00126 00127 extern void GLAPIENTRY 00128 _mesa_GetFramebufferAttachmentParameterivEXT(GLenum target, GLenum attachment, 00129 GLenum pname, GLint *params); 00130 00131 extern void GLAPIENTRY 00132 _mesa_GenerateMipmapEXT(GLenum target); 00133 00134 00135 extern void GLAPIENTRY 00136 _mesa_BlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, 00137 GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, 00138 GLbitfield mask, GLenum filter); 00139 00140 00141 #endif /* FBOBJECT_H */ Generated on Sat May 26 2012 04:19:03 for ReactOS by
1.7.6.1
|