1999-09-20 20:42:46 +02:00
|
|
|
/*
|
|
|
|
* Thread safe wrappers around xf86dga2 calls.
|
|
|
|
* This file was generated automatically by tools/make_X11wrappers
|
|
|
|
* DO NOT EDIT!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBXXF86DGA2
|
|
|
|
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
#include <X11/extensions/xf86dga.h>
|
|
|
|
|
|
|
|
#include "ts_xf86dga2.h"
|
|
|
|
|
|
|
|
|
|
|
|
Bool TSXDGAQueryVersion(Display* a0, int* a1, int* a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGAQueryVersion( a0, a1, a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXDGAQueryExtension(Display* a0, int* a1, int* a2)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGAQueryExtension( a0, a1, a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
XDGAMode* TSXDGAQueryModes(Display* a0, int a1, int* a2)
|
|
|
|
{
|
|
|
|
XDGAMode* r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGAQueryModes( a0, a1, a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
XDGADevice* TSXDGASetMode(Display* a0, int a1, int a2)
|
|
|
|
{
|
|
|
|
XDGADevice* r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGASetMode( a0, a1, a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXDGAOpenFramebuffer(Display* a0, int a1)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGAOpenFramebuffer( a0, a1);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGACloseFramebuffer(Display* a0, int a1)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGACloseFramebuffer( a0, a1);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGASetViewport(Display* a0, int a1, int a2, int a3, int a4)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGASetViewport( a0, a1, a2, a3, a4);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGAInstallColormap(Display* a0, int a1, Colormap a2)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGAInstallColormap( a0, a1, a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Colormap TSXDGACreateColormap(Display* a0, int a1, XDGADevice* a2, int a3)
|
|
|
|
{
|
|
|
|
Colormap r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGACreateColormap( a0, a1, a2, a3);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGASelectInput(Display* a0, int a1, long a2)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGASelectInput( a0, a1, a2);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGAFillRectangle(Display* a0, int a1, int a2, int a3, unsigned int a4, unsigned int a5, unsigned long a6)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGAFillRectangle( a0, a1, a2, a3, a4, a5, a6);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGACopyArea(Display* a0, int a1, int a2, int a3, unsigned int a4, unsigned int a5, int a6, int a7)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGACopyArea( a0, a1, a2, a3, a4, a5, a6, a7);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGACopyTransparentArea(Display* a0, int a1, int a2, int a3, unsigned int a4, unsigned int a5, int a6, int a7, unsigned long a8)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGACopyTransparentArea( a0, a1, a2, a3, a4, a5, a6, a7, a8);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
int TSXDGAGetViewportStatus(Display* a0, int a1)
|
|
|
|
{
|
|
|
|
int r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGAGetViewportStatus( a0, a1);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGASync(Display* a0, int a1)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGASync( a0, a1);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
Bool TSXDGASetClientVersion(Display* a0)
|
|
|
|
{
|
|
|
|
Bool r;
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
r = XDGASetClientVersion( a0);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGAChangePixmapMode(Display* a0, int a1, int* a2, int* a3, int a4)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGAChangePixmapMode( a0, a1, a2, a3, a4);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void TSXDGAKeyEventToXKeyEvent(XDGAKeyEvent* a0, XKeyEvent* a1)
|
|
|
|
{
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_lock();
|
1999-09-20 20:42:46 +02:00
|
|
|
XDGAKeyEventToXKeyEvent( a0, a1);
|
2000-12-06 01:04:10 +01:00
|
|
|
wine_tsx11_unlock();
|
1999-09-20 20:42:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* defined(HAVE_LIBXXF86DGA2) */
|
|
|
|
|