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

dglcontext.c File Reference
#include "dglcontext.h"

Go to the source code of this file.

Defines

#define GLDERR_NONE   0
#define GLDERR_MEM   1
#define GLDERR_DDRAW   2
#define GLDERR_D3D   3
#define GLDERR_BPP   4
#define VENDORID_ATI   0x1002
#define DDLOG_CRITICAL_OR_WARN   (bFallback ? DDLOG_CRITICAL : DDLOG_WARN)
#define WARN_MESSAGE(p)   strcpy(argstr, (#p));
#define SAFE_RELEASE(p)   WARN_MESSAGE(p); RELEASE(p);

Functions

static void DetectOS (void)
LONG __stdcall GLD_EventWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
BOOL dglIsValidContext (HGLRC a)
DGL_ctxdglGetContextAddress (const HGLRC a)
HGLRC dglGetCurrentContext (void)
void dglSetCurrentContext (HGLRC hGLRC)
HDC dglGetCurrentDC (void)
void dglInitContextState ()
void dglDeleteContextState ()
static LONG __stdcall dglWndProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
LRESULT CALLBACK dglKeyProc (int code, WPARAM wParam, LPARAM lParam)
BOOL CALLBACK dglEnumChildProc (HWND hWnd, LPARAM lParam)
HWND dglFindWindowRect (RECT *pRect)
void dglChooseDisplayMode (DGL_ctx *lpCtx)
static BOOL IsDevice (DWORD *lpDeviceIdList, DWORD dwDeviceId, int count)
void dglTestForBrokenCards (DGL_ctx *lpCtx)
BOOL dglCreateContextBuffers (HDC a, DGL_ctx *lpCtx, BOOL bFallback)
HGLRC dglCreateContext (HDC a, const DGL_pixelFormat *lpPF)
BOOL dglMakeCurrent (HDC a, HGLRC b)
BOOL dglDeleteContext (HGLRC a)
BOOL dglSwapBuffers (HDC hDC)

Variables

char szResourceWarning [] = "to obtain satisfactory OpenGL performance.\n"
char szDDrawWarning [] = "for further information.\n"
char szD3DWarning [] = "further information.\n"
char szBPPWarning [] = "color depth with the Display Settings control panel.\n"
int nContextError = GLDERR_NONE
static DWORD devATIRagePro []
static DWORD devATIRageIIplus []
DGL_mesaFuncs mesaFuncs
DWORD dwLogging
HGLRC iCurrentContext = 0
BOOL bContextReady = FALSE
DGL_ctx ctxlist [DGL_MAX_CONTEXTS]
static BOOL bHaveWin95 = FALSE
static BOOL bHaveWinNT = FALSE
static BOOL bHaveWin2K = FALSE
HWND hWndEvent = NULL
HWND hWndLastActive = NULL
HWND hWndMatch

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