move mesa32 over to new dir
[reactos.git] / reactos / lib / mesa32 / src / drivers / windows / gdi / wmesadef.h
1
2 #include "context.h"
3
4 typedef struct _dibSection{
5 HDC hDC;
6 HANDLE hFileMap;
7 BOOL fFlushed;
8 LPVOID base;
9 }WMDIBSECTION, *PWMDIBSECTION;
10
11 typedef struct wmesa_context{
12 GLcontext *gl_ctx; /* The core GL/Mesa context */
13 GLvisual *gl_visual; /* Describes the buffers */
14 GLframebuffer *gl_buffer; /* Depth, stencil, accum, etc buffers*/
15
16 HWND Window;
17 HDC hDC;
18 COLORREF clearColorRef;
19 HPEN clearPen;
20 HBRUSH clearBrush;
21 GLuint width;
22 GLuint height;
23 GLuint ScanWidth;
24 GLboolean db_flag;
25 WMDIBSECTION dib;
26 BITMAPINFO bmi;
27 HBITMAP hbmDIB;
28 HBITMAP hOldBitmap;
29 PBYTE pbPixels;
30 BYTE cColorBits;
31 int pixelformat;
32 } *PWMC;
33
34