[xserver-commit] xserver/hw/kdrive/vesa vesa.c,1.26.2.3,1.26.2.4
Keith Packard
xserver-commit@pdx.freedesktop.org
Sat, 25 Oct 2003 08:13:22 -0700
- Previous message: [xserver-commit] xserver ChangeLog,3.26.2.11,3.26.2.12
- Next message: [xserver-commit] xserver/hw/xwin Imakefile,1.18,1.19 InitInput.c,1.13,1.14 InitOutput.c,1.35,1.36 X.ico,1.1,1.2 XWin.man,1.7,1.8 XWin.rc,1.2,1.3 _usr_X11R6_lib_X11_system.XWinrc,1.1,1.2 ddraw.h,1.4,1.5 obj_base.h,1.1,1.2 resource.h,1.2,1.3 win.h,1.38,1.39 winallpriv.c,1.12,1.13 winblock.c,1.7,1.8 winclip.c,1.2,1.3 winclipboard.h,1.3,1.4 winclipboardinit.c,1.2,1.3 winclipboardtextconv.c,1.2,1.3 winclipboardthread.c,1.3,1.4 winclipboardunicode.c,1.2,1.3 winclipboardwndproc.c,1.2,1.3 winclipboardxevents.c,1.3,1.4 wincmap.c,1.10,1.11 winconfig.c,1.4,1.5 winconfig.h,1.1,1.2 wincreatewnd.c,1.7,1.8 wincursor.c,1.6,1.7 wincutpaste.c,1.3,1.4 windialogs.c,1.1,1.2 winengine.c,1.5,1.6 winerror.c,1.6,1.7 winfillsp.c,1.10,1.11 winfont.c,1.3,1.4 wingc.c,1.11,1.12 wingetsp.c,1.8,1.9 winkeybd.c,1.13,1.14 winkeybd.h,1.3,1.4 winlayer.c,1.9,1.10 winmisc.c,1.6,1.7 winmouse.c,1.4,1.5 winms.h,1.2,1.3 winmsg.c,1.2,1.3 winmsg.h,1.2,1.3 winmultiwindowclass.c,1.2,1.3 winmultiwindowclass.h,1.2,1.3 winmultiwindowicons.c,1.2,1.3 winmultiwindowshape.c,1.1,1.2 winmultiwindowwindow.c,1.3,1.4 winmultiwindowwm.c,1.3,1.4 winmultiwindowwndproc.c,1.3,1.4 winnativegdi.c,1.15,1.16 winpfbdd.c,1.18,1.19 winpixmap.c,1.11,1.12 winpntwin.c,1.2,1.3 winpolyline.c,1.4,1.5 winprefs.c,1.1,1.2 winprefs.h,1.1,1.2 winprefslex.l,1.1,1.2 winprefsyacc.y,1.1,1.2 winpushpxl.c,1.1,1.2 winregistry.c,1.1,1.2 winrop.c,1.1,1.2 winscrinit.c,1.28,1.29 winsetsp.c,1.8,1.9 winshaddd.c,1.24,1.25 winshadddnl.c,1.26,1.27 winshadgdi.c,1.23,1.24 wintrayicon.c,1.2,1.3 winvideo.c,1.1,1.2 winwakeup.c,1.7,1.8 winwindow.c,1.8,1.9 winwindow.h,1.4,1.5 winwndproc.c,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: keithp
Update of /cvs/xserver/xserver/hw/kdrive/vesa
In directory pdx:/tmp/cvs-serv19085/hw/kdrive/vesa
Modified Files:
Tag: xfixes_2_branch
vesa.c
Log Message:
* hw/kdrive/vesa/vesa.c: (vesaSetShadow), (vesaMapFramebuffer),
(vesaRandRSetConfig), (vesaInitScreen):
Was using byteStride before set in computing off_screen_base
Also a couple of unused variables removed
Index: vesa.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/vesa/vesa.c,v
retrieving revision 1.26.2.3
retrieving revision 1.26.2.4
diff -u -d -r1.26.2.3 -r1.26.2.4
--- vesa.c 24 Oct 2003 09:34:33 -0000 1.26.2.3
+++ vesa.c 25 Oct 2003 15:13:20 -0000 1.26.2.4
@@ -815,7 +815,6 @@
vesaSetShadow (ScreenPtr pScreen)
{
KdScreenPriv(pScreen);
- KdScreenInfo *screen = pScreenPriv->screen;
VesaScreenPrivPtr pscr = pScreenPriv->screen->driver;
ShadowUpdateProc update;
ShadowWindowProc window = 0;
@@ -1006,10 +1005,10 @@
else
{
screen->fb[0].frameBuffer = (CARD8 *) (pscr->fb);
- screen->off_screen_base = screen->fb[0].byteStride * screen->height;
screen->fb[0].byteStride = pscr->mode.BytesPerScanLine;
screen->fb[0].pixelStride = ((pscr->mode.BytesPerScanLine * 8) /
screen->fb[0].bitsPerPixel);
+ screen->off_screen_base = screen->fb[0].byteStride * screen->height;
}
return TRUE;
@@ -1127,7 +1126,6 @@
int oldmmwidth;
int oldmmheight;
int newwidth, newheight;
- PixmapPtr pPixmap;
if (screen->randr & (RR_Rotate_0|RR_Rotate_180))
{
@@ -1273,8 +1271,6 @@
Bool
vesaInitScreen(ScreenPtr pScreen)
{
- KdScreenPriv(pScreen);
-
return TRUE;
}
- Previous message: [xserver-commit] xserver ChangeLog,3.26.2.11,3.26.2.12
- Next message: [xserver-commit] xserver/hw/xwin Imakefile,1.18,1.19 InitInput.c,1.13,1.14 InitOutput.c,1.35,1.36 X.ico,1.1,1.2 XWin.man,1.7,1.8 XWin.rc,1.2,1.3 _usr_X11R6_lib_X11_system.XWinrc,1.1,1.2 ddraw.h,1.4,1.5 obj_base.h,1.1,1.2 resource.h,1.2,1.3 win.h,1.38,1.39 winallpriv.c,1.12,1.13 winblock.c,1.7,1.8 winclip.c,1.2,1.3 winclipboard.h,1.3,1.4 winclipboardinit.c,1.2,1.3 winclipboardtextconv.c,1.2,1.3 winclipboardthread.c,1.3,1.4 winclipboardunicode.c,1.2,1.3 winclipboardwndproc.c,1.2,1.3 winclipboardxevents.c,1.3,1.4 wincmap.c,1.10,1.11 winconfig.c,1.4,1.5 winconfig.h,1.1,1.2 wincreatewnd.c,1.7,1.8 wincursor.c,1.6,1.7 wincutpaste.c,1.3,1.4 windialogs.c,1.1,1.2 winengine.c,1.5,1.6 winerror.c,1.6,1.7 winfillsp.c,1.10,1.11 winfont.c,1.3,1.4 wingc.c,1.11,1.12 wingetsp.c,1.8,1.9 winkeybd.c,1.13,1.14 winkeybd.h,1.3,1.4 winlayer.c,1.9,1.10 winmisc.c,1.6,1.7 winmouse.c,1.4,1.5 winms.h,1.2,1.3 winmsg.c,1.2,1.3 winmsg.h,1.2,1.3 winmultiwindowclass.c,1.2,1.3 winmultiwindowclass.h,1.2,1.3 winmultiwindowicons.c,1.2,1.3 winmultiwindowshape.c,1.1,1.2 winmultiwindowwindow.c,1.3,1.4 winmultiwindowwm.c,1.3,1.4 winmultiwindowwndproc.c,1.3,1.4 winnativegdi.c,1.15,1.16 winpfbdd.c,1.18,1.19 winpixmap.c,1.11,1.12 winpntwin.c,1.2,1.3 winpolyline.c,1.4,1.5 winprefs.c,1.1,1.2 winprefs.h,1.1,1.2 winprefslex.l,1.1,1.2 winprefsyacc.y,1.1,1.2 winpushpxl.c,1.1,1.2 winregistry.c,1.1,1.2 winrop.c,1.1,1.2 winscrinit.c,1.28,1.29 winsetsp.c,1.8,1.9 winshaddd.c,1.24,1.25 winshadddnl.c,1.26,1.27 winshadgdi.c,1.23,1.24 wintrayicon.c,1.2,1.3 winvideo.c,1.1,1.2 winwakeup.c,1.7,1.8 winwindow.c,1.8,1.9 winwindow.h,1.4,1.5 winwndproc.c,1.26,1.27
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]