Module Name: xsrc Committed By: martin Date: Sun Jul 26 10:56:19 UTC 2020
Modified Files: xsrc/external/mit/xorg-server.old/dist/fb [netbsd-9]: fb.h fbcmap_mi.c fbscreen.c xsrc/external/mit/xorg-server/dist/fb [netbsd-9]: fb.h fbcmap_mi.c fbscreen.c Log Message: Pull up following revision(s) (requested by tsutsui in ticket #1027): external/mit/xorg-server/dist/fb/fbcmap_mi.c: revision 1.2 external/mit/xorg-server.old/dist/fb/fbscreen.c: revision 1.2 external/mit/xorg-server.old/dist/fb/fb.h: revision 1.2 external/mit/xorg-server/dist/fb/fb.h: revision 1.2 external/mit/xorg-server/dist/fb/fbscreen.c: revision 1.2 external/mit/xorg-server.old/dist/fb/fbcmap_mi.c: revision 1.2 Fix 1bpp Xservers on "whitePixel=0, blackPixel=1" VRAMs. - Don't override pScreen->blackPixel and pScreen->whitePixel (set in MD server Init functions per -filpPixels option) on 1bpp servers in merged fbSetupScreen() (merged one from cfbSetupScrenn and mfbSetupScreen() in old xsrc/xfree) - Pull mfbCreateColormap() function from old xsrc/xfree tree and use it on 1bpp servers Required by forthcoming X11R7'fied ancient Xsun and XsunMono servers: https://mail-index.netbsd.org/port-sun3/2020/07/17/msg000157.html Without these fixes, mouse pointers and twm window titlebar etc. are rendered inverted. Pull 1bpp server fixes from xorg-server.old: https://mail-index.netbsd.org/source-changes/2020/07/18/msg119488.html Confirmed on luna68k 1bpp Xorg 1.20 server using xf86-video-wsfb with "-flipPixels" option. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.1.1.1.4.1 \ xsrc/external/mit/xorg-server.old/dist/fb/fb.h \ xsrc/external/mit/xorg-server.old/dist/fb/fbcmap_mi.c \ xsrc/external/mit/xorg-server.old/dist/fb/fbscreen.c cvs rdiff -u -r1.1.1.6 -r1.1.1.6.2.1 \ xsrc/external/mit/xorg-server/dist/fb/fb.h \ xsrc/external/mit/xorg-server/dist/fb/fbscreen.c cvs rdiff -u -r1.1.1.5 -r1.1.1.5.4.1 \ xsrc/external/mit/xorg-server/dist/fb/fbcmap_mi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.