Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenmipmap.h
Go to the documentation of this file.
00001 /* 00002 * Mesa 3-D graphics library 00003 * Version: 6.5.2 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 MIPMAP_H 00027 #define MIPMAP_H 00028 00029 #include "mtypes.h" 00030 00031 00032 extern void 00033 _mesa_generate_mipmap_level(GLenum target, 00034 GLenum datatype, GLuint comps, 00035 GLint border, 00036 GLint srcWidth, GLint srcHeight, GLint srcDepth, 00037 const GLubyte *srcData, 00038 GLint srcRowStride, 00039 GLint dstWidth, GLint dstHeight, GLint dstDepth, 00040 GLubyte *dstData, 00041 GLint dstRowStride); 00042 00043 00044 extern void 00045 _mesa_generate_mipmap(GLcontext *ctx, GLenum target, 00046 struct gl_texture_object *texObj); 00047 00048 00049 extern void 00050 _mesa_rescale_teximage2d(GLuint bytesPerPixel, 00051 GLuint srcStrideInPixels, 00052 GLuint dstRowStride, 00053 GLint srcWidth, GLint srcHeight, 00054 GLint dstWidth, GLint dstHeight, 00055 const GLvoid *srcImage, GLvoid *dstImage); 00056 00057 extern void 00058 _mesa_upscale_teximage2d(GLsizei inWidth, GLsizei inHeight, 00059 GLsizei outWidth, GLsizei outHeight, 00060 GLint comps, const GLchan *src, GLint srcRowStride, 00061 GLchan *dest); 00062 00063 00064 #endif /* MIPMAP_H */ Generated on Sun May 27 2012 04:20:25 for ReactOS by
1.7.6.1
|