Commit Graph

1240 Commits

Author SHA1 Message Date
Eric Anholt
1bbd5e49b1 Bug #5869: Remove traces of EXTMODULE define, which doesn't appear to be
useful any more. (George Fufutos)
2006-02-16 04:59:45 +00:00
Zephaniah E. Hull
c4767794ef Export xf86ActivateDevice, used by the evdev driver. 2006-02-16 01:03:09 +00:00
Eric Anholt
dc0354104c Move EXA implementation up to the top level and remove its XFree86
dependencies. It was nearly abstract enough already to be used by
    multiple DDXes. This will be useful for EXA development through
    providing a fake acceleration implementation within Xephyr, so that
    testing can be done on new EXA code without worrying about buggy
    drivers.
2006-02-16 00:14:11 +00:00
Adam Jackson
f105b8da11 Mark everything in dixsym.c as _X_EXPORT. 2006-02-15 20:44:13 +00:00
Eric Anholt
50e2ff9a25 Remove the waitSync from KdDisableScreen and push it off to drivers'
disableAccel hook, which is more correct anyway. This makes kdrive.c
    not have any knowledge of kaa, opening the way for using exa from
    kdrive.
2006-02-15 03:20:55 +00:00
Benjamin Herrenschmidt
5c9b6f0fb0 DRIGetSecs() would call getsecs() when XFree86LOADER is defined, relying on
the wrappers to provide it. Wrapper gone, and getsecs doesn't exist on
    linux so it now blows up. Fixes it by just calling gettimeofday() in
    all cases instead.
2006-02-14 08:14:42 +00:00
Alan Hourihane
bb8c36690a Bump shadow module version number to 1.1.0 from 1.0.0 2006-02-14 04:20:37 +00:00
Benjamin Herrenschmidt
1a4f20541a Fix linux build without libc wrappers (From Fredrik Höglund) 2006-02-13 04:56:27 +00:00
Benjamin Herrenschmidt
2dc7b5e0d9 Move call to xf86WrapperInit() to OsVendorInit() in xf86Init.c and remove
stubs in other DDX.
2006-02-13 04:43:40 +00:00
Eric Anholt
5f45776ef3 Add missing HAVE_DIX_CONFIG_H which caused issues with mismatched screen
structure interpretations, and remove a bunch of unused junk from
    kdrive-config.h. Xephyr almost works on my amd64.
2006-02-12 10:30:47 +00:00
Eric Anholt
5249416d09 Add stub xf86WrapperInits so that the servers will build even if os/ was
built with XFree86LOADER set.
2006-02-11 22:40:50 +00:00
Alan Coopersmith
a2a5254675 Add <string.h>, <stdlib.h>, and <stdio.h> to clear undefined function
warnings after the removal of libcwrapper headers.
2006-02-11 19:16:51 +00:00
Alan Coopersmith
d6337c8324 <sys/limits.h> -> <limits.h> so we can compile on non-BSD OS'es 2006-02-11 17:42:31 +00:00
Eric Anholt
4fafba61d5 Remove libcwrapper damage from GLX (requires fresh Mesa HEAD), and get it
compiling in kdrive.
2006-02-11 03:03:45 +00:00
Eric Anholt
c3d1403672 Remove libcwrapper usage from xorg server modules. The libcwrapper is only
of (marginal) use in the drivers, and that usage remains.
2006-02-10 22:00:30 +00:00
Eric Anholt
a8cec1b656 Merge from kdrive: use RECT_PRIM to avoid tearing in xvideo. 2006-02-10 09:00:02 +00:00
Eric Anholt
efc3fab7f4 Make kdrive (i.e. Xephyr only) buildable on FreeBSD and probably other OSes
without linux VT switching, fbdev, and vm86 support.
2006-02-10 07:52:05 +00:00
Jeremy C. Reed
0946bb9427 Fix sysmouse handling on DragonFly, mostly garbage arrived. From Joerg
Sonnenberger.
2006-02-03 02:37:52 +00:00
Eric Anholt
5e2a7af23b Move the frequently-repeated code to get the pixmap that backs a drawable
to a new function, exaGetDrawablePixmap().
2006-02-02 21:07:06 +00:00
Eric Anholt
ee3c7ccb17 Remove more debugging leftovers. 2006-02-02 20:51:54 +00:00
Eric Anholt
3366b68365 Rearrange and rename EXA code to be a bit more logically organized. Also
removes a little bit of debugging leftovers. Summary:
exa.c -> exa.c (miscellaneous code) exa_accel.c (all acceleration code)
    exa_migration.c (migration logic) exaasync.c -> exa_unaccel.c (software
    fallbacks) exapict.c -> exa_render.c (render extension stuff)
    exaoffscreen.c -> exa_offscreen.c exaPriv.h -> exa_priv.h
