Commit Graph

2688 Commits

Author SHA1 Message Date
Eric Anholt
9fbb845e8b Provide option to report damage after operation is complete.
(cherry picked from commit 6060b612de)
2007-02-12 16:02:29 -08:00
Eric Anholt
fe13ebbe69 Fix the size expectations of xRRSetCrtcGamma.
It was using REQUEST_SIZE_MATCH (client request length must equal request size)
rather than REQUEST_AT_LEAST_SIZE (client request length must be at least
big enough for request size), and this request has data following the request
structure.
(cherry picked from commit 4f2f3233c8)
2007-02-02 12:14:40 -08:00
George Sapountzis
ec1c2fc092 dmx: drop leftover __GLXdrawablePrivateRec struct.
(cherry picked from commit cf5b29d75d)
2007-02-02 11:13:02 -08:00
Keith Packard
8798c8cfa8 Allow DDX to not supply a property set notification function.
Check rrOutputSetProperty and only call if it isn't NULL.
2007-01-30 19:05:20 -08:00
Keith Packard
895250181b Use old resource API in backported patch.
1.2 branch doesn't have the resource lookup changes, so we need to use the
old APIs.
2007-01-30 18:45:44 -08:00
Keith Packard
f993e142d2 Make Xinearama screen information reflect CRTC rotation.
(cherry picked from commit b6b8559321)
2007-01-29 23:04:17 -08:00
Eric Anholt
72754184f1 Really fix optimized render cases being hit when they shouldn't.
I don't know how this define slipped in there.  Fixes
6fdfd9dad9.
2007-01-29 23:01:52 -08:00
Eric Anholt
1225a49da2 Account for CRTC rotation in the cursor containment code. 2007-01-29 23:01:51 -08:00
Eric Anholt
364fb547d4 When changing a non-pending property, call the screen rrOutputSetProperty hook. 2007-01-29 23:01:51 -08:00
Eric Anholt
11307c4b88 Don't forget to add the property we configure to the properties list. 2007-01-29 23:01:50 -08:00
Eric Anholt
07e5c928ab Track rename of DamagePost -> DamageAdd. 2007-01-29 23:01:49 -08:00
Keith Packard
f1b95fda6c Add support for the DamagePost (XDamage 1.1) request.
This makes damageproto >= 1.1 a requirement to build.
(cherry picked from 0b73a7eb17)
2007-01-29 23:01:37 -08:00
Eric Anholt
cd5fe7890d Keep track of how many visuals we set up for GLcore, to avoid an invalid free.
The proper fix would involve actually setting up the ARGB visual for GLcore,
but I just want the server to not crash at exit.
2007-01-29 22:56:31 -08:00
Keith Packard
1a34f1966c Export API for setting allowed CRTC rotations 2007-01-29 22:04:07 -08:00
Keith Packard
ceca97cb84 Merge branch 'server-1.2' into randr-1.2-for-server-1.2 2007-01-29 22:03:19 -08:00
Adam Jackson
b9dc0aeea8 Fix release date. 2007-01-23 00:37:23 -05:00
Adam Jackson
bd8ef88d18 Bump video and input ABI minors.
Sadly this is a video ABI number already present in master, but that'll
just have to change, won't it?
2007-01-22 23:00:06 -05:00
Adam Jackson
c919f880d7 Bug #8991: Add glXGetDrawableAttributes dispatch; fix texture format therein. 2007-01-22 22:12:27 -05:00
Adam Jackson
fd838c02be Bug #9555: Always define _GNU_SOURCE in glibc environments.
This keeps us from having to define _POSIX_C_SOURCE, _BSD_SOURCE, and
_XOPEN_SORUCE to get the C environment we want in different places.  It also
fixes the build on linux due to RTLD_DEFAULT having not been defined.
(cherry picked from 7fccec91c4 commit)
2007-01-22 17:58:37 -05:00
Eric Anholt
fd77f9cbba Try dlsym(RTLD_DEFAULT) first when finding symbols.
The previous mechanism failed when finding drm symbols now that libdrm has
moved to being linked by libdri instead of being linked into the server.
(cherry picked from aab2ca2042 commit)
2007-01-22 17:53:15 -05:00
Michel Dänzer
cf70493520 __glXDRIscreenProbe: Use drmOpen/CloseOnce.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=9275 . Based on patch from
Alan Swanson.
(cherry picked from 65f4690ecb commit)
2007-01-22 17:52:19 -05:00
Donnie Berkholz
6b23b12cc8 sparc: don't include asm/kbio.h -- it no longer exists in current headers. 2007-01-21 22:02:32 -08:00
Alan Coopersmith
4f9de386b0 Update Xserver man page to match commit ed33c7c98a
Remove unused -xkbdb and -noloadxkb options. Rename -ar1 and -ar2 to
    -ardelay and -arinterval, respectively.
