Kristian Høgsberg
52d9ce7f4f
Fix another typo.
2006-03-28 21:45:14 +00:00
Kristian Høgsberg
7df64898ea
Fix a couple of typos.
2006-03-28 07:46:04 +00:00
Aaron Plattner
bd283c2464
Add a new export, LoaderGetABIVersion. This function allows modules to
...
query the versions directly instead of having to guess. Bug #6416 : Add
LoaderGetABIVersion.
2006-03-28 07:21:50 +00:00
Kristian Høgsberg
a06342eccc
Add --enable-glx-tls ./configure option to enable use of TLS for storing
...
current GL context. Use this option to let AIGLX load DRI drivers
compiled for TLS.
2006-03-28 02:57:07 +00:00
Adam Jackson
77531dfb9f
Silence some editorializing in the configure help text.
2006-03-28 01:22:01 +00:00
Adam Jackson
7deaaa797c
Big old pile of warning fixes.
2006-03-28 01:21:00 +00:00
Adam Jackson
7342dbe4b2
Remove long-dead screen region code.
2006-03-28 00:18:31 +00:00
Daniel Stone
0e88cefbfe
Prune XKB code to only what we need to run the server. Remove dead
...
!XKB_IN_SERVER codepaths. Remove HAVE_CONFIG_H codepaths.
2006-03-27 23:03:47 +00:00
Daniel Stone
5be8a66d32
Fix remnants of previous busted _XkbStrCaseCmp commit.
2006-03-27 22:28:32 +00:00
Daniel Stone
9e202dfe40
Remove remnants of XkbCF code.
2006-03-27 22:25:56 +00:00
Daniel Stone
7257590651
Move XFree86 DDX XKB actions into dixmods.
2006-03-27 21:15:06 +00:00
Daniel Stone
d7b9e2b0e9
Bug #3819 : Remove open-coding of strcasecmp.
2006-03-25 23:09:50 +00:00
Daniel Stone
b3570dd94a
Remove INITARGS braindamage, change to void; add XkbExtensionInit prototype
...
to xkb.h. Explicitly initialise nTypes in xkb.c.
2006-03-25 22:37:58 +00:00
Daniel Stone
ec10f70b21
Remove XkbCF DDX configuration code.
2006-03-25 21:52:49 +00:00
Daniel Stone
aae4238360
Fix two glaring unconditional-NULL-dereferences.
2006-03-25 20:17:58 +00:00
Adam Jackson
a68c11bb1d
Mark everything in xf86sym.c as _X_EXPORT.
2006-03-25 19:52:05 +00:00
Fredrik Höglund
ae935832fa
Refactored the screensaver and DPMS timer code to use the screensaver timer
...
for both screensaver and DPMS. Removed the SetDPMSTimers() and
FreeDPMSTimers() functions.
2006-03-24 20:50:13 +00:00
Kristian Høgsberg
d1746ec0f0
Make sure DRI module is loaded before calling DRI functions.
2006-03-24 17:58:39 +00:00
Alan Coopersmith
f1616508c9
Add ast driver/pci id (Carl Switzky, Sun Microsystems)
2006-03-23 23:54:08 +00:00
Kristian Høgsberg
6d2896b384
Improve error logging.
2006-03-22 22:49:52 +00:00
Søren Sandmann Pedersen
5449634e3c
Wed Mar 22 16:28:46 2006 Søren Sandmann <sandmann@redhat.com>
...
Use inline assembly for copy area, since gcc doesn't generate movq
instructions.
2006-03-22 21:37:49 +00:00
Søren Sandmann Pedersen
5b3084c64f
Wed Mar 22 16:05:09 2006 Søren Sandmann <sandmann@redhat.com>
...
Use inline assembly for solid fills, since gcc doesn't use the movq
instructions.
2006-03-22 21:13:08 +00:00
Søren Sandmann Pedersen
a08e5e0c68
Wed Mar 22 13:42:44 2006 Søren Sandmann <sandmann@redhat.com>
...
Patch by Keith Packard to make sure redirected windows don't get considered
"FullyObscured".
2006-03-22 18:44:26 +00:00
Kristian Høgsberg
966d93ef6d
Make the server distcheck and tag 1.0.99.1 snapshot.
...
Bump CVS version to 1.0.99.1.
Distcheck fixes.
2006-03-21 22:54:38 +00:00
Kristian Høgsberg
8e3ad87d01
#include indirect_dispatch to get prototypes for FBO functions.
...
Fix a couple of warnings.
2006-03-21 22:32:13 +00:00
Donnie Berkholz
dcc43d57cb
Finish glx_ansic.h wrapper changes to make Xvfb and Xnest link again.
2006-03-20 20:10:29 +00:00
Adam Jackson
61a020265c
Bug #5549 : Fix build for sparc64. (Matthieu Herrb)
2006-03-20 18:43:18 +00:00
Adam Jackson
6eb4e2303a
Bug #6213 : Check geteuid's return value, not its address, otherwise
...
unprivileged users can set the modulepath and run arbitrary code. Patch
from Matthieu Herrb. (CVE-2006-0745, Coverity #4 )
2006-03-20 14:01:05 +00:00
Kristian Høgsberg
2d2d38d17c
Check for glproto when building GLX and make sure we have at least 1.4.6.
...
Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs
directly.
2006-03-17 01:47:25 +00:00
Kristian Høgsberg
2c11cde336
More patches from David Reveman:
...
Add GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object and
GL_NV_texture_env_combine4 extensions.
Add __GLXcontext destructor and flush context cache there and on
loseCurrent.
Chain back to new __GLXcontext destructor. (__glXMesaContextForceCurrent):
Set render table on forceCurrent. (init_screen_visuals): Index pVis
array correctly. (GlxGetMesaProvider): Add this.
Hook up FBO marshalling.
2006-03-17 00:35:18 +00:00
Eric Anholt
14aafc258c
Change EXA so that exaMoveOutPixmap() retains the framebuffer copy of the
...
pixmap, and damage is tracked so that a later exaMoveInPixmap won't
result in an upload if no upload is necessary. This will likely improve
the performance of the "Always" migration scheme significantly, and is
a step in the path to more exact damage tracking between framebuffer
and system memory.
2006-03-16 18:43:55 +00:00
Daniel Stone
d0d336efd5
Add support for ZX2 PCI-E local bus adaptors. (Alex Williamson, HP)
...
Use soft timeout register to avoid MCAs when probing for non-existent local
bus adaptors on ZX2. (Alex Williamson, HP)
2006-03-16 16:29:17 +00:00
Adam Jackson
175980580e
Bump to requiring fixesproto >= 4.0 and compositeproto >= 0.3.
2006-03-15 23:05:53 +00:00
Matthieu Herrb
6fe377af5a
- OpenBSD needs -Wl,-export-dynamic to export symbols from main executable
...
to modules.
- Probe for OpenBSD aperture driver and define HAS_APERTURE_DRV
accordingly.
2006-03-15 21:25:38 +00:00
Felix Kuehling
21f7f2fb11
Enable correct handling of the BTS instruction (opcode 0f ab) The code was
...
there but #ifdefed out. Insead of BTS, BT was executed. This patch
enables the BTS function and hooks it up the the correct opcode. (ATI
Technologies Inc.)
2006-03-15 18:43:32 +00:00
Felix Kuehling
b726aa502a
Update to build against Mesa CVS HEAD.
2006-03-15 18:37:44 +00:00
Eric Anholt
c74464d92c
Don't let pinned pixmaps get migrated in when using the "Always" migration
...
scheme. This notably keeps the visible screen from getting migrated in
to a new location in framebuffer.
Reported by: Michel Dänzer.
2006-03-15 16:59:45 +00:00
Adam Jackson
b9c43cde1e
Coverity #1042 , 1043: Nuke some dead variables.
2006-03-15 16:56:10 +00:00
Adam Jackson
5e106a71b9
Coverity #807 : Fix a memory leak in XFixesExpandRegion.
2006-03-15 16:49:04 +00:00
Adam Jackson
a3ef63696c
Coverity #490 : Fix a range check in xf86vidmode extension.
2006-03-15 16:36:31 +00:00
Adam Jackson
152090ce44
Coverity #487 : Check version number correctly.
2006-03-15 16:33:12 +00:00
Adam Jackson
72cc630725
Coverity #491 : Check version number correctly.
2006-03-15 16:32:05 +00:00
Adam Jackson
460f2ea4a5
Coverity #794 : Fix a highly unlikely memory leak.
2006-03-15 16:21:04 +00:00
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