aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxscreens.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-03-23 10:05:55 +0100
committermarha <marha@users.sourceforge.net>2012-03-23 10:05:55 +0100
commit0f834b91a4768673833ab4917e87d86c237bb1a6 (patch)
tree363489504ed4b2d360259b8de4c9e392918e5d02 /xorg-server/glx/glxscreens.h
parentfc72edebf875378459368c5383d9023730cbca54 (diff)
downloadvcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.gz
vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.tar.bz2
vcxsrv-0f834b91a4768673833ab4917e87d86c237bb1a6.zip
libX11 xserver fontconfig mesa pixman xkbcomp xkeyboard-config git update
23 Mar 2012
Diffstat (limited to 'xorg-server/glx/glxscreens.h')
-rw-r--r--xorg-server/glx/glxscreens.h53
1 files changed, 25 insertions, 28 deletions
diff --git a/xorg-server/glx/glxscreens.h b/xorg-server/glx/glxscreens.h
index eb2926045..d5420ee8d 100644
--- a/xorg-server/glx/glxscreens.h
+++ b/xorg-server/glx/glxscreens.h
@@ -41,10 +41,10 @@ struct __GLXconfig {
GLuint doubleBufferMode;
GLuint stereoMode;
- GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */
+ GLint redBits, greenBits, blueBits, alphaBits; /* bits per comp */
GLuint redMask, greenMask, blueMask, alphaMask;
- GLint rgbBits; /* total bits for rgb */
- GLint indexBits; /* total bits for colorindex */
+ GLint rgbBits; /* total bits for rgb */
+ GLint indexBits; /* total bits for colorindex */
GLint accumRedBits, accumGreenBits, accumBlueBits, accumAlphaBits;
GLint depthBits;
@@ -67,7 +67,7 @@ struct __GLXconfig {
/* EXT_visual_info / GLX 1.2 */
GLint transparentPixel;
- /* colors are floats scaled to ints */
+ /* colors are floats scaled to ints */
GLint transparentRed, transparentGreen, transparentBlue, transparentAlpha;
GLint transparentIndex;
@@ -85,8 +85,8 @@ struct __GLXconfig {
GLint maxPbufferWidth;
GLint maxPbufferHeight;
GLint maxPbufferPixels;
- GLint optimalPbufferWidth; /* Only for SGIX_pbuffer. */
- GLint optimalPbufferHeight; /* Only for SGIX_pbuffer. */
+ GLint optimalPbufferWidth; /* Only for SGIX_pbuffer. */
+ GLint optimalPbufferHeight; /* Only for SGIX_pbuffer. */
/* SGIX_visual_select_group */
GLint visualSelectGroup;
@@ -113,21 +113,19 @@ GLint glxConvertToXVisualType(int visualType);
*/
typedef struct __GLXscreen __GLXscreen;
struct __GLXscreen {
- void (*destroy) (__GLXscreen *screen);
-
- __GLXcontext *(*createContext) (__GLXscreen *screen,
- __GLXconfig *modes,
- __GLXcontext *shareContext);
-
- __GLXdrawable *(*createDrawable)(ClientPtr client,
- __GLXscreen *context,
- DrawablePtr pDraw,
- XID drawId,
- int type,
- XID glxDrawId,
- __GLXconfig *modes);
- int (*swapInterval) (__GLXdrawable *drawable,
- int interval);
+ void (*destroy) (__GLXscreen * screen);
+
+ __GLXcontext *(*createContext) (__GLXscreen * screen,
+ __GLXconfig * modes,
+ __GLXcontext * shareContext);
+
+ __GLXdrawable *(*createDrawable) (ClientPtr client,
+ __GLXscreen * context,
+ DrawablePtr pDraw,
+ XID drawId,
+ int type,
+ XID glxDrawId, __GLXconfig * modes);
+ int (*swapInterval) (__GLXdrawable * drawable, int interval);
ScreenPtr pScreen;
@@ -150,16 +148,15 @@ struct __GLXscreen {
* Since the GLX version advertised by the server is for the whole server,
* the GLX protocol code uses the minimum version supported on all screens.
*/
- /*@{*/
+ /*@{ */
unsigned GLXmajor;
unsigned GLXminor;
- /*@}*/
+ /*@} */
- Bool (*CloseScreen)(int index, ScreenPtr pScreen);
+ Bool (*CloseScreen) (int index, ScreenPtr pScreen);
};
+void __glXScreenInit(__GLXscreen * screen, ScreenPtr pScreen);
+void __glXScreenDestroy(__GLXscreen * screen);
-void __glXScreenInit(__GLXscreen *screen, ScreenPtr pScreen);
-void __glXScreenDestroy(__GLXscreen *screen);
-
-#endif /* !__GLX_screens_h__ */
+#endif /* !__GLX_screens_h__ */