blob: fb8ce30a0823ba27fe867657130463fcf2486b12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef WMESADEF_H
#define WMESADEF_H
#ifdef __MINGW32__
#include <windows.h>
#endif
#if 0
#include "context.h"
#endif
#include "state_tracker/st_context.h"
#include "state_tracker/st_public.h"
/**
* The Windows Mesa rendering context, derived from GLcontext.
*/
struct wmesa_context {
struct st_context *st;
HDC hDC;
BYTE cColorBits;
};
/**
* Windows framebuffer, derived from gl_framebuffer
*/
struct wmesa_framebuffer
{
struct st_framebuffer *stfb;
HDC hDC;
int pixelformat;
BYTE cColorBits;
HDC dib_hDC;
HBITMAP hbmDIB;
HBITMAP hOldBitmap;
PBYTE pbPixels;
struct wmesa_framebuffer *next;
};
typedef struct wmesa_framebuffer *WMesaFramebuffer;
#endif /* WMESADEF_H */
|