(cherry picked from 0d6d373af9 commit)
2007-01-19 14:53:52 -08:00
Drew Parsons
9ddaea25bd Minor typos in Xserver man page.
(cherry picked from 04554a3adc commit)
2007-01-19 14:53:44 -08:00
Alan Coopersmith
1dac07bf52 Update pci.ids to 2007-01-18 snapshot
(includes a whole bunch of ATI device id updates)
(cherry picked from 8b3a591cd3 commit)
2007-01-18 16:04:41 -08:00
Alan Coopersmith
4738713158 Xserver man page: remove bc, add -wr
(cherry picked from df147c10ce commit)
2007-01-17 16:48:48 -08:00
Aaron Plattner
7c937bfb8d Fix BSF and BSR instructions in the x86 emulator.
Patch courtesy of Michael Yaroslavtsev.
(cherry picked from 66fa87292e commit)
2007-01-10 15:34:23 -05:00
Michel Dänzer
0b990d1e68 Require glproto >= 1.4.8 for GLX.
It builds against 1.4.7 as well, but it hardcodes the GLX_EXT_tfp tokens that
were finalized in 1.4.8, so GLX_EXT_tfp breaks if the client side was built
against an older glproto. This will hopefully alert people to rebuild other
components (in particular Mesa) against the new glproto as well.
(cherry picked from 359d20532b commit)
2007-01-10 15:33:40 -05:00
Matthieu Herrb
24e1ad4831 Multiple integer overflows in dbe and render extensions
CVE IDs: CVE-2006-6101 CVE-2006-6102 CVE-2006-6103
2007-01-09 14:13:40 +01:00
Eric Anholt
fe37d26f30 Fix several cases where optimized paths were hit when they shouldn't be.
This fixes a number of rendercheck cases.
(cherry picked from commit 6fdfd9dad9)
2007-01-03 10:38:04 -08:00
Keith Packard
f05dd384d3 Use RRScreenSetSizeRange in 1.0 compat. Check RRGetInfo for error.
The RRScreenSizeSetRange function is used externally for 1.2 API drivers,
but can also be used in the 1.0 compatibility code. This also ensures that
the right changed bits are set so that clients are correctly notified when
the range changes.

