Commit Graph

125 Commits

Author SHA1 Message Date
Daniel Stone
4be9abb850 kdrive: remove ddx_DEPENDENCIES
Remove foo_DEPENDENCIES as they weren't guaranteed to just be libs,
and loader arguments (-lfoo, -Lfoo) might've crept in.
2006-08-09 07:20:16 +03:00
Daniel Stone
02d0910511 new KDrive input world order
Convert KDrive to GPE/GKE interface.
Add first-class drivers and enumerate every device separately through
Xi, instead of lamely attempting to aggregate them.
Add XKB support to the Linux keyboard driver.
Add 'thumb button' support to the tslib driver.
Rejig InitInput, so each DDX has to add a list of drivers it supports.
Support NewInputDeviceRequest, et al.
2006-07-21 15:19:51 -04:00
Keith Packard
8987b2c1ef Make more extensions optional in build (for kdrive). Fix kdrive build for
actual hardware. Fix kdrive pointer signed/unsigned types. Add
    kdrive-required YX rotation functions. Replace rgb text file loading
    with static rgb color table.
2006-02-16 07:17:31 +00:00
Adam Jackson
27d79ab2bc s/XSERVER/KDRIVE/ 2005-12-27 23:03:15 +00:00
Adam Jackson
72817714a0 Remove Imakefiles. 2005-12-27 23:01:27 +00:00
Adam Jackson
7fd73d2953 Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.h 2005-12-27 08:29:50 +00:00
Eric Anholt
75065f3a54 Perform a warnings sweep on hw/kdrive. A number of these were my fault, but
some come from others.
2005-06-09 23:22:55 +00:00
Keith Packard
db2c83551c hw/kdrive/ati/radeon_composite.c Support linear filtering
Change how touch screens work -- make them just another 'mouse' device. Add
    unfinished (and unused) code to accelerate tiled fills.
2005-02-08 22:43:54 +00:00
Phil Blundell
df2f2ff5a4 Re-read "fix" structure from kernel after mode selection, in case line
pitch has changed.
2004-11-28 23:20:17 +00:00
Phil Blundell
0d95bdfbab Only set screen parameters if resolution has changed from current values.
Patch from scoony@noos.fr.
2004-09-14 23:08:10 +00:00
Keith Packard
f15f881727 Eliminate bogus rate check in fbdevModeSupported. Hmm. Potentially bogus
rate selection necessary for Mac fbdev
Don't know about fb changes to pixmaps, so can't track dirt.
Add Mac specific 1280x854 mode. Warn when requested mode isn't found.
Add ability to soft-boot video cards.
Add region expand request. FIXME: need test cases
2004-07-26 17:14:27 +00:00
Phil Blundell
07e6011106 Select optimized
16bpp shadow copy functions if screen is 16bpp. Select -YX versions for
90 and 270 rotations if architecture is ARM.
2004-07-20 14:33:42 +00:00
Keith Packard
7ff67f2872 Separate out off-screen allocation from Init. Fix Enable to update
off-screen addresses. Wrap RandR to update off-screen addresses.
Set off_screen_base and memory_size fields correctly.
2004-06-28 00:48:51 +00:00
Daniel Stone
6af411b02e Hey, I like devfs.
Try /dev/fb/0 if /dev/fb0 fails.
2004-05-28 04:56:49 +00:00
Keith Packard
7124cfaa00 Use current resolution by default, change rate to 75 to match
fbdevModeSupported cut-off (?). Glenn McGrath <glennm@hydrix.com>
2004-05-06 16:19:32 +00:00
Anders Carlsson
ae2454f656 Add support for setting the video mode. 2003-12-01 22:11:12 +00:00
Phil Blundell
e31051ba26 Call KdShadowUnset before fbdevSetShadow. 2003-12-01 21:49:41 +00:00
Eric Anholt
9cdd6fd9e3 - Add fbdev mode-setting backend to Xati. It and vesa are compiled in when
available, with fbdev being used by default.
- Use depth 16 by default when vesa backend is used.
- Add MMIO defines for PowerPC (should be in a common location).
Many thanks for Michel Daenzer for much of this code.
2003-12-01 04:33:36 +00:00
Seth W. Klein
f333581b7b Added infrastructure for driver specific usage messages and added vesa
usage message.
2003-11-18 04:53:16 +00:00
Keith Packard
acd2007705 Clear window when Manual Subwindows redirect is destroyed
Fix Tile/Stipple origin with non-zero pixmap window origins
Use computed depth for TrueColor visuals as fbdev doesn't have one.
2003-11-17 06:54:52 +00:00
Eric Anholt
e9904cefa3 Fix Makefile.am's to include header files needed for distcheck. Remove
-Werror default and add --enable-werror switch to add it back.
2003-11-11 05:46:15 +00:00
Keith Packard
1280f79054 Ok, Composite extension is semi-working; when no-one asks for redirection,
the server seems to act as before. With RedirectSubwindows (root,
    automatic), the server looks just like a regular X server. Now to go
    rewrite the (currently lame) compositing manager to get some real
    action on the screen.
Some of the fixes here are to make valgrind quiet with various ioctls used
    by kdrive/linux.
Also fixed a bug where fbdev initialization was out of order in fbdev.c and
    smi.c
2003-11-07 23:29:29 +00:00
Matthew Allum
598c5d549a tslib improvements 2003-11-06 14:01:46 +00:00
Keith Packard
5378236aa6 merge xfixes_2_branch back to HEAD 2003-11-02 19:56:10 +00:00
Keith Packard
f5916edb17 hw/kdrive/*/Makefile.am Libraries in local dir must not use global path or
make doesn't build things in the right order (-j)
hw/kdrive/mga/mga.h, mgadraw.c Fix warnings
2003-10-15 04:59:45 +00:00
Keith Packard
a398339b6d -Wall fixes 2003-10-14 05:04:22 +00:00
Keith Packard
f74555e942 Add xfixes, fix smi driver to use either fbdev or vesa. Add hole mapping to
vesa server by default
2003-10-09 06:36:26 +00:00
Keith Packard
adc5b8068d Fix fbdev server to allow accelerated servers on top to use RandR. Switch
smi server to fbdev (vesa bios doesnt work on the Acer I have here)
2003-10-05 05:22:35 +00:00
Phil Blundell
f3d8476ced few more fixes for h3600 ts 2003-10-04 02:56:54 +00:00
Keith Packard
5a21f4f4d0 Add XDM cookies. Fix up support for pkgconfig X bits 2003-10-01 06:43:50 +00:00
Matthew Allum
e8c0229647 Added --enable-tslib configure option 2003-09-30 20:15:14 +00:00
Keith Packard
a42384e935 Use other freedesktop.org packages to build the server 2003-09-29 01:42:40 +00:00
Anders Carlsson
85ff67670c Add fbdev server to the build. 2003-09-16 21:07:16 +00:00
Keith Packard
269b9dac5a Get Xvesa building 2003-09-11 05:12:51 +00:00
Keith Packard
283a7f32c4 Update RCS tags, fix keyboard hang on VT switch, fix scroll wheel mice, add
-rawcoord option to not transform mice on rotate, fix mtrr to use
    power-of-two size, add a few vesa options
2003-07-07 19:13:03 +00:00
Keith Packard
612e82053d Clean up touch screen hacks for controlling pointer on alternate screen 2002-11-05 05:28:34 +00:00
Keith Packard
e1c304e22b Add refresh rates to RandR (v1.1) 2002-10-14 18:01:42 +00:00
Keith Packard
a80e1e5aed Update kdrive servers to support reflection 2002-10-03 22:09:04 +00:00
Keith Packard
238a2ec201 Update RandR to 1.0 (library version 2.0) 2002-09-29 23:39:47 +00:00
Keith Packard
28fd5f7525 kdrive: add new auto-detecting and auto-switching mouse driver 2001-10-12 06:33:12 +00:00
Keith Packard
b7eb8a35b5 kdrive: Unmap vesa device when disabled 2001-07-24 19:06:04 +00:00
Keith Packard
79486b3b5c Too many changes, but all in kdrive:
Add support for global screen origins (-origin option), handles both
    Xinerama and mouse crossings.
Fix XV enable/disable sequences -- can't use card wrappers as cards have
    more than one screen.
Change vesa/fbdev to use new depth-independent rotation shadow update
Fix vesa to allow starting rotation value (again)
Make vesa driver write all colormap changes in one INT10 call
2001-07-20 19:35:30 +00:00
Keith Packard
9826d5a133 kdrive/fbdev: only setting first colormap entry on static hardware 2001-07-19 08:46:30 +00:00
Keith Packard
35d8b5f442 kdrive/fbdev: fix static color case 2001-07-16 19:48:00 +00:00
Keith Packard
090a429573 kdrive/fbdev: dont set DPMS mode repeatedly to the same value 2001-07-11 16:42:17 +00:00
Keith Packard
99fb2eb76d Generalize kludge in fbdev that normalizes pixel formats to something that
Render can handle
2001-07-11 05:02:24 +00:00
Keith Packard
66c9184807 Fix screen physical size in RandR code for kdrive fbdev and pcmcia servers 2001-06-21 00:58:51 +00:00
Keith Packard
6d86517b0e Screen flipping broken pointer remapping 2001-06-16 05:53:05 +00:00
Keith Packard
f386ca6c69 Support initial rotation in kdrive/fbdev, use that as the normal
orientation
2001-06-13 19:18:44 +00:00
Keith Packard
4f8254b31f Attempt to make kdrive/fbdev run on static gray hardware (iPaq 3150) 2001-06-05 17:17:39 +00:00
Keith Packard
a4ba10ba6f kdrive/fbdev: RandR initialization sequence change 2001-06-05 16:49:31 +00:00
Keith Packard
54e66d92db Update RandR protocol 2001-06-03 21:52:46 +00:00
Keith Packard
a2bd75d15a Xfbdev: Make sure screen gets re-enabled on RandR failure 2001-05-29 21:55:41 +00:00
Keith Packard
562925c439 Fix Xipaq build after layer/RandR additions 2001-05-29 17:47:55 +00:00
Keith Packard
78b53386b5 Add miext/layer for more complete RandR support in kdrive/Xfbdev 2001-05-29 04:54:13 +00:00
Alan Hourihane
e9314bd34e wrap some stuff around #ifdef TOUCHSCREEN 2001-05-25 07:44:29 +00:00
Alan Hourihane
e6497f39af fix ifdef->if 2001-05-24 19:31:46 +00:00
Alan Hourihane
85d827f532 Add PCMCIA server for HP VGA Out PC Card and the Voyager VGA Card. Use on
the Compaq IPAQ. Use -listmodes to see supported modes. Hack the
    touchscreen driver to work as a mouse pad for the VGA screen. Fixup key
    bindings so xmodmap can remap IPAQ's buttons as mouse buttons.
2001-05-23 08:56:09 +00:00
Keith Packard
f39a62d122 Add Xmuu library to remove requirement for Xt/Xaw from most X utilities Add
i810 and Xv support to kdrive
2001-03-30 02:15:20 +00:00
David Dawes
0aa54b4d40 144. Fix the neomagic driver so that it saves/restores the palette (#4452,
Ken Hornstein).
143. Fix a palette saving bug in the vgahw module (#4452, Ken Hornstein).
142. Fix a typo in Xfbdev.man (#4446, Juliusz Chroboczek).
141. Major updates to the savage driver, including:
- DDC support
- I2C support
- XVideo YUV overlay support for Savage/MX and Savage/IX
- DGA support
- yanks Ani Joshi's depth/bitsPerPixel patch for searching the BIOS
- fixes interactions with frame buffer and SVGATextMode consoles; VT
    switching now seems quite reliable for almost everyone
- yanks unused options
- adds new options for hacks to deal with the status register hangs
- adds one special case memory configuration for Savage 4
- adds support for doublescan modes (320x240 works)
- adds LCD panel detection
- fixes a panning bug at depth 24 (panning must be to even pixels)
- adds a workaround for bugs in the latest ProSavage BIOSes (#4445, 4448,
    Tim Roberts).
140. Make 'X -configure' use the long monitor name when present in the DDC
    info (#4444, Andrew C. Aitchison).
139. Make glxinfo respect $DISPLAY (#4443, Meelis Roos).
138. Fix TrueType font problems in 4.0.2 (#4439, Juliusz Chroboczek).
137. Document the "DisplaySize" keyword in the XF86Config man page (#4438,
    Andrew C. Aitchison).
2001-02-13 21:15:15 +00:00
David Dawes
3dfa6cce99 88. Set the version strings in man pages dynamically (David Dawes).
87. Remove the XF86_VERSION string from xf86Version.h, leaving just the
    numerical values. All the version information is now derived from that
    single set of values (David Dawes).
2001-01-27 18:20:40 +00:00
David Dawes
60c7a912e2 79. Preprocess all man pages to make sure that the references to pages in
sections that are platform-dependent are correct. Also fixed some misc
    formatting problems found while doing that (David Dawes).
2001-01-24 00:06:10 +00:00
David Dawes
a25637fe78 missing ident lines 2000-12-04 21:01:00 +00:00
Keith Packard
1adbdf76a9 kdrive: add Xkdrive/Xfbdev man pages, update Xvesa manual 2000-12-01 00:01:32 +00:00
Keith Packard
b814019be9 kdrive: zero out fbdev screen private as its supposed to be 2000-10-03 17:22:14 +00:00
Keith Packard
e0ccbaab22 kdrive: fix typo initializing touch screen 2000-09-28 20:58:21 +00:00
Keith Packard
6171187e92 kdrive: memory/fd leaks fixed in fbdev/vesa/trident drivers 2000-09-27 20:47:37 +00:00
Keith Packard
94368c3b92 kdrive: Add iPAQ and Touch screen support 2000-09-26 04:31:23 +00:00
Keith Packard
2bbb90ebd9 Changes for PPC support under linux and a few overlay additions 2000-09-22 06:25:29 +00:00
Keith Packard
f7421d8361 Add rotation to fbdev and vesa 2000-09-15 07:25:13 +00:00
Keith Packard
c97fb611dd Rework vesa driver for shadowing and multiple screen support. Allow enable
to fail and avoid crashing
2000-09-03 05:11:46 +00:00
Keith Packard
3731c184d6 Lots of Tiny-X changes:
Add overlay support in the Tiny-X Savage4 driver (required changing lots of
    Tiny-X code). Savage4 now support 8/16, 8/32 overlays.
Add IGS Cyberpro 5050 driver. This chip has bus support for embeded
    systems.
2000-05-06 22:17:53 +00:00
David Dawes
4b54f22b6a remove/disable standard RCS ident lines that are in some files some bindist
updates don't define noPanoramiXExtension when Xinerama is not enabled
    Add xfontsel to programs/Imakefile
2000-02-23 20:30:15 +00:00
Robin Cutshaw
30e35cb44b 3516. Jumbo Tiny-X patch with Itsy support (#3527, Keith Packard). 1999-12-30 03:03:21 +00:00
Dirk Hohndel
f13b792a3a 3336. Fx up new MMIO macros (#3337, Matt Grossman).
3335. Clean up compiler warnings in lib/font/bitmap (#3411, Matt Grossman).
3334. TGA fixes, add sync on green (#3410, Matt Grossman).
3333. Fix NULL pointer dereference in libXaw (#3406, Christopher Sekiya).
3332. Add Rage128 support (#3405, Rik Faith, funded by ATI).
3331. Add MTRR support for NetBSD and OpenBSD. Add new NetBSD aperture
    driver (#3404, Matthieu Herrb).
3330. Xterm patch #121 (#3402, Thomas Dickey).
3329. Rendition driver bugfixes and alpha related cleanups (#3400, Dejan
    Ilic, Marc Langenbach, Egbert Eich).
3328. Add void input device (#3392, Frederic Lepied).
3327. Changed the Xon serial option to be able to select xon/xoff for
    input, output or both. Add support for Graphire models. Change wacom
    init phase to use new Xoff option (#3391, Frederic Lepied).
3326. Change the SwapAxes option to SwapXY in elographics/microtouch driver
    to match an already existing option in the Dynapro driver. Add a Focus
    class capability to the elographics driver (#3395, Patrick Lecoanet).
3325. Update mouse rate handling (#3388, Harald Koenig).
3324. Fix NULL pointer dereference in misprite.c (#3380, Edward Wang).
3323. Add FBDev and ShadowFB support to glint driver. Add new option
    "NoWriteBitmap" (#3383, Michel Daenzer).
3322. Update SuperProbe to handle S3 Savage4, Savage200 and clean up
    Trio3D/Savage3D detection (#3382,3384 Harald Koenig).
3321. Add new framebuffer code and tiny X DDX architecture (#3379, Keith
    Packard).
3320. Add DGA2 documentation (#3378, Mark Vojkovich).
3319. Update XFree86 manpage wrt -bpp/-depth/-fbbpp (#3377, Andy Isaacson).
3318. Make SuperProbe check primary cards, only (#3374, Harald Koenig).
3317. Add SilkenMouse to *BSD (#3373, Matthieu Herrb).
3316. Allow SilkenMouse to work if not all drivers of an OS support SIGIO
    (#3372, Keith Packard).
3315. Fix a few problems in TGA driver and add support for backing store
    and SilkenMouse (#3371, Matt Grossman).
3314. Add smarter scheduler (#3370, Keith Packard).
3313. Xterm patch #120 (#3369, Thomas Dickey).
3312. Enable xf86SetKbdRate function on Solaris 8 (#3364, David Holland).
3311. Fix some bugs and add acceleration to Rendition server (#3360, Dejan
    Ilic).
3310. Make raw DDC information available as properties in the root window
    (#3357, Andrew Aitchison).
3309. Fix for xf86CreateRootWindow (#3355, Andrew Aitchison).
3308. Add manpage for the chips driver (#3353, David Bateman).
3307. Update contact info (#3352, Andrew van der Stock).
3306. Add kbd rate support for Linux (#3363, Harald Koenig).
3305. Update Portuguese XKB map (#3351, Joao Esteves, Francisco Colaco).
3304. Fix text clipping in 3dfx driver (#3349, Henrik Harmsen).
3303. Fix S3 ViRGE hw cursor (#3348, Harald Koenig).
3302. Fix clipping in 3dfx driver (#3342, Daryll Strauss).
3301. Enable SilkenMouse for 3dfx driver (#3341, Henrik Harmsen).
3300. Enable SIGIO support on LynxOS (#3339, Thomas Mueller).
3299. Get TRUE defined in sigio.c. Fix xterm compile problem on ISC (#3338,
    Michael Rohleder).
3298. Correct DPMS suspend/standby modes for 3dfx driver (#3336, Henrik
    Harmsen)
3297. Xterm patch #119 (#3335, Thomas Dickey).
1999-11-19 13:54:06 +00:00