mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-01 22:03:09 +00:00
fixes: Add panoramix support
Taken from: 583f4dde81d8d5e9101b0289946e1914ea1ee124 With minor style fixes and ported to dixLookupResourceByType. Reviewed-by: Dave Airlie <airlied@gmail.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
1b3c57f075
commit
6dea617e0f
5 changed files with 131 additions and 0 deletions
|
|
@ -53,6 +53,9 @@ Equipment Corporation.
|
|||
#include "servermd.h"
|
||||
#include "resource.h"
|
||||
#include "picturestr.h"
|
||||
#ifdef XFIXES
|
||||
#include "xfixesint.h"
|
||||
#endif
|
||||
#include "modinit.h"
|
||||
#include "protocol-versions.h"
|
||||
|
||||
|
|
@ -581,6 +584,9 @@ void PanoramiXExtensionInit(int argc, char *argv[])
|
|||
ProcVector[X_StoreNamedColor] = PanoramiXStoreNamedColor;
|
||||
|
||||
PanoramiXRenderInit ();
|
||||
#ifdef XFIXES
|
||||
PanoramiXFixesInit ();
|
||||
#endif
|
||||
}
|
||||
|
||||
extern Bool CreateConnectionBlock(void);
|
||||
|
|
@ -882,6 +888,9 @@ static void PanoramiXResetProc(ExtensionEntry* extEntry)
|
|||
int i;
|
||||
|
||||
PanoramiXRenderReset ();
|
||||
#ifdef XFIXES
|
||||
PanoramiXFixesReset ();
|
||||
#endif
|
||||
screenInfo.numScreens = PanoramiXNumScreens;
|
||||
for (i = 256; i--; )
|
||||
ProcVector[i] = SavedProcVector[i];
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ extern _X_EXPORT unsigned long XRT_WINDOW;
|
|||
extern _X_EXPORT unsigned long XRT_PIXMAP;
|
||||
extern _X_EXPORT unsigned long XRT_GC;
|
||||
extern _X_EXPORT unsigned long XRT_COLORMAP;
|
||||
extern _X_EXPORT unsigned long XRT_PICTURE;
|
||||
|
||||
/*
|
||||
* Drivers are allowed to wrap this function. Each wrapper can decide that the
|
||||
|
|
|
|||
Loading…
Reference in a new issue