Matthieu Herrb
a66c0f1dca
Remove an extra cast.
...
Thou should not apply patches manually without testing.
2007-08-23 22:11:56 +02:00
Otto Moerbeek
12d27cf33c
A high resolution device that's moving fast can potentially generate
...
an int overflow, making dx*dx+dy*dy negative. Now pow(negative,
non-integer) yields NaN, so you loose. Use fp math to avoid that.
2007-08-23 21:59:25 +02:00
Brian Paul
ff089e6cae
glx: fix crash when freeing visuals
...
Don't set screen->num_vis to a value greater than the actual number of visuals.
X.Org Bug #10809 <http://bugs.freedesktop.org/show_bug.cgi?id=10809 >
2007-08-23 20:10:41 +02:00
Søren Sandmann Pedersen
943dd6ad99
Revert "Revert "Require pixman 0.9.5; Use pixman_image_set_source_clipping() to fix"" since the pixman changes have been pushed now.
...
This reverts commit 57f7f2a532
.
2007-08-23 12:15:03 -04:00
Julien Cristau
13949f9972
Get rid of the type1 font module.
...
It is completely replaced by freetype these days.
2007-08-23 11:27:33 +02:00
Dave Airlie
76bf3cd7b8
randr: fixup crtc and output destroy
...
if you are moving pointers, you want to move the pointers not just a byte
2007-08-23 16:22:03 +10:00
Alex Deucher
81f8b652d9
Add _X_EXPORT to exported functions in hw/xfree86/modes/*
...
Also add missing exports to hw/xfree86/loader/xf86sym.c
2007-08-22 19:26:34 -04:00
Eric Anholt
57f7f2a532
Revert "Require pixman 0.9.5; Use pixman_image_set_source_clipping() to fix"
...
The corresponding pixman code hasn't been pushed, so revert until the code is
ready.
This reverts commit 53941c8e68
.
2007-08-22 09:02:03 -07:00
Eric Anholt
d0dc9698ae
Revert "Fix <pixman.h> include to <pixman/pixman.h>"
...
The pixman headers have been located under pixman-1/ instead of pixman/ since
around 2007-08-06, and pixman-1.pc has the updated include paths to account
for this.
This reverts commit feb1b3e455
.
2007-08-22 09:00:45 -07:00
Eric Anholt
bc2d516f16
Fix overly-restrictive integer overflow check in EXA pixmap creation.
...
The result was that at 32bpp, pixmaps of width 8192 or greater couldn't be
created, due to treating a pitch value as a width.
2007-08-22 08:59:10 -07:00
Alan Hourihane
feb1b3e455
Fix <pixman.h> include to <pixman/pixman.h>
2007-08-22 16:54:29 +01:00
Søren Sandmann Pedersen
b6a7c0112c
Merge branch 'master' of ssh+git://sandmann@git.freedesktop.org/git/xorg/xserver
2007-08-21 14:26:34 -04:00
Søren Sandmann Pedersen
53941c8e68
Require pixman 0.9.5; Use pixman_image_set_source_clipping() to fix
...
bug 11620 (reported by Jens Stroebel.
2007-08-21 14:26:14 -04:00
Julien Cristau
6ef4ecd826
config: fix default xkb model (pc105, not keyboard)
2007-08-21 18:17:35 +02:00
Adam Jackson
1834cfb447
Fix an error message to not point to @xfree86.org.
2007-08-21 10:44:37 -04:00
Keith Packard
265a633cf1
Screen size changing should leave FB alone when X is inactive.
...
xf86RandR12ScreenSetSize must protect calls to EnableDisableFBAccess with
suitable vtSema checks to avoid invoking driver code while the X server is
inactive.
2007-08-20 23:24:22 -07:00
Keith Packard
7dc8531548
Ref count cursors used in hw/xfree86/modes code.
...
The multi-crtc cursor code in hw/xfree86/modes holds a reference to the
current cursor. This reference must be correctly ref counted so the cursor
is not freed out from underneath this code.
2007-08-20 23:24:12 -07:00
Alex Deucher
1f6ddae003
add xf86_crtc_clip_video_helper to xf86sym.c
2007-08-21 00:37:33 -04:00
David Nusinow
c839859d1b
Move module defaults from the header to the source file.
...
This is where they should have been in the first place. All the rest of
the code in the server defines such things in the source files, not the
headers.
2007-08-20 21:09:27 -04:00
Alex Deucher
53c04351c4
move intel crtc xv clipping helper to the xserver
...
The code is generic and can be used by any overlay-based card when
adding randr 1.2 support. Tested on radeon.
2007-08-20 19:47:55 -04:00
Julien Cristau
a1fe36b772
xfree86: Fix build on Linux/alpha.
...
A bunch of CFLAGS had gone missing, so the build failed with errors like:
../../../../../hw/xfree86/os-support/linux/lnx_ev56.c:7:19: error: input.h: No such file or directory
../../../../../hw/xfree86/os-support/linux/lnx_ev56.c:8:24: error: scrnintstr.h: No such file or directory
2007-08-21 00:26:33 +02:00
Blair Sadewitz
65a49f0ca1
Autoconfiguration of wsmouse for NetBSD.
2007-08-19 20:29:22 +02:00
Fredrik Höglund
3c448b0eb6
EXA: Fix a couple of logic errors in exaGetPixmapFirstPixel.
...
The fb pointer would be left uninitialized when exaPixmapIsOffscreen
returned false. When it returned true and the pixmap was damaged,
fb would be initialized from the pixmap's devPrivate.ptr before the
exaDoMigration and exaPrepareAccess calls, at which point
devPrivate.ptr would still be pointing at offscreen memory.
2007-08-18 19:02:18 +02:00
Alan Coopersmith
23fbd5292d
Actually build Secure RPC authentication support (missed in modularization)
2007-08-17 15:29:47 -07:00
Aaron Plattner
6a32a96d8d
stride is in FbBits-sized chunks, but xoff is not.
...
Fixes corruption problems with composite rendering to redirected windows in
depth 16.
2007-08-16 17:43:29 -07:00
Aaron Plattner
32666d7722
Bug #12015 : Use the right offsets in the dst arguments of pixman_blt.
2007-08-16 14:57:32 -07:00
Fredrik Höglund
daee59b170
EXA: Wrap Trapezoids to prevent excessive migration of the alpha pixmap.
...
miTrapezoids creates an alpha pixmap and initializes the contents
using PolyFillRect, which causes the pixmap to be moved in for
acceleration. The subsequent call to RasterizeTrapezoid won't be
accelerated by EXA, which causing the pixmap to be moved back out
again.
By wrapping Trapezoids and using ExaCheckPolyFillRect instead of
PolyFillRect to initialize the pixmap, we avoid this roundtrip.
2007-08-16 23:49:07 +02:00
Eamon Walsh
860a09cfb8
devPrivates rework: Nevermind, can't const due to return value warnings.
...
This reverts commit 6fd0a0b08d
.
2007-08-16 16:12:01 -04:00
Eamon Walsh
6fd0a0b08d
devPrivates rework: add const qualifier to key type.
2007-08-16 16:01:42 -04:00
Eamon Walsh
b2b7817497
devPrivates rework: use camelcase standard for name of key type.
2007-08-16 15:33:58 -04:00
Eamon Walsh
0a994d4f85
xace: add hooks + new access codes: core protocol selection requests
2007-08-16 12:54:35 -04:00
Eamon Walsh
3ef2e9e623
xace: add hooks + new access codes: core protocol pixmap requests
2007-08-16 12:27:48 -04:00
Jeremy C. Reed
be536b79f2
Update for support on NetBSD and DragonFly. From
...
Joerg Sonnenberger and pkgsrc.
2007-08-16 11:23:28 -05:00
Jeremy C. Reed
1d4bea6106
Add some more support for DragonFly. From Joerg Sonnenberger
...
and pkgsrc.
2007-08-16 11:20:12 -05:00
Eamon Walsh
fe9bc481ef
xace: add hooks + new access codes: core protocol font requests
2007-08-16 12:19:49 -04:00
Eamon Walsh
e89301c879
xace: add hooks + new access codes: core protocol client requests
2007-08-16 10:57:49 -04:00
Eamon Walsh
5bee8db003
xace: drop background-none checking hook, add new hook for controlling
...
access to other clients.
2007-08-16 10:44:51 -04:00
Eamon Walsh
b82557c9fb
xace: add hooks + new access codes: core protocol screensaver requests
2007-08-16 10:36:05 -04:00
Eamon Walsh
568ae737d1
xace: add hooks + new access codes: core protocol server requests
2007-08-16 10:33:58 -04:00
Dave Jones
14c13b8d62
Kdrive: fix nasty thinko in TslibEnable()
2007-08-16 09:46:27 +02:00
Alan Coopersmith
026534f945
Update pci.ids to 2007-08-15 snapshot
...
Remove nvidia ids in extrapci.ids that are now in pci.ids
2007-08-15 16:47:53 -07:00
Alan Coopersmith
6cef7b9611
Correct XErrorDB path and make it configurable (used by DTrace support)
2007-08-15 16:44:49 -07:00
Eamon Walsh
3c9553ac2c
xace: rename hostlist security hook to "server" as this hook will be used
...
for other types of server access besides just the host list.
2007-08-15 14:14:25 -04:00
Eamon Walsh
dc84bb3418
xace: add hooks + new access codes: core protocol cursor requests
2007-08-15 14:13:53 -04:00
Eamon Walsh
b424e01ec5
xace: add hooks + new access codes: core protocol property requests
2007-08-15 14:13:27 -04:00
Fredrik Höglund
0f9e89b4e3
Fix the value comparisons in the IDLETIME wakeup handler.
...
LessThan/GreaterThan comparisons were used in the wakeup handler,
and LessOrEqual/GreaterOrEqual in the block handler.
Change it to use LessOrEqual/GreaterOrEqual in both functions,
since this is what XSyncNegativeComparison and
XSyncPositiveComparison imply.
2007-08-14 22:47:49 +02:00
Eamon Walsh
42d6112ec2
xace: add hooks + new access codes: core protocol GC requests
2007-08-14 13:09:38 -04:00
Eamon Walsh
9a183d7ba5
dix: remove caching of drawables and graphics contexts. The security checks
...
simply bypass the cached values so they are unused.
2007-08-14 11:39:26 -04:00
Eamon Walsh
2763056ab5
xace: add hooks + new access codes: core protocol window requests
2007-08-13 13:44:33 -04:00
Kristian Høgsberg
6a195e816b
Revert "Implement damage tracking for AIGLX."
...
This reverts commit 2243b30e54
. The existing
DRI interface doesn't let us get from a __DRIdrawable to the corresponding
X drawable, and thus, we can't implement AIGLX damage tracking with the
current interface.
2007-08-13 10:43:48 -04:00