Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenframebuffer.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5 00004 * 00005 * Copyright (C) 1999-2006 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 FRAMEBUFFER_H 00027 #define FRAMEBUFFER_H 00028 00029 00030 extern struct gl_framebuffer * 00031 _mesa_create_framebuffer(const GLvisual *visual); 00032 00033 extern struct gl_framebuffer * 00034 _mesa_new_framebuffer(GLcontext *ctx, GLuint name); 00035 00036 extern void 00037 _mesa_initialize_framebuffer(struct gl_framebuffer *fb, const GLvisual *visual); 00038 00039 extern void 00040 _mesa_destroy_framebuffer(struct gl_framebuffer *buffer); 00041 00042 extern void 00043 _mesa_free_framebuffer_data(struct gl_framebuffer *buffer); 00044 00045 extern void 00046 _mesa_reference_framebuffer(struct gl_framebuffer **ptr, 00047 struct gl_framebuffer *fb); 00048 00049 extern void 00050 _mesa_unreference_framebuffer(struct gl_framebuffer **fb); 00051 00052 extern void 00053 _mesa_resize_framebuffer(GLcontext *ctx, struct gl_framebuffer *fb, 00054 GLuint width, GLuint height); 00055 00056 00057 extern void 00058 _mesa_resizebuffers( GLcontext *ctx ); 00059 00060 extern void GLAPIENTRY 00061 _mesa_ResizeBuffersMESA( void ); 00062 00063 00064 extern void 00065 _mesa_update_draw_buffer_bounds(GLcontext *ctx); 00066 00067 extern void 00068 _mesa_update_framebuffer_visual(struct gl_framebuffer *fb); 00069 00070 extern void 00071 _mesa_update_depth_buffer(GLcontext *ctx, struct gl_framebuffer *fb, 00072 GLuint attIndex); 00073 00074 extern void 00075 _mesa_update_stencil_buffer(GLcontext *ctx, struct gl_framebuffer *fb, 00076 GLuint attIndex); 00077 00078 extern void 00079 _mesa_update_framebuffer(GLcontext *ctx); 00080 00081 extern GLboolean 00082 _mesa_source_buffer_exists(GLcontext *ctx, GLenum format); 00083 00084 extern GLboolean 00085 _mesa_dest_buffer_exists(GLcontext *ctx, GLenum format); 00086 00087 00088 #endif /* FRAMEBUFFER_H */ Generated on Sat May 26 2012 04:19:03 for ReactOS by
1.7.6.1
|