Commit Graph

73 Commits

Author SHA1 Message Date
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