mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-29 21:46:40 +00:00
Bug #400 (partial): Driver fixes for the dlloader. When using dlloader, all
framebuffer formats except cfb and the overlay modes should work, and
r128 and radeon need to be loaded from the ati driver (both issues to
be fixed soon). Tested on i740, s3virge, mach64, tdfx, vesa, and vga
drivers. elfloader users shouldn't be affected.
This commit is contained in:
parent
29012adb37
commit
48514fee3c
39 changed files with 234 additions and 107 deletions
|
|
@ -27,7 +27,8 @@ typedef struct {
|
|||
cfb8_32WidOps *WIDOps;
|
||||
} cfb8_32WidScreenRec, *cfb8_32WidScreenPtr;
|
||||
|
||||
extern int cfb8_32WidScreenPrivateIndex;
|
||||
extern int cfb8_32WidScreenPrivateIndex; /* XXX */
|
||||
extern int cfb8_32WidGetScreenPrivateIndex(void);
|
||||
|
||||
Bool
|
||||
cfb8_32WidScreenInit (
|
||||
|
|
@ -88,6 +89,6 @@ Bool
|
|||
cfb8_32WidGenericOpsInit(cfb8_32WidScreenPtr pScreenPriv);
|
||||
|
||||
#define CFB8_32WID_GET_SCREEN_PRIVATE(pScreen)\
|
||||
(cfb8_32WidScreenPtr)((pScreen)->devPrivates[cfb8_32WidScreenPrivateIndex].ptr)
|
||||
(cfb8_32WidScreenPtr)((pScreen)->devPrivates[cfb8_32WidGetScreenPrivateIndex()].ptr)
|
||||
|
||||
#endif /* _CFB8_32WID_H */
|
||||
|
|
|
|||
|
|
@ -36,6 +36,10 @@
|
|||
compiled with CFB_NEED_SCREEN_PRIVATE */
|
||||
|
||||
int cfb8_32WidScreenPrivateIndex;
|
||||
int cfb8_32WidGetScreenPrivateIndex(void)
|
||||
{
|
||||
return cfb8_32WidScreenPrivateIndex;
|
||||
}
|
||||
|
||||
static unsigned long cfb8_32WidGeneration = 0;
|
||||
extern WindowPtr *WindowTable;
|
||||
|
|
|
|||
Loading…
Reference in a new issue