Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenrenderbuffer.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5 00004 * 00005 * Copyright (C) 1999-2005 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 RENDERBUFFER_H 00027 #define RENDERBUFFER_H 00028 00029 00030 extern void 00031 _mesa_init_renderbuffer(struct gl_renderbuffer *rb, GLuint name); 00032 00033 extern struct gl_renderbuffer * 00034 _mesa_new_renderbuffer(GLcontext *ctx, GLuint name); 00035 00036 extern void 00037 _mesa_delete_renderbuffer(struct gl_renderbuffer *rb); 00038 00039 00040 extern struct gl_renderbuffer * 00041 _mesa_new_soft_renderbuffer(GLcontext *ctx, GLuint name); 00042 00043 00044 extern GLboolean 00045 _mesa_soft_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb, 00046 GLenum internalFormat, 00047 GLuint width, GLuint height); 00048 00049 extern GLboolean 00050 _mesa_add_color_renderbuffers(GLcontext *ctx, struct gl_framebuffer *fb, 00051 GLuint rgbBits, GLuint alphaBits, 00052 GLboolean frontLeft, GLboolean backLeft, 00053 GLboolean frontRight, GLboolean backRight); 00054 00055 extern GLboolean 00056 _mesa_add_color_index_renderbuffers(GLcontext *ctx, struct gl_framebuffer *fb, 00057 GLuint indexBits, 00058 GLboolean frontLeft, GLboolean backLeft, 00059 GLboolean frontRight, GLboolean backRight); 00060 00061 extern GLboolean 00062 _mesa_add_alpha_renderbuffers(GLcontext *ctx, struct gl_framebuffer *fb, 00063 GLuint alphaBits, 00064 GLboolean frontLeft, GLboolean backLeft, 00065 GLboolean frontRight, GLboolean backRight); 00066 00067 extern void 00068 _mesa_copy_soft_alpha_renderbuffers(GLcontext *ctx, struct gl_framebuffer *fb); 00069 00070 extern GLboolean 00071 _mesa_add_depth_renderbuffer(GLcontext *ctx, struct gl_framebuffer *fb, 00072 GLuint depthBits); 00073 00074 extern GLboolean 00075 _mesa_add_stencil_renderbuffer(GLcontext *ctx, struct gl_framebuffer *fb, 00076 GLuint stencilBits); 00077 00078 00079 extern GLboolean 00080 _mesa_add_accum_renderbuffer(GLcontext *ctx, struct gl_framebuffer *fb, 00081 GLuint redBits, GLuint greenBits, 00082 GLuint blueBits, GLuint alphaBits); 00083 00084 extern GLboolean 00085 _mesa_add_aux_renderbuffers(GLcontext *ctx, struct gl_framebuffer *fb, 00086 GLuint bits, GLuint numBuffers); 00087 00088 extern void 00089 _mesa_add_soft_renderbuffers(struct gl_framebuffer *fb, 00090 GLboolean color, 00091 GLboolean depth, 00092 GLboolean stencil, 00093 GLboolean accum, 00094 GLboolean alpha, 00095 GLboolean aux); 00096 00097 extern void 00098 _mesa_add_renderbuffer(struct gl_framebuffer *fb, 00099 GLuint bufferName, struct gl_renderbuffer *rb); 00100 00101 extern void 00102 _mesa_remove_renderbuffer(struct gl_framebuffer *fb, GLuint bufferName); 00103 00104 extern void 00105 _mesa_reference_renderbuffer(struct gl_renderbuffer **ptr, 00106 struct gl_renderbuffer *rb); 00107 00108 extern struct gl_renderbuffer * 00109 _mesa_new_depthstencil_renderbuffer(GLcontext *ctx, GLuint name); 00110 00111 00112 #endif /* RENDERBUFFER_H */ Generated on Sat May 26 2012 04:19:10 for ReactOS by
1.7.6.1
|