diff options
Diffstat (limited to 'nx-X11/extras/Mesa_6.4.2/src/mesa/drivers/windows/gdi/wmesadef.h')
-rw-r--r-- | nx-X11/extras/Mesa_6.4.2/src/mesa/drivers/windows/gdi/wmesadef.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa_6.4.2/src/mesa/drivers/windows/gdi/wmesadef.h b/nx-X11/extras/Mesa_6.4.2/src/mesa/drivers/windows/gdi/wmesadef.h new file mode 100644 index 000000000..5590c8b7c --- /dev/null +++ b/nx-X11/extras/Mesa_6.4.2/src/mesa/drivers/windows/gdi/wmesadef.h @@ -0,0 +1,33 @@ + +#include "context.h" + +typedef struct _dibSection{ + HDC hDC; + HANDLE hFileMap; + BOOL fFlushed; + LPVOID base; +}WMDIBSECTION, *PWMDIBSECTION; + +typedef struct wmesa_context{ + GLcontext *gl_ctx; /* The core GL/Mesa context */ + GLvisual *gl_visual; /* Describes the buffers */ + GLframebuffer *gl_buffer; /* Depth, stencil, accum, etc buffers*/ + + HDC hDC; + COLORREF clearColorRef; + HPEN clearPen; + HBRUSH clearBrush; + GLuint width; + GLuint height; + GLuint ScanWidth; + GLboolean db_flag; + WMDIBSECTION dib; + BITMAPINFO bmi; + HBITMAP hbmDIB; + HBITMAP hOldBitmap; + PBYTE pbPixels; + BYTE cColorBits; + int pixelformat; +} *PWMC; + + |