RRGetInfo can return an error, use that to return BadAlloc to clients
instead of blindly going on with various requests.
2006-12-30 21:52:22 -08:00
Daniel Stone
9bc6752f68 configure.ac: prepare for 1.2.0 (X11R7.2)
No, it's not released yet.  Settle down.
2006-12-24 06:37:56 +02:00
Samuel Thibault
594d180fe4 remove last remaning 'linux'isms (bug #5613)
Make sure we don't build non-Linux stuff in configure.ac, and test based
on userland, rather than kernel.
2006-12-24 06:31:05 +02:00
Keith Packard
06a4be5e7a Merge branch 'server-1.2-branch' into randr-1.2-for-server-1.2 2006-12-21 23:52:24 -08:00
Keith Packard
f42e3cea23 Track physical screen size and send out updates when that changes.
Events and internal data structures need to be updated whenever the physical
or pixel size of the screen changes. The code was ignoring the physical
size, so changing only that would not be registered anywhere.
2006-12-21 23:50:39 -08:00
Alan Coopersmith
f4ef99e816 xorg.conf man page should say "XFree86-DGA", not "Xorg-DGA"
(cherry picked from e437f357b6 commit)
2006-12-21 10:51:27 -08:00
Brian
198560a081 added mipmap.c 2006-12-21 09:06:44 -07:00
Alan Coopersmith
5f14c9a78b Xorg & Xserver man page updates for 1.2 release
- Added -extension & +extension to Xserver man page
- Changed Xorg synopsis from X11R6 to X11R7
- Clarified Xorg ancestry description
- Moved Solaris to free/Open Source OS list
- Removed references to MetroLink module loader & getconfig
- Converted (1) to (__appmansuffix__) in a few more places
- Replaced http://www.freedesktop.org/cvs/ with http://gitweb.freedesktop.org/
(cherry picked from 1b029fd896 commit)
2006-12-18 14:51:49 -08:00
Samuel Thibault
bd7377f9e8 xfree86/hurd: re-add missing keyboard support (bug #5613)
Re-add missing hurd_io.c and hurd_kbd.c, which aren't needed in master,
but are required in the 1.2.x branch.
2006-12-16 19:41:25 +02:00
James Steven Supancic III
c10663e9cc Fix RENDER issues (bug #7555) and implement RENDER add/remove screen
support (bug #8485).
2006-12-16 12:04:42 -05:00
Kevin E Martin
7d927a6f6a For Xvfb, Xnest and Xprt, compile fbcmap.c with -DXFree86Server 2006-12-16 12:03:30 -05:00
Alan Hourihane
731952c561 Set Int10Current->Tag for the linux native int10 module
Fixes bug #9296
2006-12-13 12:13:11 +00:00
Keith Packard
91396f1430 Merge branch 'randr-1.2-for-server-1.2-origin' into randr-1.2-for-server-1.2 2006-12-13 01:21:53 -08:00
Keith Packard
612a8e6180 RandR 1.2 rotation code must adjust width/height.
Mode lines reflect the monitor mode, not the projected size into the frame
buffer. Flip width/height around so that the dimensions are oriented
correctly.
2006-12-13 01:21:32 -08:00
Keith Packard
6dc711833d RandR 1.0 refresh rates unscrambled. SetScreenConfig uses RRCrtcSet right.
RandR 1.0 refresh rates were scrambled when working with a 1.2 driver that
returned sizes in a mixed order. SetScreenConfig was treating RRCrtcSet as
returning an RandR status instead of a Bool.
2006-12-13 00:58:54 -08:00
Keith Packard
98d18a6578 RandR: config time updates when hardware config changes.
The config time in the RandR protocol reflects when the hardware state has
changed. It was getting changed anytime the driver changed the usage
of the hardware as well.
2006-12-12 22:59:03 -08:00
Keith Packard
78689d0d66 RandR mode list needs both output and crtc modes.
When an output no longer reports the current mode, it must still be included
in the list advertised by the X server. Walk the crtcs to ensure it is
included.
2006-12-12 20:16:49 -08:00
Keith Packard
12c9714ba7 Merge branch 'server-1.2-branch' into randr-1.2-for-server-1.2 2006-12-12 09:22:14 -08:00
Alan Hourihane
8049eeea99 Fix bad commit
(cherry picked from 81281cb298 commit)
2006-12-12 11:28:55 +00:00
Alan Hourihane
f604d0b69a Fix Xming fails to use xkb bug
bug #5049 (Colin Harrison)
(cherry picked from 792e0f71c6 commit)
2006-12-11 14:55:15 +00:00