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:
Adam Jackson 2004-07-30 20:30:57 +00:00
commit 48514fee3c
39 changed files with 234 additions and 107 deletions

View file

@ -23,7 +23,7 @@
* Author: Keith Packard, SuSE, Inc.
*/
/* $XdotOrg: $ */
/* $XdotOrg: xc/programs/Xserver/fb/fboverlay.c,v 1.3 2004/05/16 05:08:39 alanc Exp $ */
#include "fb.h"
#include "fboverlay.h"
@ -31,6 +31,11 @@
int fbOverlayGeneration;
int fbOverlayScreenPrivateIndex = -1;
int fbOverlayGetScreenPrivateIndex(void)
{
return fbOverlayScreenPrivateIndex;
}
/*
* Replace this if you want something supporting
* multiple overlays with the same depth