mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-17 00:32:57 +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
|
|
@ -19,8 +19,10 @@ typedef struct {
|
|||
} cfb8_32ScreenRec, *cfb8_32ScreenPtr;
|
||||
|
||||
|
||||
extern int cfb8_32GCPrivateIndex;
|
||||
extern int cfb8_32ScreenPrivateIndex;
|
||||
extern int cfb8_32GCPrivateIndex; /* XXX */
|
||||
extern int cfb8_32GetGCPrivateIndex(void);
|
||||
extern int cfb8_32ScreenPrivateIndex; /* XXX */
|
||||
extern int cfb8_32GetScreenPrivateIndex(void);
|
||||
|
||||
void
|
||||
cfb8_32SaveAreas(
|
||||
|
|
@ -212,10 +214,10 @@ cfb8_32ChangeWindowAttributes(
|
|||
|
||||
|
||||
#define CFB8_32_GET_GC_PRIVATE(pGC)\
|
||||
(cfb8_32GCPtr)((pGC)->devPrivates[cfb8_32GCPrivateIndex].ptr)
|
||||
(cfb8_32GCPtr)((pGC)->devPrivates[cfb8_32GetGCPrivateIndex()].ptr)
|
||||
|
||||
#define CFB8_32_GET_SCREEN_PRIVATE(pScreen)\
|
||||
(cfb8_32ScreenPtr)((pScreen)->devPrivates[cfb8_32ScreenPrivateIndex].ptr)
|
||||
(cfb8_32ScreenPtr)((pScreen)->devPrivates[cfb8_32GetScreenPrivateIndex()].ptr)
|
||||
|
||||
Bool xf86Overlay8Plus32Init (ScreenPtr pScreen);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue