Commit Graph

1852 Commits

Author SHA1 Message Date
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
8a3ff42abb Commit changes missed in last commit (mis-typed path and didn't notice): 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:25:35 +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
82cbd2ee0d Don't hard-code -DUSE_DEV_IO here. configure generates the proper OS
specific values here.
2006-03-05 16:33:17 +00:00
Matthieu Herrb
b56a1513d2 Definitions for bswapxx() macros on OpenBSD. 2006-03-05 16:32:40 +00:00
Matthieu Herrb
4335868476 Fix build with non GNU make. 2006-03-05 16:13:21 +00:00
Alan Hourihane
b2f8f410c0 https://bugs.freedesktop.org/show_bug.cgi?id=4341 Make Xming error messages
more meaningful.
2006-03-03 09:54:54 +00:00
Alan Hourihane
29237c1977 https://bugs.freedesktop.org/show_bug.cgi?id=4538 Fix mouse button release
on multiwindows scrolling.
2006-03-03 09:50:55 +00:00
Alan Hourihane
06f01623fd https://bugs.freedesktop.org/show_bug.cgi?id=5138 Check for NULL pointer 2006-03-03 09:43:42 +00:00
Felix Kuehling
054c291b27 Fix build against Mesa CVS HEAD: added s_blit.c to symlink-mesa.sh. 2006-03-02 18:35:08 +00:00
Brian Paul
c1a82b9554 added s_blit.c file 2006-03-02 03:43:26 +00:00
Jesse Barnes
5f4d11c8d9 fix spelling error, document EXA_TWO_BITBLT_DIRECTIONS device flag 2006-03-01 16:31:53 +00:00
Jesse Barnes
044a3abb38 Add accelerated two directional blt support to EXA 2006-03-01 16:28:34 +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
Jesse Barnes
e7f0b84fa7 fix exaInitCard by making it a real function 2006-02-28 05:20:20 +00:00
Felix Kuehling
088e5768fa Fixing the Mesa build again, sigh. Add slang_execute_x86.c. Add
-I../shader/slang to swrast INCLUDES.
2006-02-27 18:12:24 +00:00
Alan Coopersmith
345d99c972 Typo fixes (Nicholas Joly, XFree86 bugzilla #1658) 2006-02-27 16:19:39 +00:00
Jesse Barnes
6b08a5013b EXA driver doc cleanups and additions. 2006-02-25 20:26:49 +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
Kristian Høgsberg
d3e1587c20 file glxdri.c was initially added on branch accel_indirect_branch. 2006-02-24 16:50:42 +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