ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

texcompress.h
Go to the documentation of this file.
00001 /*
00002  * Mesa 3-D graphics library
00003  * Version:  6.5.1
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 #ifndef TEXCOMPRESS_H
00026 #define TEXCOMPRESS_H
00027 
00028 #include "mtypes.h"
00029 
00030 #if _HAVE_FULL_GL
00031 
00032 extern GLuint
00033 _mesa_get_compressed_formats(GLcontext *ctx, GLint *formats, GLboolean all);
00034 
00035 extern GLuint
00036 _mesa_compressed_texture_size( GLcontext *ctx,
00037                                GLsizei width, GLsizei height, GLsizei depth,
00038                                GLuint mesaFormat );
00039 
00040 extern GLuint
00041 _mesa_compressed_texture_size_glenum(GLcontext *ctx,
00042                                      GLsizei width, GLsizei height,
00043                                      GLsizei depth, GLenum glformat);
00044 
00045 extern GLint
00046 _mesa_compressed_row_stride(GLuint mesaFormat, GLsizei width);
00047 
00048 
00049 extern GLubyte *
00050 _mesa_compressed_image_address(GLint col, GLint row, GLint img,
00051                                GLuint mesaFormat,
00052                                GLsizei width, const GLubyte *image);
00053 
00054 
00055 extern void
00056 _mesa_init_texture_s3tc( GLcontext *ctx );
00057 
00058 extern void
00059 _mesa_init_texture_fxt1( GLcontext *ctx );
00060 
00061 
00062 #else /* _HAVE_FULL_GL */
00063 
00064 /* no-op macros */
00065 #define _mesa_get_compressed_formats( c, f ) 0
00066 #define _mesa_compressed_texture_size( c, w, h, d, f ) 0
00067 #define _mesa_compressed_texture_size_glenum( c, w, h, d, f ) 0
00068 #define _mesa_compressed_row_stride( f, w) 0
00069 #define _mesa_compressed_image_address(c, r, i, f, w, i2 ) 0
00070 #define _mesa_compress_teximage( c, w, h, sF, s, sRS, dF, d, drs ) ((void)0)
00071 
00072 #endif /* _HAVE_FULL_GL */
00073 
00074 #endif /* TEXCOMPRESS_H */

Generated on Sun May 27 2012 04:20:29 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.