Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygendglpf.h
Go to the documentation of this file.
00001 /**************************************************************************** 00002 * 00003 * Mesa 3-D graphics library 00004 * Direct3D Driver Interface 00005 * 00006 * ======================================================================== 00007 * 00008 * Copyright (C) 1991-2004 SciTech Software, Inc. All rights reserved. 00009 * 00010 * Permission is hereby granted, free of charge, to any person obtaining a 00011 * copy of this software and associated documentation files (the "Software"), 00012 * to deal in the Software without restriction, including without limitation 00013 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00014 * and/or sell copies of the Software, and to permit persons to whom the 00015 * Software is furnished to do so, subject to the following conditions: 00016 * 00017 * The above copyright notice and this permission notice shall be included 00018 * in all copies or substantial portions of the Software. 00019 * 00020 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00021 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00022 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00023 * SCITECH SOFTWARE INC BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 00024 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 00025 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00026 * SOFTWARE. 00027 * 00028 * ====================================================================== 00029 * 00030 * Language: ANSI C 00031 * Environment: Windows 9x (Win32) 00032 * 00033 * Description: Pixel Formats. 00034 * 00035 ****************************************************************************/ 00036 00037 #ifndef __DGLPF_H 00038 #define __DGLPF_H 00039 00040 #ifndef STRICT 00041 #define STRICT 00042 #endif // STRICT 00043 #define WIN32_LEAN_AND_MEAN 00044 00045 #include <windows.h> 00046 00047 /*---------------------- Macros and type definitions ----------------------*/ 00048 00049 typedef struct { 00050 PIXELFORMATDESCRIPTOR pfd; // Win32 Pixel Format Descriptor 00051 #ifdef _USE_GLD3_WGL 00052 // Driver-specific data. 00053 // Example: The DX8 driver uses this to hold an index into a 00054 // list of depth-stencil descriptions. 00055 DWORD dwDriverData; 00056 #else 00057 int iZBufferPF; // Index of depth buffer pixel format 00058 #endif 00059 } DGL_pixelFormat; 00060 00061 #include "dglglobals.h" 00062 00063 /*------------------------- Function Prototypes ---------------------------*/ 00064 00065 #ifdef __cplusplus 00066 extern "C" { 00067 #endif 00068 00069 BOOL IsValidPFD(int iPFD); 00070 void dglBuildPixelFormatList(); 00071 void dglReleasePixelFormatList(); 00072 00073 #ifdef __cplusplus 00074 } 00075 #endif 00076 00077 #endif Generated on Fri May 25 2012 04:18:04 for ReactOS by
1.7.6.1
|