Main Page | Modules | Class List | File List | Class Members | File Members

openGL_texture.c File Reference

#include <gandalf/image/openGL_texture.h>
#include <gandalf/image/image_extract.h>
#include <gandalf/common/compare.h>
#include <gandalf/image/image_rgbx_uint10.h>
#include <GL/glx.h>

Defines

#define GL_GLEXT_PROTOTYPES   1
#define LARGEST_TEXTURE_TILE_SIZE   256
#define gan_texGetProcAddress(name)   (*glXGetProcAddressARB)(name)

Functions

void gan_initialise_glext_func_ptrs (Gan_GLExt_Function_Pointers *pExtFnPtrs)
 Initialise OpenGL extension function pointer structure.
int gan_check_glext_func_ptrs ()
 Return status of OpenGL extension function pointer structure, non-zero is error.
Gan_Bool gan_build_openGL_textures_for_image (Gan_Image *pgiImage, Gan_OpenGLTextureStruct *pOGLTexStruct)
 Build a set of OpenGL texture tiles for an image.
void gan_free_openGL_textures_for_image (Gan_OpenGLTextureStruct *pOGLTexStruct)
 Free OpenGL texture tiles for an image.
Gan_Bool gan_render_openGL_textures_for_image (Gan_OpenGLTextureStruct *pOGLTexStruct)
 Render OpenGL texture tiles for an image.

Detailed Description

Module: Open GL texture handling code

Part of: Gandalf Library

Version:
1.36
Date:
2006/03/15 15:16:09
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Fri Mar 17 12:44:52 2006 by  doxygen 1.3.9.1