00001 /****************************************************************************************/ 00002 /* OglMisc.h */ 00003 /* */ 00004 /* Author: George McBay (gfm@my-deja.com) */ 00005 /* Description: Miscellaneous support functions for OpenGL driver */ 00006 /* */ 00007 /* The contents of this file are subject to the Genesis3D Public License */ 00008 /* Version 1.01 (the "License"); you may not use this file except in */ 00009 /* compliance with the License. You may obtain a copy of the License at */ 00010 /* http://www.genesis3d.com */ 00011 /* */ 00012 /* Software distributed under the License is distributed on an "AS IS" */ 00013 /* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See */ 00014 /* the License for the specific language governing rights and limitations */ 00015 /* under the License. */ 00016 /* */ 00017 /* */ 00018 /****************************************************************************************/ 00019 00020 #ifndef OGLMISC_H 00021 #define OGLMISC_H 00022 00023 void InitMatrices(int width, int height); 00024 geBoolean ExtensionExists(const char *extension); 00025 void CkBlit24_32(GLubyte *dstPtr, GLint width, GLint dstHeight, GLubyte *srcPtr, GLint srcWidth, GLint srcHeight); 00026 void Blit32(GLubyte *dstPtr, GLint dstPitch, GLubyte *srcPtr, GLint srcWidth, GLint srcHeight, 00027 GLint srcPitch); 00028 00029 #endif
1.3.2