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

wgl.c File Reference
#include "opengl32.h"

Go to the source code of this file.

Data Structures

struct  POPENGL_INFO

Defines

#define OPENGL32_GL_FUNC_PROTOTYPES
#define UNIMPLEMENTED   DBGPRINT( "UNIMPLEMENTED" )
#define X(func, ret, typeargs, args, icdidx, tebidx, stack)
#define X(func, ret, typeargs, args, icdidx, tebidx, stack)
#define BUFFERDEPTH_SCORE(want, have)   ((want == 0) ? (0) : ((want < have) ? (1) : ((want > have) ? (3) : (0))))
 Attempts to find the best matching pixel format for HDC.
#define FLAG_SCORE(want, have, flag)   (((want & ~have) & flag) ? (1) : (0))
#define FLAG_SCORE_DONTCARE(want, have, flag)   ((!(have & flag ## _DONTCARE)) && ((want & flag) != (have & flag)) ? (1) : (0))

Functions

static void ROSGL_AppendContext (GLRC *glrc)
 Append OpenGL Rendering Context (GLRC) to list.
static void ROSGL_RemoveContext (GLRC *glrc)
 Remove OpenGL Rendering Context (GLRC) from list.
static GLRCROSGL_NewContext (void)
 Create a new GL Context (GLRC) and append it to the list.
static VOID ROSGL_DeleteDCDataForICD (GLDRIVERDATA *icd)
 Delete all GLDCDATA with this IDC.
static BOOL ROSGL_DeleteContext (GLRC *glrc)
 Delete a GL Context (GLRC) and remove it from the list.
static BOOL ROSGL_ContainsContext (GLRC *glrc)
 Check wether a GLRC is in the list.
static GLDCDATAROSGL_GetPrivateDCData (HDC hdc)
 Get GL private DC data.
static GLDRIVERDATAROSGL_ICDForHDC (HDC hdc)
 Get ICD from HDC.
DWORD CALLBACK ROSGL_SetContextCallBack (const ICDTable *table)
 SetContextCallBack passed to DrvSetContext.
int APIENTRY rosglChoosePixelFormat (HDC hdc, CONST PIXELFORMATDESCRIPTOR *pfd)
BOOL APIENTRY rosglCopyContext (HGLRC hsrc, HGLRC hdst, UINT mask)
 Copy data specified by mask from one GLRC to another.
HGLRC APIENTRY rosglCreateLayerContext (HDC hdc, int layer)
 Create a new GL Rendering Context.
HGLRC APIENTRY rosglCreateContext (HDC hdc)
 Create a new GL Rendering Context.
BOOL APIENTRY rosglDeleteContext (HGLRC hglrc)
 Delete an OpenGL context.
BOOL APIENTRY rosglDescribeLayerPlane (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nBytes, LPLAYERPLANEDESCRIPTOR plpd)
int APIENTRY rosglDescribePixelFormat (HDC hdc, int iFormat, UINT nBytes, LPPIXELFORMATDESCRIPTOR pfd)
 Gets information about a pixelformat.
HGLRC APIENTRY rosglGetCurrentContext ()
 Return the thread's current GLRC.
HDC APIENTRY rosglGetCurrentDC ()
 Return the thread's current DC.
int APIENTRY rosglGetLayerPaletteEntries (HDC hdc, int iLayerPlane, int iStart, int cEntries, COLORREF *pcr)
int WINAPI rosglGetPixelFormat (HDC hdc)
 Returns the current pixelformat.
PROC APIENTRY rosglGetProcAddress (LPCSTR proc)
 Get the address for an OpenGL extension function.
PROC APIENTRY rosglGetDefaultProcAddress (LPCSTR proc)
BOOL APIENTRY rosglMakeCurrent (HDC hdc, HGLRC hglrc)
 Make the given GLRC the threads current GLRC for hdc.
BOOL APIENTRY rosglRealizeLayerPalette (HDC hdc, int iLayerPlane, BOOL bRealize)
int APIENTRY rosglSetLayerPaletteEntries (HDC hdc, int iLayerPlane, int iStart, int cEntries, CONST COLORREF *pcr)
BOOL WINAPI rosglSetPixelFormat (HDC hdc, int iFormat, CONST PIXELFORMATDESCRIPTOR *pfd)
 Set a DCs pixelformat.
BOOL APIENTRY rosglShareLists (HGLRC hglrc1, HGLRC hglrc2)
 Enable display-list sharing between multiple GLRCs.
BOOL APIENTRY rosglSwapBuffers (HDC hdc)
 Flushes GL and swaps front/back buffer if appropriate.
BOOL APIENTRY rosglSwapLayerBuffers (HDC hdc, UINT fuPlanes)
BOOL APIENTRY rosglUseFontBitmapsA (HDC hdc, DWORD first, DWORD count, DWORD listBase)
BOOL APIENTRY rosglUseFontBitmapsW (HDC hdc, DWORD first, DWORD count, DWORD listBase)
BOOL APIENTRY rosglUseFontOutlinesA (HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, GLYPHMETRICSFLOAT *pgmf)
BOOL APIENTRY rosglUseFontOutlinesW (HDC hdc, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, GLYPHMETRICSFLOAT *pgmf)

Generated on Sun May 27 2012 04:55:46 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.