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

texobj.h
Go to the documentation of this file.
00001 
00006 /*
00007  * Mesa 3-D graphics library
00008  * Version:  6.5
00009  *
00010  * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
00011  *
00012  * Permission is hereby granted, free of charge, to any person obtaining a
00013  * copy of this software and associated documentation files (the "Software"),
00014  * to deal in the Software without restriction, including without limitation
00015  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00016  * and/or sell copies of the Software, and to permit persons to whom the
00017  * Software is furnished to do so, subject to the following conditions:
00018  *
00019  * The above copyright notice and this permission notice shall be included
00020  * in all copies or substantial portions of the Software.
00021  *
00022  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00023  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00024  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00025  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00026  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00027  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00028  */
00029 
00030 
00031 #ifndef TEXTOBJ_H
00032 #define TEXTOBJ_H
00033 
00034 
00035 #include "mtypes.h"
00036 
00037 
00042 
00043 extern struct gl_texture_object *
00044 _mesa_lookup_texture(GLcontext *ctx, GLuint id);
00045 
00046 extern struct gl_texture_object *
00047 _mesa_new_texture_object( GLcontext *ctx, GLuint name, GLenum target );
00048 
00049 extern void
00050 _mesa_initialize_texture_object( struct gl_texture_object *obj,
00051                                  GLuint name, GLenum target );
00052 
00053 extern void
00054 _mesa_delete_texture_object( GLcontext *ctx, struct gl_texture_object *obj );
00055 
00056 extern void
00057 _mesa_copy_texture_object( struct gl_texture_object *dest,
00058                            const struct gl_texture_object *src );
00059 
00060 extern void
00061 _mesa_reference_texobj(struct gl_texture_object **ptr,
00062                        struct gl_texture_object *tex);
00063 
00064 extern void
00065 _mesa_test_texobj_completeness( const GLcontext *ctx,
00066                                 struct gl_texture_object *obj );
00067 
00068 extern void
00069 _mesa_unlock_context_textures( GLcontext *ctx );
00070 
00071 extern void
00072 _mesa_lock_context_textures( GLcontext *ctx );
00073 
00081 
00082 extern void GLAPIENTRY
00083 _mesa_GenTextures( GLsizei n, GLuint *textures );
00084 
00085 
00086 extern void GLAPIENTRY
00087 _mesa_DeleteTextures( GLsizei n, const GLuint *textures );
00088 
00089 
00090 extern void GLAPIENTRY
00091 _mesa_BindTexture( GLenum target, GLuint texture );
00092 
00093 
00094 extern void GLAPIENTRY
00095 _mesa_PrioritizeTextures( GLsizei n, const GLuint *textures,
00096                           const GLclampf *priorities );
00097 
00098 
00099 extern GLboolean GLAPIENTRY
00100 _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
00101                            GLboolean *residences );
00102 
00103 extern GLboolean GLAPIENTRY
00104 _mesa_IsTexture( GLuint texture );
00105 
00109 #endif

Generated on Sat May 26 2012 04:19:15 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.