aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/glx/winpriv.h
blob: b3a2c606beab6634b05f63df38ee0a666adfeec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * 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);