2006-02-02 20:09:14 +00:00
Luc Verhaegen
f4898b4093 Further bug #5386 fixes: Fix some problems with the EDID code: Some
bitoffsets were wrong. Unknown Detailed Sections weren't handled
    properly and defaulted to Detailed Timing.
2006-01-31 14:49:43 +00:00
Luc Verhaegen
437b385ce4 Bring the cvt utility up to date with bug #5386 changes. Fix 2 issues with
the generator routine: the allocated modeline wasn't nulled and
    mode->name's \0 wasn't copied over. PrintModeLine was rewritten and
    HDisplay gets rounded up to character width instead of refused.
2006-01-31 13:55:01 +00:00
Luc Verhaegen
8f3c69dcf1 Accept modes with less than 25% horizontal blanking again (you can push old
gtf timing to below 25%), only stop cvt reduced blanking. Users should
    be free to blow up their monitors if they so choose.
2006-01-31 13:04:02 +00:00
Eric Anholt
dd50015b05 Add libc_wrapper support for random(), which will be used in upcoming EXA
memory manager work.
2006-01-28 02:20:37 +00:00
Eric Anholt
3d1667278f Remove leftover variables for cfb24 build, and finish commenting out Xglx
standalone stuff, which some versions of automake get whiny about.
2006-01-28 00:37:52 +00:00
Alan Hourihane
ab01eb247f update pci ids 2006-01-27 12:27:34 +00:00
Adam Jackson
14fdd81614 Remove xf8_32wid, it's dead code with no maintainer interest. Also remove
cfb24, since xf8_32wid was the only user.
2006-01-25 23:05:26 +00:00
Alan Hourihane
0d9ed2624f Commit #4633 - Initial mouse pointer incorrect with EXA which also fixes
the repaint of the cursor image with randr events.
2006-01-23 22:01:34 +00:00
Dave Airlie
e70b64b930 Updated xgl code drop from Novell + xserver tree changes 2006-01-18 07:15:55 +00:00
Daniel Stone
2949c705f1 Add all subdirs used to DIST_SUBDIRS, and files to EXTRA_DIST.
Attempt to build xeglmodule.c, not xglxmodule.c.
Add xf86Sbus.h to EXTRA_DIST, as _HEADERS doesn't appear to get the same
    treatment as _SOURCES in terms of automatically DISTing.
2006-01-10 03:23:05 +00:00
Daniel Stone
890ec84947 Add xgl to DIST_SUBDIRS. 2006-01-10 02:30:56 +00:00
Adam Jackson
53dbd00a75 Remove remaining #ifdef DPSEXT stanzas. 2006-01-08 23:43:54 +00:00
Adam Jackson
fe0c838b5d Move drawable lock acquisition into DRIClipNotify from DRIValidateTree, so
we only take it when clipping a DRI drawable instead of on every tree
    update. Note drawable lock acquisition per- screen instead of globally,
    and drop it in BlockHandler if necessary.
2006-01-06 18:06:02 +00:00
Adam Jackson
39ce5f1544 Remove unused X11R4 DDX compatibility function miClipNotify. 2006-01-06 17:05:26 +00:00
Eric Anholt
b9c0ae867e Remove the manual AddFilter for convolution, which I'm pretty sure
shouldn't be necessary due to it already happening from
    PictureSetDefaultFilters.
2006-01-03 22:36:46 +00:00
Eric Anholt
1729fc882c Change REGION_INIT(pScreen, &foo, NullBox, 0) to REGION_NULL(pScreen,
&foo). While it is no longer (or rather, once again not) required as of
    regionstr.h r1.4, it matches the style of the rest of the xorg code.
2005-12-31 08:06:00 +00:00
Eric Anholt
c25536a793 Initialize the fourcc value in stack-allocated glitz_pixel_format_t
structures. Greatly reduces the number of uninitialized-value accesses
    during Xgl startup according to valgrind. Allocating and filling these
    in by hand on the stack seems very shady to me.
2005-12-31 08:01:31 +00:00
Eric Anholt
7aa0ea23bc Add an empty all-local target for FreeBSD make's sake, which doesn't deal
with .PHONY.
2005-12-30 04:11:42 +00:00
Adam Jackson
49a9249239 Make kdInputMachine static const, shrinks .data a bit. 2005-12-29 21:11:41 +00:00
Dave Airlie
fc69a2e729 Remove PowerMAX_OS define it never worked , it'll never work again,
finishes running joke of OLS2005
2005-12-29 08:42:49 +00:00
Eric Anholt
d6646307f0 Add necessary *CONFIG_H declarations and a force-off of XF86* extensions in
miinitext in the XGL case. Prevents mismatched structure sizes on my
    _XSERVER64 machine. At this point, with the uncommitted render/ diffs,
    Xglx starts up but displays badly.
