summaryrefslogtreecommitdiff
path: root/driver/xf86-video-wsfb
AgeCommit message (Collapse)Author
2023-08-04Support 8bpp X server on LUNA.Kenji Aoyama
LUNA's frame buffer is 'planar' type, not packed pixel. So use shadowUpdateAfb8 as shadow framebuffer procedure to work 8bpp X server. It took 10 years to make X server colored on LUNA. Originally inspired by NetBSD/amiga. ok miod@
2023-08-01Fix mmap'ing size for LUNA framebuffer.Kenji Aoyama
LUNA's video memory has 'linebytes * fPtr->info.height' bytes per 1 plane and the real visible area begins at 'offset' within that video memory area, so it does not need to add 'offset' when mmap'ing video memory. Noticed by nono emulator. ok miod@
2022-11-10When no device is provided in the config file, try xf86Info.consoleFdMatthieu Herrb
before defaulting to an hard-coded device name. Tested by tobhe@
2022-11-10Simplify the test on mode in WsfbSaveScreen() and add error checking.Matthieu Herrb
Tested by tobhe@
2022-07-16Handle framebuffers where the first pixel isn't page-aligned. Fixes theMark Kettenis
running on the framebuffer of the Apple 14" and 16" Macbook Pro avoiding "the notch". Remove the special case for the LUNA framebuffer now that the offset for the first pixel is passed by the WSDISPLAYIO_GINFO ioctl. ok aoyama@, matthieu@
2022-02-07The color map support in wsfb(4) only supports up to 256 palette entries.Mark Kettenis
However for 30-bit color depth modes, Xorg assumes 1024 palette entries are supported. Since we don't actually support hardware with both 30-bit color depth and hardware palette support, skip the color map handling in that case. This is what the xf86-video-ati driver does as well. This prevents us from smashing the stack. ok matthieu@
2021-03-13Add support for 30-bit color.Mark Kettenis
ok matthieu@
2020-06-14Remove the (out of date) list of supported architectures.Matthieu Herrb
2019-07-27Compatibility with xserver 1.20Matthieu Herrb
2019-06-30Replace LoaderGetOS() calls by direct calls to uname(3).Matthieu Herrb
In xserver 1.20, LoaderGetOS() is removed. ok and tweak jca@
2016-10-11regenMatthieu Herrb
2014-07-13Kill duplicate lineMatthieu Herrb
2014-07-13Suppress a bunch of compiler warnings for using constant stringsMatthieu Herrb
2014-07-13regenMatthieu Herrb
2014-07-13Add $(CWARNFLAGS) to AM_CFLAGSMatthieu Herrb
2014-07-13Sync with recent X.Org templateMatthieu Herrb
2014-07-13Remove unused variablesMatthieu Herrb
2014-07-13Remove obsolete #ifdef HAVE_XF1BPP and #ifdef HAVE_XF4BPP blocks,Matthieu Herrb
2014-07-13Merge from upstream: the shadow*Weak() functions are going away.Matthieu Herrb
2014-04-15Do not return FALSE in void function. From drahn@bitrig.Matthieu Herrb
2014-01-15Add more luna88k-specific initialization to use color wscons andKenji Aoyama
monochrome X server both. Now OpenBSD/luna88k kernel supports color wscons on 4/8bpp frame buffer, but X server only supports 1bpp (monochrome) for now. So change `pseudo' depth by WSDISPLAYIO_SETGFXMODE ioctl while X server is running.
2013-07-15Add monochrome X server support for luna88k.Kenji Aoyama
Some luna88k specific quirks are needed in driver/xf86-video-wsfb/src/wsfb_driver.c for now. ok matthieu@
2013-05-12Remove calls to miInitializeBackingStore() and includes of mibstore.hMatthieu Herrb
mibstore.h defines miInitializeBackingStore() as an empty stub, and goes away in xserver 1.14.
2012-09-09regenMatthieu Herrb
2012-09-09bump to xf86-video-wsfb 0.4.1Matthieu Herrb
2012-09-09Add compat-api.h for compatibility with xserver 1.13Matthieu Herrb
2012-01-01regenMatthieu Herrb
2012-01-01Bump revision to 0.4.0 to match upstreams release just pushed.Matthieu Herrb
2012-01-01Constify wsfb_open() argument.Matthieu Herrb
2012-01-01white space cleanup, copyright update, autotools regen.Matthieu Herrb
2011-11-05unifdef XFree86LOADER, this isn't optional anymore.Matthieu Herrb
2011-11-05Replace deprecated xalloc/xfree with malloc/free.Matthieu Herrb
2010-08-29Add missing headers for ioctl() and getpagesize() prototypes.Matthieu Herrb
2010-08-29XFree86(1) -> __xservername__(1). __xservername__ is a macro thatMatthieu Herrb
gets replaced by the actual X server (Xorg currently) by the build system.
2010-08-29Sync the build system of xf86-video-{wildcatfb,wsfb,wsudl} with upstreams.Matthieu Herrb
No functionnal change.
2010-07-18Fix allocation size of shadow framebuffer. Use byes, not bits.Matthieu Herrb
Since the shadowfb is only used for bitsPerPixel >= 8, bitsPerPixel/8 is always the correct amount of bytes. ok miod@.
2010-07-17Do not call shawdowRemove() if shadow fb was disabled.Matthieu Herrb
2010-02-04Recognize WSDISPLAY_TYPE_SMFBMatthieu Herrb
2009-11-22Also update ChangeLog from upstreams.Matthieu Herrb
2009-11-22Update for resources/RAC API removal and bump to 0.3.0 to followMatthieu Herrb
upstreams numbering.
2009-10-19pass the real framebuffer depth to xf86SetDepthBpp() instead of lettingMatthieu Herrb
it guess. This lets xf86-video-wsfb on TGA framebuffers on alpha whithout setting weights and fbpp explicitely.
2009-09-22XF86Config -> xorg.conf in comments.Matthieu Herrb
2009-09-13Call shadowRemove() in wsfbCloseScreen(). This fixes a freeMatthieu Herrb
memory dereference on exit. Hint by Daniel Stone. Thanks.
2009-06-01regenMatthieu Herrb
2009-06-01Don't call xf1bpp or xf4bpp if they're not present (xorg-server-1.6 & later)Matthieu Herrb
From Alan Coopersmith <alan.coopersmith@sun.com>.
2008-09-29regenMatthieu Herrb
2008-09-29Get rid of the old XFree86 libc wrapper.Matthieu Herrb
2008-04-09regen with autoconf 2.59p2.Matthieu Herrb
2008-01-20add some missing TRACE_EXITsJasper Lievisse Adriaanse
ok matthieu@
2008-01-14- tweak and clean up commentsJasper Lievisse Adriaanse
ok matthieu@