aoyama
849b02b8d8
Support 8bpp X server on LUNA.
...
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-04 23:49:45 +00:00
aoyama
16c1375008
Fix mmap'ing size for LUNA framebuffer.
...
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@
2023-08-01 11:06:13 +00:00
matthieu
bd36b57990
When no device is provided in the config file, try xf86Info.consoleFd
...
before defaulting to an hard-coded device name. Tested by tobhe@
2022-11-10 17:38:58 +00:00
matthieu
fed98a76a4
Simplify the test on mode in WsfbSaveScreen() and add error checking.
...
Tested by tobhe@
2022-11-10 17:36:42 +00:00
kettenis
e092382511
Handle framebuffers where the first pixel isn't page-aligned. Fixes the
...
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-07-16 21:14:40 +00:00
kettenis
648a8d44df
The color map support in wsfb(4) only supports up to 256 palette entries.
...
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@
2022-02-07 18:38:44 +00:00
kettenis
266de26941
Add support for 30-bit color.
...
ok matthieu@
2021-03-13 14:00:04 +00:00
matthieu
1242f9054e
Remove the (out of date) list of supported architectures.
2020-06-14 07:10:44 +00:00
matthieu
b8401f432f
Compatibility with xserver 1.20
2019-07-27 07:48:19 +00:00
matthieu
b61f69c71c
Replace LoaderGetOS() calls by direct calls to uname(3).
...
In xserver 1.20, LoaderGetOS() is removed. ok and tweak jca@
2019-06-30 17:10:24 +00:00
matthieu
fd18c20e72
regen
2016-10-11 22:14:30 +00:00
matthieu
019c7950c0
Kill duplicate line
2014-07-13 16:12:24 +00:00
matthieu
1a9113d15c
Suppress a bunch of compiler warnings for using constant strings
2014-07-13 15:12:53 +00:00
matthieu
c8694adcb4
regen
2014-07-13 14:26:31 +00:00
matthieu
6336388646
Add $(CWARNFLAGS) to AM_CFLAGS
2014-07-13 14:26:06 +00:00
matthieu
e911b372ff
Sync with recent X.Org template
2014-07-13 14:25:20 +00:00
matthieu
15915e192f
Remove unused variables
2014-07-13 14:09:14 +00:00
matthieu
81ae8bca6f
Remove obsolete #ifdef HAVE_XF1BPP and #ifdef HAVE_XF4BPP blocks,
2014-07-13 14:01:30 +00:00
matthieu
c67ee8fd48
Merge from upstream: the shadow*Weak() functions are going away.
2014-07-13 10:13:19 +00:00
matthieu
66dfb003b6
Do not return FALSE in void function. From drahn@bitrig.
2014-04-15 05:48:38 +00:00
aoyama
8722ac84a6
Add more luna88k-specific initialization to use color wscons and
...
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.
2014-01-15 11:15:59 +00:00
aoyama
08420f85c8
Add monochrome X server support for luna88k.
...
Some luna88k specific quirks are needed in
driver/xf86-video-wsfb/src/wsfb_driver.c for now.
ok matthieu@
2013-07-15 13:23:17 +00:00
matthieu
eb05615134
Remove calls to miInitializeBackingStore() and includes of mibstore.h
...
mibstore.h defines miInitializeBackingStore() as an empty stub, and
goes away in xserver 1.14.
2013-05-12 13:06:24 +00:00
matthieu
bbe9035b7f
regen
2012-09-09 09:48:33 +00:00
matthieu
be737cfaf9
bump to xf86-video-wsfb 0.4.1
2012-09-09 09:48:12 +00:00
matthieu
eaaacd9867
Add compat-api.h for compatibility with xserver 1.13
2012-09-09 09:47:36 +00:00
matthieu
4d84ac9650
regen
2012-01-01 16:11:25 +00:00
matthieu
3e609be865
Bump revision to 0.4.0 to match upstreams release just pushed.
2012-01-01 16:08:39 +00:00
matthieu
dbe9a416bb
Constify wsfb_open() argument.
2012-01-01 16:07:38 +00:00
matthieu
c43c7e4fb2
white space cleanup, copyright update, autotools regen.
2012-01-01 16:04:35 +00:00
matthieu
7d75c22b46
unifdef XFree86LOADER, this isn't optional anymore.
2011-11-05 14:51:18 +00:00
matthieu
40c4e40724
Replace deprecated xalloc/xfree with malloc/free.
2011-11-05 14:40:51 +00:00
matthieu
08c40d6ee1
Add missing headers for ioctl() and getpagesize() prototypes.
2010-08-29 15:20:40 +00:00
matthieu
bf7e77b9fc
XFree86(1) -> __xservername__(1). __xservername__ is a macro that
...
gets replaced by the actual X server (Xorg currently) by the build
system.
2010-08-29 15:05:55 +00:00
matthieu
fcff2a0414
Sync the build system of xf86-video-{wildcatfb,wsfb,wsudl} with upstreams.
...
No functionnal change.
2010-08-29 14:58:23 +00:00
matthieu
dd67e97c72
Fix allocation size of shadow framebuffer. Use byes, not bits.
...
Since the shadowfb is only used for bitsPerPixel >= 8, bitsPerPixel/8
is always the correct amount of bytes. ok miod@.
2010-07-18 20:10:12 +00:00
matthieu
2afd40f212
Do not call shawdowRemove() if shadow fb was disabled.
2010-07-17 17:15:14 +00:00
matthieu
01ee26d198
Recognize WSDISPLAY_TYPE_SMFB
2010-02-04 06:24:47 +00:00
matthieu
098607ee0a
Also update ChangeLog from upstreams.
2009-11-22 18:51:24 +00:00
matthieu
7a884b74e6
Update for resources/RAC API removal and bump to 0.3.0 to follow
...
upstreams numbering.
2009-11-22 18:48:19 +00:00
matthieu
a97527f412
pass the real framebuffer depth to xf86SetDepthBpp() instead of letting
...
it guess. This lets xf86-video-wsfb on TGA framebuffers on alpha
whithout setting weights and fbpp explicitely.
2009-10-19 20:01:30 +00:00
matthieu
aa2fb42def
XF86Config -> xorg.conf in comments.
2009-09-22 22:00:54 +00:00
matthieu
5331f4bab2
Call shadowRemove() in wsfbCloseScreen(). This fixes a free
...
memory dereference on exit. Hint by Daniel Stone. Thanks.
2009-09-13 19:33:49 +00:00
matthieu
1dd9fa7be4
regen
2009-06-01 20:58:16 +00:00
matthieu
dc5e2c7159
Don't call xf1bpp or xf4bpp if they're not present (xorg-server-1.6 & later)
...
From Alan Coopersmith <alan.coopersmith@sun.com >.
2009-06-01 20:57:20 +00:00
matthieu
2a4cf94896
regen
2008-09-29 22:05:12 +00:00
matthieu
64a4da3846
Get rid of the old XFree86 libc wrapper.
2008-09-29 22:04:43 +00:00
matthieu
d7941e9f74
regen with autoconf 2.59p2.
2008-04-09 06:12:30 +00:00
jasper
d9342fa302
add some missing TRACE_EXITs
...
ok matthieu@
2008-01-20 18:45:06 +00:00
jasper
dd0c736739
- tweak and clean up comments
...
ok matthieu@
2008-01-14 08:02:36 +00:00