aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/winpriv.h
blob: 0b19c8c3ff4fee0aca571a1fc13aedf9f8b8db53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Export window information for the Windows-OpenGL GLX implementation.
 *
 * Authors: Alexander Gottwald
 */

#include <X11/Xwindows.h>
#include <windowstr.h>

#define WIN_GL_WINDOW_CLASS "XWinGLTest"

typedef struct
{
    HWND    hwnd;
    HRGN    hrgn;
    RECT    rect;
} winWindowInfoRec, *winWindowInfoPtr;

void winGetWindowInfo(WindowPtr pWin, winWindowInfoPtr pWinInfo);
Bool winCheckScreenAiglxIsSupported(ScreenPtr pScreen);