Commit Graph

516 Commits

Author SHA1 Message Date
Adam Jackson
116d158e85 Coverity #269: Compare the requested ABI class against the ABI class of the
module, not the module class.
2006-03-15 16:16:24 +00:00
Adam Jackson
d8221a9b70 Coverity #484: Fix an off-by-one in module refcounting. 2006-03-15 16:11:34 +00:00
Adam Jackson
6bb2dc02a7 Coverity #337: Remove useless NULL check. 2006-03-15 16:01:47 +00:00
Adam Jackson
1e5c0842af Coverity #1053: Nuke a dead variable. 2006-03-15 15:34:57 +00:00
Benjamin Herrenschmidt
7314d16cde Fix DRIExtensionInit() to not register callbacks when it hasn't been
initialized for the current server generation. Fixes a problem where it
    would use stale private index and blow up in colorful ways if no driver
    called DRIScreenInit() on the second generation (which happens due to a
    bug in radeon that i'll fix separately). Note: clearing the index in
    DRIReset() wouldn't work as DRIReset() is called before the
    CloseScreen() chain
2006-03-15 03:18:42 +00:00
Benjamin Herrenschmidt
02d80a0de9 Make xf86 linear allocator smarter when dealing with alignment constraints
when falling back to X/Y allocations. Fixes various problems of Xv
    allocation failures, notably with "nv" driver.
2006-03-15 03:12:32 +00:00
Eric Anholt
c1601717d5 Add a new migration scheme, "always", which will move pixmaps to their
desired location always (unless they don't fit in FB, in which case
    they all get moved out for software rendering). The default remains as
    before, but can be controlled by the MigrationHeuristic xorg.conf
    option (which is intentionally not documented, as it may be
    short-lived). This is part of the exa-damagetrack work, which appears
    stable in testing with fakexa, unlike the work as a whole.
2006-03-15 01:20:08 +00:00
Eric Anholt
a90cff266c Add more doxygen documentation, including notes on WaitMarker() and
MarkSync() that I noticed were needed while reading the VIA driver.
2006-03-15 00:13:52 +00:00
Eric Anholt
693e42114f Move migration logic to a new function, exaDoMigration(). This is largely a
manual conversion to allow for different migration schemes to be
    implemented reasonably, but does include some minor improvements such
    as accounting for pinned pixmaps not being acceleratable, and for our
    current GetImage and GetSpans not being accelerated.
2006-03-14 21:30:12 +00:00
Eric Anholt
d309054780 Pull code for getting the (0,0) pixel from a pixmap out to a separate
function, since it gets repeated (with bad error handling, in one
    case).
2006-03-14 20:38:06 +00:00
Kristian Høgsberg
01aa209f20 Bail out early if screen doesn't support DRI. 2006-03-14 19:32:27 +00:00
Deron Johnson
0cc34266d6 Updated ChangeLog for my latest composite and xfixes changes. 2006-03-13 22:43:42 +00:00
Kristian Høgsberg
e5956f49b2 First batch of AIGLX fixes from David Reveman.
Add getter for Mesa provider.
Export this for Xgl.
Move resource tracking out of drawable constructor to allow wrapping.
Use corrent reply size #define.
Add this function. (DoGetDrawableAttributes): Fix array length.
2006-03-13 01:54:59 +00:00
Matthieu Herrb
eb63e50d95 Fix build when AIGLX is false. 2006-03-12 17:14:03 +00:00
Eric Anholt
9ed3463450 Improve doxygen formatting, and attempt to clarify the 1:1 ratio of
successful PrepareCopy()s to DoneCopy()s.
2006-03-12 03:04:52 +00:00
Eric Anholt
9a7fba5fd0 Make exaCopyNtoNTwoDir() call DoneCopy() at the end of each string of
consecutive Copy() calls (rather than exactly once at the end of the
    function).
Reviewed by: jbarnes
2006-03-12 03:02:26 +00:00
Kristian Høgsberg
c3342c8000 Merge accel_indirect branch to HEAD. 2006-03-12 00:11:34 +00:00
Alan Coopersmith
b1b731c286 Fix buffer size checks to prevent 2-byte buffer overflows. (Coverity #480,
#481, #482, #483)
2006-03-11 02:43:51 +00:00
Alan Coopersmith
fc0772de36 Add HAS_MMAP for Xvfb
Fix Xvfb option parsing to exit on bad arguments, not just issue error
    messages and continue on. (Coverity #492)
2006-03-11 02:10:14 +00:00
Alan Coopersmith
f2ecbb3018 Pass sizeof the correct buffer to XmuSnprintf. (Coverity #489) 2006-03-11 01:58:32 +00:00
Eric Anholt
d695579848 If fakexa is enabled, create a larger buffer in the Ximage, but keep the
same width/height for front-buffer drawing. The fakexa code then uses
    this extra space for offscreen pixmaps. Note that this tones down the
    absurdity of fakexa's offscreen pixmap alignment requirements (odd
    alignment is too weird, so stick with "24", which is still strange but
    exists out there). It also fixes a couple of bugs in the fakexa
    implementation revealed by using offscreen pixmaps.
2006-03-10 21:36:24 +00:00
Eric Anholt
5b1a7b478f Move the exaDrawableDirty in exaPrepareAccess to exaFinishAccess, which is
after the drawing is done. Previously, a failed PrepareAccess could
    have migrated and cleared the dirty flag before the damage was ever
    done.
2006-03-10 21:32:34 +00:00
Eric Anholt
ffdbb547be Coverity #1011: Remove a useless NULL check on a pVbe that had been
dereferenced many times before.
2006-03-10 08:06:42 +00:00
Eric Anholt
1bc72dce5f Coverity #857: Fix resource leak in error path by freeing earlier. 2006-03-10 08:03:24 +00:00
Eric Anholt
55f677d600 Coverity #813, #814, #815, #816: Fix resource leaks in error paths of
config parsing code.
2006-03-10 07:58:27 +00:00
Eric Anholt
2bd4110549 Document the restriction on PrepareAccess() failure, from discussion with
benh.
2006-03-10 07:45:25 +00:00
Jeremy C. Reed
21dcd03048 Just like FreeBSD, let DragonFly's default mouse Device be /dev/sysmouse
(since /dev/mouse don't even exist by default).
2006-03-10 01:34:45 +00:00
Jeremy C. Reed
9a99afdfb2 Add DragonFly support. (It is like FreeBSD.)
This patch is from DragonFly developer Joerg Sonnenberger and the pkgsrc
    collection.
I tested using /dev/sysmouse with moused using my serial /dev/cuaa0.
2006-03-10 01:22:26 +00:00
Eric Anholt
7a0f7f7398 Coverity #349: Fall back to software early if pSrc->pDrawable is NULL, or
pMask is non-NULL but pMask->pDrawable is NULL. This prevents NULL
    dereferences on gradients and other Pictures which have no pDrawable.
2006-03-09 23:29:44 +00:00
Eric Anholt
ab35c3fbc1 Do a first pass of doxygen documentation of EXA. This removes the
corresponding pieces of exa-driver.txt, which were becoming stale.
    Hopefully the documentation will stay much more up-to-date this way.
    Many thanks to jbarnes for writing exa-driver.txt which was used a lot
    in writing this documentation.
2006-03-09 23:18:15 +00:00
Matthias Hopf
d8f8bfecce Do Xorg configure checks for Xgl only as well 2006-03-09 14:23:57 +00:00
Eric Anholt
2822cbc1fb Rearrange EXA driver structures so that there's a hope of maintaining ABI
when extending the driver interface. The card and accel structures are
    merged into the ExaDriverRec, which is to be allocated using
    exaDriverAlloc(). The driver structure also grows exa_major and
    exa_minor, which drivers fill in and have checked by EXA
    (double-checking that the driver really did check that the EXA version
    was correct). Removes exaInitCard(), which is replaced by the driver
    filling in the rec by hand, and the exaGetVersion() and related
    EXA_*VERSION which are replaced by always using the XFree86 loadable
    module versioning.
2006-03-09 06:04:07 +00:00
Lars Knoll
65aa33f917 render/picture.c Initialize the format of a source picture to
PICT_a8r8g8b8. Fixes a failure in the gradients test of rendercheck. In
    the long term we could do better by setting the format to something
    without alpha whenever the gradient doesn't contain colors with alpha.
    This triggers a reduction of the over operation to a pure source
    operation.
2006-03-08 06:19:37 +00:00
Eric Anholt
cb5090e8d6 Bug #6150: Do the obvious fix of an insane sanity check in
xf86InitFBManager. (Julio M. Merino Vidal)
2006-03-08 03:32:07 +00:00
Ian Romanick
2e6f801fe1 Numerous amounts refactoring and comment adding (see ChangeLog for file by
file details). The primary intention for these changes is to pave the
    way for the new device probing and PCI configuration code that I'm
    working on.
2006-03-07 23:58:22 +00:00
Eric Anholt
b7d2dfc1e5 Add appropriate MIT license. Oops. 2006-03-07 20:06:15 +00:00
Eric Anholt
9d8c0e4bcb Add a new flag to ephyr, "-fakexa", which turns on an EXA acceleration
implementation that calls fb to get its work done. The purpose is to
    have a trusted EXA driver for use with testing changes to the core of
    EXA. However, fakexa has not received much testing yet, lacks offscreen
    pixmaps support, and doesn't reliably provide garbage when EXA doesn't
    get its syncing right. All of these should be fixed soon.
2006-03-07 19:57:46 +00:00
Eric Anholt
0a3d6c7399 Remove stale EXA files, which failed to get removed during the move to
top-level, somehow.
2006-03-07 19:49:31 +00:00
Luc Verhaegen
68a8963f72 Fix cvt -r check again. CH7011 TV encoder had 800x600 PAL hit the check. 2006-03-07 16:00:57 +00:00
Lars Knoll
0693083335 render/picture.c Correctly initialize devPrivates variable in source only
pictures to 0
miext/cw/cw.h Don't try to access devPrivates of source only pictures
2006-03-06 21:00:09 +00:00
Matthieu Herrb
448997ebcd Only output SetClientVersion message if verbosity > 1, like other
extensions do
2006-03-05 16:43:10 +00:00
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
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
25d3852b83 Undo spamming of libv's ChangeLog entry. 2005-12-29 00:44:20 +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
08708f7d61 Merge from xserver: Make the existing ChangePictureFilter and
ChangePictureTransform screen hooks get called at appropriate times.
2005-12-28 11:48:14 +00:00
Eric Anholt
64ac7401ad Fix a copy'n'paste-o that would result in mis-rounding of the results of
several composite operators in A and G channels.
2005-12-28 10:43:02 +00:00
Eric Anholt
9ceffb6b92 Merge from xserver a header for shm's server internal functions, which are
called by DDXes. Desired by XGL, and should be used in other locations,
    probably.
2005-12-28 10:37:17 +00:00
Adam Jackson
022aa1127c Get Xsdl closer to linking. 2005-12-28 01:01:06 +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
Adam Jackson
2f3ac6e5fc Start importing kdrive. 2005-12-27 08:26:03 +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
8fc4ea8620 Nuke unsupported NDBM routines. Shrink the hash table a bit, over
25% of the buckets were going empty.
2005-12-26 18:55:09 +00:00
Daniel Stone
ed33c7c98a Remove unused -xkbdb and -noloadxkb options. Rename -ar1 and -ar2 to
-ardelay and -arinterval, respectively. Remove XKB banner from help text.
2005-12-26 04:23:58 +00:00
Adam Jackson
7e3cb9a09a Remove unused layer module. 2005-12-25 22:25:15 +00:00
Alan Coopersmith
9b083369de Change list of X server man pages in "See Also" section to list the ones
actually included and remove the ones that are no longer.
2005-12-23 20:11:12 +00:00
Daniel Stone
5fd978b1e7 Make LBX configuration default to auto. 2005-12-23 07:40:44 +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
Kevin E Martin
0d7ec5c7d9 Update package version for X11R7 release. 2005-12-21 02:30:08 +00:00
Adam Jackson
b37e738d5f Fix an fb regression on A8 pictures. (Fredrik Höglund) 2005-12-20 21:40:19 +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
Kevin E Martin
2cf86fce41 Update package version number for final X11R7 release candidate. Update
release string to 6.99.99.904.
2005-12-15 00:20:27 +00:00
Adam Jackson
f1ba3b4f33 Bug #4718: Command line flag to disable ACPI. 2005-12-14 20:11:16 +00:00
Adam Jackson
cf605eb916 Build libglx correctly when not building the Xorg DDX. 2005-12-13 17:35:26 +00:00
Adam Jackson
b076dd787f Spell it XINERAMA_SRCS, not PANORAMIX_SRCS. 2005-12-13 17:34:06 +00:00
Alan Coopersmith
3666dbb5f3 Remove unnecessary include of dgaproc.h that broke Solaris builds. 2005-12-12 23:33:55 +00:00
Alan Coopersmith
438a5549f0 Bugzilla #4715 <https://bugs.freedesktop.org/show_bug.cgi?id=4715> Files in
xserver/xorg/Xext not included in tarball after make dist
2005-12-12 03:06:18 +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
7fa2d11d85 Bug #4361: Define XF86CONFIGFILE properly so config file generation works 2005-12-09 03:57:41 +00:00
Kevin E Martin
26b41ff439 Fix sgml docs build. 2005-12-09 03:02:21 +00:00
Kevin E Martin
3a6bdf0715 Add configure option to set the top level font dir. 2005-12-08 19:21:12 +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
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
Adam Jackson
84faf8dc97 Bug #5230: Fix whitespace bugs. 2005-12-06 16:22:47 +00:00
Alan Coopersmith
9439297b7b Bugzilla #5219 <https://bugs.freedesktop.org/show_bug.cgi?id=5219> Make
sure all optional sources are included in EXTRA_DIST, even if they
    aren't used on the platform the distballs are made on.
2005-12-06 15:50:35 +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
98231c6b38 Update package version number for X11R7 RC3 release. Update release string
to 6.99.99.903 (i.e., 7.0 RC3).
2005-12-03 05:47:25 +00:00
Kevin E Martin
7c00afd0ec Define XFree86Server only where it is required. 2005-12-02 06:02:45 +00:00
Kevin E Martin
924518605b Fix GL build when srcdir != builddir (Donnie Berkholz). 2005-12-01 23:39:00 +00:00
Kevin E Martin
14b9315379 Add missing XvExtension and XvMCExtension defines. 2005-12-01 22:06:49 +00:00
Kevin E Martin
df8fa21d31 Fix typo: xorg_bus_linuxbsdpci ==> xorg_bus_linuxpci 2005-12-01 16:20:09 +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
ed826d563c Only build dlloader modules by default. 2005-11-29 23:34:30 +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
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
Felix Kuehling
1c8c1179c0 Fix Xprt library dependencies in the case that Xprint is auto-detected by
configure.
2005-11-21 04:24:07 +00:00
Alan Coopersmith
a1f110bda8 Make sure XKM_OUTPUT_DIR (used in code) ends in / (so paths don't get hosed
when appending file names) but XKB_COMPILED_DIR (used in Makefiles)
    does not so install-sh -d doesn't get confused when the directory
    already exists.
2005-11-20 23:01:02 +00:00
Alan Coopersmith
385730d239 Add xext to list of modules xorgcfg depends on. 2005-11-20 04:15:15 +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
Adam Jackson
e3ec048ff2 Bug #4928: Unbreak Makefile.am for Alpha chips. (Stefan DeRoeck) 2005-11-18 22:43:50 +00:00
Adam Jackson
21f7d03dbc Fix builds when not building the Xorg DDX. 2005-11-16 07:28:19 +00:00
Kevin E Martin
16b315affa Use glcontextmodes.[ch] from Mesa. 2005-11-14 21:04:12 +00:00
Kevin E Martin
0c110c80e7 Add GL_CFLAGS so that GLX can find its proto headers when using separate
build dirs.
2005-11-14 20:18:03 +00:00
Alan Coopersmith
bd9fb533b3 Default xkb-output directory needs trailing slash. 2005-11-14 00:01:34 +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
Alan Coopersmith
3179d29b82 use RGB_DB not RGB_PATH as that's what configure defines (Jürg Billeter
<j@bitron.ch>)
2005-11-12 18:03:34 +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
Kevin E Martin
1b26fe6d20 Update package version number for X11R7 RC2 release. Update release string
to 6.99.99.902 (i.e., 7.0 RC2).
2005-11-09 21:28:54 +00:00
Kevin E Martin
c9709c0a38 Add newly checked in files to Xorg server build.
Fix release date. Enable DGA extension by default.
2005-11-08 22:47:57 +00:00
Kevin E Martin
90cf8e339b Fix vendor string and release version reported by the servers. Enable
security, lbx and xevie extensions to give us parity with monolithic
    tree.
2005-11-03 17:08:06 +00:00
Alan Coopersmith
f23defeef2 Use APP_MAN_SUFFIX for Xserver man page instead of hardcoding section 1 2005-11-03 16:57:01 +00:00
Kevin E Martin
f5daec674a Add support for enabling/disabling DBE (part of generic enable/disable
extension support in the server).
2005-11-02 15:56:40 +00:00
Kevin E Martin
462a2407d5 Add xorg-server.m4 for driver dependency checking.
Update pkgcheck depedencies to work with separate build roots.
2005-11-01 15:01:51 +00:00
Alan Coopersmith
e921eec1c6 Make X -> Xorg symlink at install time. 2005-10-29 00:12:33 +00:00
Adam Jackson
81e913d310 Bug #4840: Typo, x$xRES -> x$RES. (George Fufutos) 2005-10-21 18:23:33 +00:00
Donnie Berkholz
279cf9f79d Bug #4817 <https://bugs.freedesktop.org/show_bug.cgi?id=4817> Restore '='
to '==' in test for mmx_capable.
2005-10-20 22:41:28 +00:00
Adam Jackson
15f56b203d Move xf86XTrapModule.c to dixmods, guess at a build system. 2005-10-20 18:52:51 +00:00
Kevin E Martin
5744308e29 Update package version number for RC1 release. Update release string to
6.99.99.901 (i.e., 7.0 RC1).
2005-10-18 22:06:54 +00:00
Adam Jackson
2769c3e72c Fix distcheck by forcing Xorg to be installed before chmod/chown. 2005-10-18 19:43:48 +00:00
Adam Jackson
dd0d010e9c Fix parallel builds my ensuring libdmxconfig builds first. 2005-10-18 19:14:08 +00:00
Alan Coopersmith
79e6ac79f9 Don't use $< in explicit rules since neither BSD nor Solaris make allow
that.
2005-10-18 07:18:21 +00:00
Aaron Plattner
fb282ef43a Add miext/damage so misym.c can export DamageDamageRegion. 2005-10-18 04:03:01 +00:00
Adam Jackson
e7007f7d51 More automake 1.7 braindamage: use mkdir -p, not . 2005-10-17 22:42:03 +00:00
Adam Jackson
151ba8b67f Work around automake-1.7 braindamage by providing an explicit rule for
XOrgCfg.
2005-10-17 22:25:58 +00:00
Kristian Høgsberg
eec3df1503 Fix whitespace in AS_HELP_STRING uses, convert all help strings to use
AS_HELP_STRING.
2005-10-17 17:11:12 +00:00
Kevin E Martin
1859c62607 include/dix-config.h.in Add support for more extensions
Add missing files to EXTRA_DIST
2005-10-17 07:18:59 +00:00
Donnie Berkholz
a7d6a4fb32 Change '==' to portable '='. 2005-10-16 03:02:53 +00:00
Kevin E Martin
c2e461c7e9 Fix typo and add new Makefiles to AC_OUTPUT
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Kristian Høgsberg
34b7b57b3c Doh, remember to add this file. 2005-10-15 19:34:28 +00:00
Kristian Høgsberg
21e7339c1e Hook up lbx. 2005-10-14 22:44:56 +00:00
Alan Coopersmith
d62943c040 Set default font path to match the default in the monolith so fonts are
actually found.
2005-10-14 22:19:51 +00:00
Kristian Høgsberg
0676a2874a Add sysv and sco os-support subdirs and add simple EXTRA_DIST Makefile.am
in those dirs. Remove unsupported os-support subdirs (bsdi, dgux, hurd,
    nto, os2, pmax, qnx4) that have no maintainer and we don't dist.
Add Options.
2005-10-14 20:01:36 +00:00
Donnie Berkholz
7e3e9ed97b Add XTRAP_LIB to XPRINT_EXTENSIONS to fix xprint build when xtrap is
enabled.
2005-10-14 06:10:06 +00:00
Donnie Berkholz
821584fcd3 Require glproto >= 1.4.1 if building DRI with GLX. This fixes a build
failure on a number of hyperpipe functions.
2005-10-14 05:36:39 +00:00
Alan Coopersmith
b54c8154ca Set substitutions needed in xorgconfig man page. 2005-10-14 00:34:49 +00:00
Kristian Høgsberg
b349b20d78 Dist NOTES.
Dist helper shell scripts.
Dist XAA.HOWTO and a few more unused C files.
Dist xorgconf.cpp.
Fix DIST_EXTRA typo.
Clean yacc and lex generated files only during make maintainer-clean as we
    don't expect users to have those tools installed.
2005-10-13 18:08:24 +00:00
Eric Anholt
a16dabd05e Remove an RM line that appears unnecessary and was breaking the build at
xf86DefModeSet.c with FreeBSD make, where RM was undefined. While here,
    make the build of xf86DefModeSet.c depend on its sources, so it'll
    rebuild properly, and make it a normal CLEANFILE rather than a
    DISTCLEANFILE, since the intention seems to be to build it at the
    user's build time.
2005-10-12 11:15:44 +00:00
Kevin E Martin
fce11fdf03 Fix typo (DIST_EXTRA -> EXTRA_DIST) 2005-10-12 02:11:06 +00:00
Alan Coopersmith
3b683b63ee missed ChangeLog entry for previous commit 2005-10-11 20:12:24 +00:00
Kristian Høgsberg
5a71a5667e Add Xprint init scrips to EXTRA_DIST. 2005-10-07 19:01:10 +00:00
Kevin E Martin
578e18d11b Add darwin to dist
Include missing docs in EXTRA_DIST
Include headers and other files in dist
2005-10-07 14:27:47 +00:00
Kevin E Martin
148df64a05 Add README.compiled to dist tarball 2005-10-07 04:11:02 +00:00
Alan Coopersmith
2770233069 Don't build "ev" example on systems without <linux/input.h> 2005-10-06 19:59:26 +00:00
Kristian Høgsberg
460145a5d5 Add cpconfig.c to EXTRA_DIST.
Add CURSOR.NOTES to EXTRA_DIST.
Add extrapci.ids to EXTRA_DIST and fix xf86PciIds.h rule.
2005-10-06 19:37:39 +00:00
Kevin E Martin
9000c0321b Install correct man page and add to dist 2005-10-06 04:05:30 +00:00
Kevin E Martin
30c1369bf5 Add support for building DMX config and examples programs Add missing files
to EXTRA_DIST Install Xdmx man page
2005-10-06 02:35:22 +00:00
Kevin E Martin
1f9b6dc1cc Clean up generated files to pass distcheck
Clean up generated files to pass distcheck Distribute getconfig.man.pre,
    not getconfig.man
2005-10-06 00:34:29 +00:00
Kristian Høgsberg
dc6ac8e46f Add DGA configure option and add various files that we should be dist'ing.
Simplify xf86DefModeSet.c rule a bit.
2005-10-05 21:38:40 +00:00
Adam Jackson
8391eaa4aa Preprocess and install XOrgCfg.ad as in the monolith. 2005-10-05 21:13:49 +00:00
Adam Jackson
34a8411ede Bug #4038: Unbreak the SYSVIPC check for cross builds. (Detlef Vollman) 2005-10-05 00:55:08 +00:00
Aaron Plattner
89a1a91b88 Add miext/cw to the module loader include path so that misym.c can export
miDisableCompositeWrapper.
2005-10-04 07:42:21 +00:00
Alan Coopersmith
14a2bd3330 Add missing ] (Dawid Gajownik)
Add getconfig (Dawid Gajownik)
2005-10-03 15:37:57 +00:00