2005-12-29 00:19:33 +00:00
Luc Verhaegen
3664c3ebf3 Bug #5153: standalone CVT modeline generator.
- add hw/xfree86/utils/cvt/, cvt.c, cvt.man.pre and Makefile.am.
- Adjust configure.ac and hw/xfree86/utils/Makefile.am for cvt.
- Add MonPtr->reducedblanking and Option "ReducedBlanking" to the Monitor
    section.
- Check for reduced blanking in xf86CheckModeForMonitor and disallow modes
    with less than 25% blanking otherwise.
- Fix some warnings in hw/xfree86/common/xf86Config.c.
2005-12-28 15:22:21 +00:00
Eric Anholt
b1b40ed6a8 Initial commit of XGL build infrastructure and XGL code changes for
building within the xorg server tree. Requires additional, uncommitted
    dix changes to successfully build, and successful running is still yet
    to happen.
2005-12-28 10:31:46 +00:00
Adam Jackson
05c139d4cd Enough build fixes to get {sdl,ephyr,fake} to link. 2005-12-28 10:02:54 +00:00
Dave Airlie
aeb770f645 recommit previous changes to evdev.c 2005-12-28 02:43:50 +00:00
Dave Airlie
ce7c0c8937 some updates for default colormap install 2005-12-28 01:57:11 +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
9dd0af6cb4 Skeletal kdrive build system. Totall non-functional atm. 2005-12-27 08:31:37 +00:00
Adam Jackson
7fd73d2953 Build fixes: XSERVER_LIBS -> KDRIVE_LIBS, config.h -> kdrive-config.h 2005-12-27 08:29:50 +00:00
Adam Jackson
6798fd0170 Bug #4190: Add a rule for 'make relink' since automake sucks. 2005-12-26 19:13:52 +00:00
Adam Jackson
7e3cb9a09a Remove unused layer module. 2005-12-25 22:25:15 +00:00
Dave Airlie
5230e86b1c fix up xglglx.c 2005-12-23 04:13:37 +00:00
Dave Airlie
feb735c5bb Well there were a couple of snapshots later than CVS available outside of
Novell, so I've done a crazy merge to try and get them into a workable
    CVS, I suspect I may have failed.. there is a pre-xgldrop-merge tag if
    I did.
2005-12-23 02:07:58 +00:00
Dave Airlie
ade104ce5a check drawable is available 2005-12-23 01:51:40 +00:00
Dave Airlie
7fb521e80d from davidr's tree update some fixes 2005-12-23 01:50:04 +00:00
Dave Airlie
c88a3145d0 from davidr's tree if source picture defined return 2005-12-23 01:49:21 +00:00
Dave Airlie
c59508566f fix glx up for newest glitz interface 2005-12-23 01:13:28 +00:00
Dave Airlie
d822bc1596 make xgl code at least build against latest glitz. 2005-12-23 00:08:35 +00:00
Dave Airlie
6e2086395d fixups for newer glitz API 2005-12-22 23:32:49 +00:00
Dave Airlie
f3ae42c0fd small fix towards new glitz interface 2005-12-22 23:31:15 +00:00
Eric Anholt
2af7e94eab Adjust the rules for auto-generating some source files, so that they work
on both GNU make and FreeBSD's make.
2005-12-22 13:54:08 +00:00
Adam Jackson
03d37eb038 Bug #5359: Fix a segfault (Mark Kettenis) 2005-12-20 21:34:21 +00:00
Adam Jackson
7b89b643c1 Bug #5116: Refer DRI section details to dri.fd.o. 2005-12-19 16:44:21 +00:00
Alan Coopersmith
3566307c8d Fix typos. 2005-12-19 09:18:29 +00:00
Alan Coopersmith
137447c5f3 Update to 2005-12-14 snapshot from pciids.sf.net 2005-12-15 01:54:45 +00:00
Adam Jackson
f1ba3b4f33 Bug #4718: Command line flag to disable ACPI. 2005-12-14 20:11:16 +00:00
Alan Coopersmith
3666dbb5f3 Remove unnecessary include of dgaproc.h that broke Solaris builds. 2005-12-12 23:33:55 +00:00
Adam Jackson
62f3ef930a Bug #5258: Restore binary compatibility with 6.8.2's PictureRec. (Aaron
Plattner)
2005-12-09 18:35:21 +00:00
Adam Jackson
f4957ee948 Bug #4809: Re-fix that doesn't break distcheck. (Alan Coopersmith) 2005-12-09 18:30:51 +00:00
Adam Jackson
de22d0c226 Fix a thinko so the code matches the comment 2005-12-09 15:30:05 +00:00
Adam Jackson
6fcb049cd0 Bug #1288: Additional refactor of the driver probe logic to keep ati loaded
before atimisc.
2005-12-09 06:49:39 +00:00
Adam Jackson
17ac5e9fec Push the fallback drivers to the end of the list so driver probe order
stays useful.
2005-12-09 05:36:41 +00:00
Adam Jackson
80ea67e379 Bug #4361: Change driver probe logic to read the driver list from disk
instead of using a compile-time array.
2005-12-09 03:59:41 +00:00
Kevin E Martin
26b41ff439 Fix sgml docs build. 2005-12-09 03:02:21 +00:00
Adam Jackson
f9ccebe8c5 Bug #4928: Fix compilation for Alpha. (Stefaan DeRoeck) 2005-12-08 19:27:13 +00:00
Kevin E Martin
008c2dd5e4 Add configure options to allow hard-coded paths to be changed. 2005-12-08 17:55:19 +00:00
Kevin E Martin
39189c2b86 Allow hard-coded paths to be configurable. 2005-12-08 17:54:40 +00:00
Kevin E Martin
20c0ebe7b3 Change to use the app-defaults default dir configured in libXt. 2005-12-07 16:18:02 +00:00
Kevin E Martin
4a39354e14 Change *man_SOURCES ==> *man_PRE to fix autotools warnings. 2005-12-06 22:48:51 +00:00
Alan Coopersmith
26f9c43056 Bugzilla #4809 <https://bugs.freedesktop.org/show_bug.cgi?id=4809> Patch
#3908 <https://bugs.freedesktop.org/attachment.cgi?id=3908> xf8_32wid
    and cfb24 only need to be built on sparc
2005-12-03 17:04:45 +00:00
Kevin E Martin
7c00afd0ec Define XFree86Server only where it is required. 2005-12-02 06:02:45 +00:00
Eric Anholt
ccfaf82367 Bug #5160: Fix the modular build to try to use the same logic for choosing
the architecture/os-specific bus support as monolithic.
2005-12-01 05:04:07 +00:00
Adam Jackson
9c0bd9687f Import libdrm 2.0 2005-11-30 22:59:22 +00:00
Kevin E Martin
da5d66f2ff Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
module builds to reflect this change.
2005-11-29 16:39:33 +00:00
Alan Coopersmith
51a721a6db Change *mandir targets to use new *_MAN_DIR variables set by xorg-macros.m4
update to fix bug #5167 (Linux prefers *.1x man pages in man1 subdir)
2005-11-28 22:05:09 +00:00
Kevin E Martin
381931b15b Add configure option to install libxf86config.a (disabled by default). 2005-11-23 07:14:46 +00:00
Eric Anholt
594ca0966e Bug #5118: Use "rm -f" instead of "$(RM)", which isn't always defined. 2005-11-22 02:11:00 +00:00
Kevin E Martin
63aa96c08a Update pkgconfig files to separate library build-time dependencies from
application build-time dependencies, and update package deps to work
    with separate build roots.
2005-11-19 07:15:50 +00:00
Adam Jackson
d3b6653a28 Bug #4824: Build XTrap support by default, matching monolith. 2005-11-19 03:53:04 +00:00
Eric Anholt
627ac1fe1d Bug #5060: Fix non-Linux DRI on 64 bit post Linux 32/64 changes. 2005-11-18 23:34:04 +00:00
Adam Jackson
e3ec048ff2 Bug #4928: Unbreak Makefile.am for Alpha chips. (Stefan DeRoeck) 2005-11-18 22:43:50 +00:00
Adam Jackson
de95d8ee19 Bug #4859: Don't segfault on bad DDC read. (Tony Houghton) 2005-11-18 18:02:24 +00:00
Kean Johnson
fc81c13e4d Dont prevent SCO platforms for using the default ZAxisMapping now that the
OS layer correctly sends z-axis events when the wheel button is used.
2005-11-14 18:49:30 +00:00
Alan Coopersmith
267cbffa41 Bug #5019 <https://bugs.freedesktop.org/show_bug.cgi?id=5019> xserver
installs manpages into 'man1' instead of 'man1x'
2005-11-13 20:53:24 +00:00
Kevin E Martin
0e7e4c7064 Fix typo to enable DGA support.
EXTMODULE is required to build DGA support into extmod.
2005-11-10 04:59:21 +00:00
Kean Johnson
e4554db8f8 Dont pass wheel mouse buttons as real buttons, map them as Z-Axis movement
on SCO and USL. Re-instate the ZAxisMapping default for the mouse
    driver.
2005-11-10 02:41:20 +00:00
Matthias Hopf
f886e632b8 Bug #4915: ButtonMapping option which allows to define arbitrary button
mappings (including left-handed mouse etc.). Fixed incorrect usage of
    non-reversed, but ZAxisMapped buttons for state detection. Nuked unused
    part of reverseMap.
2005-11-09 17:05:41 +00:00
Kevin E Martin
a25871ae52 DRM 1.0.5 import 2005-11-09 01:00:46 +00:00