Commit Graph

325 Commits

Author SHA1 Message Date
Matthieu Herrb d921173833 define SYS_LIBS to hold system dependant libraries that may needed. and add
it to libraries list where needed. Update ChangeLog for previous
    changes too
2006-03-05 16:35:08 +00:00
Matthieu Herrb 4335868476 Fix build with non GNU make. 2006-03-05 16:13:21 +00:00
Ian Romanick 96ca329382 Remove redundant definition of struct Inst. Safeguard xf86AddDriver against
future additions to DriverRec.
2006-02-28 23:07:09 +00:00
Daniel Stone 1cfa9f647e Bug #5216: Allow options to appear with other components. 2006-02-28 16:55:26 +00:00
Adam Jackson e3b6b95f29 Bug #5627: Fix Xprint font symlinking. (TIlman Sauerbeck) 2006-02-28 16:26:16 +00:00
Alan Coopersmith 345d99c972 Typo fixes (Nicholas Joly, XFree86 bugzilla #1658) 2006-02-27 16:19:39 +00:00
Roland Scheidegger f41ec003f3 Add two radeon pci ids (one is used for a radeon mobility X700 XL in a
medion notebook, the other is for a AIW X800 VE)
2006-02-25 01:17:10 +00:00
Matthieu Herrb 01a0bf881a OpenBSD supports PCVT and WSCONS. PCCONS is long gone. 2006-02-24 17:01:57 +00:00
Adam Jackson 5d9a620726 Remove redundant composite op reduction, done in Render now. 2006-02-23 19:25:57 +00:00
Alexander Gottwald 028d6903f6 Bug #5978: Added missing swap of input variables. Added missing cases for
GL_SECONDARY_COLOR_ARRAY and GL_FOG_COORD_ARRAY (Colin McDonald)
2006-02-22 16:29:07 +00:00
Alexander Gottwald 43324132af Added Mesa include directory 2006-02-22 16:08:56 +00:00
Jeremy C. Reed 43fbcc28c9 Update to build against Mesa HEAD. (Thank you Felix for feedback on xorg
list.)
2006-02-22 02:47:00 +00:00
Ian Romanick cfdacab33a Eliminate unused PCI BIOS reading functionality. The old code used several
function pointers to implement a level of flexability that was never
    used. The code also had unused support for extracting a single image
    type from a larger expansion ROM.
Fix the spelling of PCI_BIOS_OPEN_FIRMWARE.
Fix a couple errors in #ifdef debug code.
These changes have been tested on x86 and x86-64 Linux.
2006-02-21 00:02:08 +00:00
Ian Romanick 5fd0f94006 Eliminate all the code for querying the PCI class from the PCI ID database.
Class information is not, and never has been, stored there. Therefore,
    this is just a bunch of elaborate code to read 0x00000000.
This has received testing on x86 and x86-64 Linux.
2006-02-20 23:45:50 +00:00
Adam Jackson 6d7083bd69 indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
Adam Jackson 5480c537ce ANSIfy Xi/. Mostly automated via protoize(1). 2006-02-20 21:50:49 +00:00
Eric Anholt ed3ea887a6 Fix the encoding of DES's name. 2006-02-16 21:49:51 +00:00
Eric Anholt ea0b3f65f7 Fix build of Xorg by putting xf86bigfont back into builtin instead of
module sources list.
2006-02-16 21:45:12 +00:00
Eric Anholt d97f29be22 Bug #5453: Don't forget to still do AM_CONDITIONAL for XVMC even if XV is
disabled, and also force XVMC disabled if XV is disabled. (Dag-Erling
    Sm�rgrav)
2006-02-16 21:35:32 +00:00
Keith Packard 60d4839a2d Forgot to include this file in previous patch 2006-02-16 19:03:07 +00: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
Benjamin Herrenschmidt c8acb34269 Fix an occasional crash on VT switches: the server would save a pointer to
the current cursor when disabling FB access and would try to restore
    that cursor when re-enabling. However, that cursor might have been
    destroyed in between. This fixes it by updating the saved cursor
    pointer when a cursor is set and vtSema is FALSE.
2006-02-16 06:52:12 +00:00
Eric Anholt c845e152f5 Bug #5871: Drop special build infrastructure left over from libcwrapper
times. (George Fufutos)
2006-02-16 05:46:08 +00:00
Dave Airlie c2f685e644 Fix XSERVER64 should be _XSERVER64 2006-02-16 05:18:20 +00:00
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
Eric Anholt c03b06bdf0 Bug #5888: Remove orphaned laymodule.c from miext/layer removal. (George
Fufutos)
2006-02-16 04:39:00 +00:00
Eric Anholt 3b32e902c7 Add entry missed in my last commit. 2006-02-16 01:49:23 +00:00
Zephaniah E. Hull c4767794ef Export xf86ActivateDevice, used by the evdev driver. 2006-02-16 01:03:09 +00:00
Eric Anholt 6770f1bdb1 Define NO_LIBCWRAPPER in dix-config.h, and rely on Mesa including
dix-config.h if DIX_HAVE_CONFIG_H is defined to get it and _XSERVER64,
    instead of defining things like this per directory.
2006-02-15 21:09:14 +00:00
Adam Jackson 7d7fc927cd Remove a few #ifdef vms; whatever problem that was solving should assuredly
be solved some other way.
2006-02-15 20:47:44 +00:00
Adam Jackson f105b8da11 Mark everything in dixsym.c as _X_EXPORT. 2006-02-15 20:44:13 +00:00
Adam Jackson 010d6effa6 Mark everything in {ext,font}sym.c as _X_EXPORT. 2006-02-15 19:15:32 +00:00
Adam Jackson 3fe482c77e Mark everything in misym.c as _X_EXPORT. 2006-02-15 19:05:55 +00:00
Kristian Høgsberg 6ad4325b87 Update to build against mesa head. 2006-02-15 18:26:45 +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
Eric Anholt 0446aafa94 Avoid some more libcwrapper damage that prevented kdrive linking. 2006-02-15 03:07:23 +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
Benjamin Herrenschmidt 049dca0f43 Remove useless line of code that contained a bug and triggered a gcc
warning. This variable will be overriden before being used anyway.
    (Bugzilla #5595)
2006-02-14 08:11:41 +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
Adam Jackson cc9dfab0b3 (Reverted) 2006-02-13 18:57:38 +00:00
Adam Jackson 4a7f6f53ca Further op reduction when both src and dst alpha are absent. 2006-02-13 18:09:51 +00:00
Eric Anholt 28ced9f3e0 Add missing ChangeLog text for r1.2 of GL/glx/indirect_reqsize.h 2006-02-13 05:29:00 +00:00
Benjamin Herrenschmidt 4839e91fca HAS_MKSTEMP vs. HAVE_MKSTEMP (From Fredrik Höglund) 2006-02-13 05:03:13 +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 34d0b9228f Simplify ops that would use the alpha channel when an alpha channel is
always 1.0, and short circuit PictOpDst for good measure.
2006-02-12 20:53:35 +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 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
Eric Anholt fa3a65e33d Remove the include of X11/misc.h, which fails to compile and isn't
necessary.
2006-02-10 07:47:21 +00:00
Jeremy C. Reed d875bdb275 hw/xfree86/os-support/xf86_OSlib.h Fix sysmouse handling on DragonFly,
mostly garbage arrived. From Joerg Sonnenberger.
2006-02-03 02:44:19 +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
Alan Hourihane 2ab487d4d2 Add a new function RRGetRotation() which does exactly the same thing as
xf86GetRotation(), but allows for drivers to provide their own RandR
    implementation. xf86GetRotation could be obsoleted by this change.
2006-02-01 22:20:05 +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
Donnie Berkholz 701b63cf1d Update to build against Mesa trunk. 2006-01-30 20:04:56 +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
Alan Hourihane 261aa4403c remove that, and will put it in a i810 driver specific Changelog 2006-01-26 09:04:22 +00:00
Alan Hourihane 94e678fd01 add changelog for i810 updates 2006-01-26 08:49:19 +00:00
Donnie Berkholz c5e9318290 Really allow linking against Mesa trunk to work. 2006-01-26 04:32:45 +00:00
Adam Jackson 0dc0f17f27 Speed up checkout and autogen by removing disused iplan2p4 and ilbm. 2006-01-26 04:10:43 +00:00
Daniel Stone 023d2b4e3c Add forgotten HAVE_BACKTRACE define. 2006-01-26 00:23:44 +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
Daniel Stone 03ebd37bab Make error() bomb with exit code 1, not 0. 2006-01-19 12:25:01 +00:00
Eric Anholt adce1f16e0 Only try to use byteswap.h on linux. Assume that everyone else (thinking of
BSDs here) has sys/endian.h, and use macros as appropriate for the
    names. This should probably be in a gloabl header.
2006-01-19 00:06:57 +00:00
Adam Jackson 1c3f8727b2 More kdrive merge, fast path fbBlt to use memcpy() when possible. Good for
-5% to 60% speedup on XGetImage, and 0% to 10% speedup on copies within
    host memory. Based on work by Jaymz Julian.
2006-01-18 19:42:56 +00:00
Dave Airlie e70b64b930 Updated xgl code drop from Novell + xserver tree changes 2006-01-18 07:15:55 +00:00
Dave Airlie 506eca5f57 Wrap sdk_HEADERS in if XORG as otherwise installing non-xorg servers
breaks.
2006-01-18 06:56:52 +00:00
Dave Airlie 8ccf4f2b8f This is a fix from David Reveman from the xserver tree, Make fbPadPixmap
work with negative stride
2006-01-18 06:49:17 +00:00
Søren Sandmann Pedersen c2dedf4d17 Thu Jan 12 17:09:18 2006 Søren Sandmann <sandmann@redhat.com>
Add new functions to enable and disable events on Map and Unmap.
Use them here to make sure Composite redirect doesn't cause Map/UnmapNotify
    events that would confuse window managers.
2006-01-12 22:14:56 +00:00
Ian Romanick 847d83ec3c Bug #2996: libglx / libGLcore should use a dispatch table
Port all changes from the (monolithic) accelerated_indirect-0-0-1 branch to
    the modular trunk. This will break the Darwin and cygwin builds. Other
    than the changes to symlink-mesa.sh and the various Makefile.am files,
    to code is identical to what's in the branch.
Reviewed by: airlied, krh
2006-01-12 00:21:59 +00:00
Daniel Stone c56e9a8849 Bomb when symlink-mesa.sh continues, instead of silently failing. 2006-01-10 03:24:53 +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
Adam Jackson 53dbd00a75 Remove remaining #ifdef DPSEXT stanzas. 2006-01-08 23:43:54 +00:00
Adam Jackson 9d62d1e690 Bug #5218: Don't crash on unconfigured interfaces. (Andrei Barbu) 2006-01-07 00:45:17 +00:00
Adam Jackson 13c9e0c094 Bug #5525: Build a working Xprt. (Drew Parsons) 2006-01-06 23:06:15 +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 07ecb969d7 Forced commit to note that glyph privates commit was:
Obtained from: xserver tree (David Reveman)
2006-01-04 03:29:15 +00:00
Eric Anholt b6b88d2f62 Correct rounding in divide-by-255 code. Obtained from xserver. 2006-01-04 00:05:16 +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 601ab861b4 Add glyph privates for Xgl, which uses them to implement a glyph cache. EXA
would probably also like to do this. This breaks module ABI for EXA and
    XAA, and likely breaks proprietary drivers as well.
2006-01-03 22:06:23 +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 e6dab3d7c4 Fix the AC_TRY_RUN for sys/linker.h which had no hope due to lacking a
main() to instead use a nice AC_CHECK_HEADERS that works. Also, fix the
    nearby SYSV IPC check which was lacking an argument and giving bogus
    results (it's "AC_TRY_LINK(includes, main, yes, no)").
2005-12-30 12:05:47 +00:00
Eric Anholt eef16c36ad Add #undef BSD44SOCKETS, without which the listener socket on FreeBSD would
be created without the port number due to xtrans's define not being
    used when xtrans was compiled in the X Server.
2005-12-30 05:44:14 +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
Adam Jackson 6d7ee4167d Style fix, make SCREEN_EPILOGUE two arguments instead of three. 2005-12-29 20:54:08 +00:00
Adam Jackson 858b4bc14a missed changelog entry:
Enough build fixes to get {sdl,ephyr,fake} to link.
2005-12-29 20:38:29 +00:00
Adam Jackson 54922aeadb Disable building LBX by default. 2005-12-29 20:29:26 +00:00