mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-22 20:35:43 +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 @@
|
|||
#define _FBOVERLAY_H_
|
||||
|
||||
extern int fbOverlayGeneration;
|
||||
extern int fbOverlayScreenPrivateIndex;
|
||||
extern int fbOverlayScreenPrivateIndex; /* XXX should be static */
|
||||
extern int fbOverlayGetScreenPrivateIndex(void);
|
||||
|
||||
#ifndef FB_OVERLAY_MAX
|
||||
#define FB_OVERLAY_MAX 2
|
||||
|
|
@ -58,8 +59,8 @@ typedef struct _fbOverlayScrPriv {
|
|||
} FbOverlayScrPrivRec, *FbOverlayScrPrivPtr;
|
||||
|
||||
#define fbOverlayGetScrPriv(s) \
|
||||
((fbOverlayScreenPrivateIndex != -1) ? \
|
||||
(s)->devPrivates[fbOverlayScreenPrivateIndex].ptr : NULL)
|
||||
((fbOverlayGetScreenPrivateIndex() != -1) ? \
|
||||
(s)->devPrivates[fbOverlayGetScreenPrivateIndex()].ptr : NULL)
|
||||
Bool
|
||||
fbOverlayCreateWindow(WindowPtr pWin);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue