summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-02-17glx: Inialize best_score before calculating visual scoresIan Romanick1-1/+1
This bug was pointed out by Peter Åstrand. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-02-16XQuartz: Add driWrap.h that I missed in the last commit.George Staplin1-0/+31
This should complete the GLXPixmap commits for now. (cherry picked from commit 7e99b55651bf7f6275bb227d02f203fb885a67a2)
2009-02-16XQuartz: Add support for GLXPixmaps to the AppleDRI.George Staplin7-10/+892
This involved wrapping some GCOps to get the proper behavior when using X11 raster ops mixed with OpenGL (see driWrap.c). This extends the AppleDRI protocol with create and destroy pixmap functions. The dri.c code has been extended quite a bit to enable this, and to initialize the wrapping of CreateGC for GCOps. This has been tested with tests/glxpixmap and proven to work with the new libGL. Existing applications seem to work fine too. Redraws all appear to be correct. There may be some bugs lurking that I haven't found yet. I plan to drive them out by extending the libGL test suite. (cherry picked from commit 630518766b01022c49fe3a9e7d501808f71b06e2)
2009-02-16kdrive: Nuke dead AGP and VGA code. (#19921)Adam Jackson7-900/+0
2009-02-16Build fix, remove export of pciBusAddrToHostAddrChris Ball1-1/+0
a9d7d659.. (PCI: Remove pciBusAddrToHostAddr and associated nonsense) removes pciBusAddrToHostAddr(), but not its prototype, resulting in: ./.libs/libxorg.a(sdksyms.o):(.data.rel+0xe64): undefined reference to `pciBusAddrToHostAddr' Signed-off-by: Chris Ball <cjb@laptop.org>
2009-02-16xfree86: ModeDebug is a boolean, not a stringJulien Cristau1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-02-17xkb: Fix wrong colour reference in XKB geometry copying. #20081Peter Hutterer1-2/+2
base_color and label_color need to reference the color in the destination, not in the source. X.Org Bug 20081 <http://bugs.freedesktop.org/show_bug.cgi?id=20081> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2009-02-16PCI: Remove pciBusAddrToHostAddr and associated nonsenseAdam Jackson7-334/+1
This was all a glorified no-op. We rely on pciaccess to create device maps anyway, so we should have no reason to care about what the host address is. Acked-by: Ian Romanick <ian.d.romanick at intel.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-02-16Linux: Remove dead USE_DEV_FB #ifdefsAdam Jackson1-34/+0
2009-02-16glx: Add comments around some extension string weirdnessIan Romanick2-1/+9
2009-02-16exa: reintroduce src rect optimisation, with a slightly higher threshold.Maarten Maathuis1-0/+7
- I got some feedback on gtkperf line test regression. - The increased threshold should ensure the destination optimisation is dominant.
2009-02-16exa: fix performance regression from 736b6fbd2c941b6276066cd1503523edebe7bf3dMaarten Maathuis2-10/+12
- The src optimisation is more aggressive and possibly harmful in light of the new initial state of pixmaps. - There is now actually a performance improvement by almost always keeping the number of rects low.
2009-02-16xorg.conf (5) refer to mousedrv (4). Debian #394058David Nusinow1-1/+1
Signed-off-by: Julien Cristau <jcristau@debian.org>
2009-02-16dri2: support glXWaitGL & glXWaitX by copying fake front to front andAlan Hourihane4-11/+67
vice-versa.
2009-02-16xserver: Avoid sending uninitialized padding data over the networkPeter Åstrand24-16/+86
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-16dix: Remove lastEventMask variable, substitute with a #define.Peter Hutterer1-4/+2
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-16dix: Don't set core events in SetMaskForEvent.Peter Hutterer3-20/+32
Rather, modify the two callers to call separately for the two different. events. Unexport SetMaskForEvent too. And while we're at it, get rid of the MotionFilter macro, because it's one half confusing and one half pointless. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-16Xi: remove dynamic mask assignment for XI events.Peter Hutterer5-122/+71
They end up being the same anyway on startup, so let's not have a dynamic mask assignment mechanism and instead just hardcode them already. Also unexport SelectForWindow and remove the valid_masks parameter. We can check that before calling, since there's only one caller anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-16Remove two more define XKB leftovers.Peter Hutterer2-4/+0
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-15EXA: Try to prevent the valid regions from growing too many rects.Michel Dänzer1-1/+28
This helps contain region management overhead in some pathological cases, see e.g. http://bugs.freedesktop.org/show_bug.cgi?id=16647 . Signed-off-by: Michel Dänzer <daenzer@vmware.com>
2009-02-13Build fix for xf86EdidModes.cChris Ball1-1/+1
Commit 20ac314.. forgets to declare hsize/vsize/refresh.
2009-02-13Input: Don't re-block SIGIO in xf86SigioReadInput()Adam Jackson1-5/+2
It's already blocked on the way in, because we asked for it to be blocked at sigaction() time.
2009-02-13Query the DDX in ProcRRGetScreenInfo.Aaron Plattner1-1/+1
This is the RandR 1.1 version of GetScreenResources and needs to re-query the DDX to see if the mode pool changed. Fixes Launchpad bug #325115. Signed-off-by: Adam Jackson <ajax@redhat.com> (cherry picked from commit 660c2a7d4c6cb52fd0992e9d2008a24805dc8c02)
2009-02-13EDID: Hack for 1366x768 in standard timing descriptorsAdam Jackson1-11/+19
All you get for standard timing descriptors is horizontal size in multiples of 8 pixels (which means you can't say 1366) and height in terms of aspect ratio (which means you can't say 768). You'd like to just fuzzy-match this by walking the DMT list for sufficiently close modes, but you can't because DMT is useless and only defines a 1360x768 mode, because it's _also_ specified in terms of character cells despite providing pixel exact timings. Neither can you use CVT or GTF to generate the timings, because they _also_ believe that modes have to be a multiple of 8 pixels. You'd also hope you could find a timing definition for this in CEA, but you can't because CEA only defines transmission formats that actually exist. So there's 480p, 720p, and 1080p, but no 768p. And why would there be, after all, the encoded signal is never 768p so obviously no one would ever make a display in that format. So instead, make a CVT mode since that's likely to be handled well by just about everything, smash the horizontal active down by 2, and shift the sync pulse by 1. Underscanning the hard way. Pass the suicide.
2009-02-13RANDR: Validate entire mode list for interlace and doublescanAdam Jackson3-11/+13
Otherwise drivers have to refuse interlace twice: once in the output config, and once in ->valid_mode() to catch output and config modes. If you can't do interlaced modes, asking nicely for it in the config isn't going to suddenly make it work.
2009-02-13glx: fix retval checks when failures occur for drawable creation.Alan Hourihane1-1/+9
2009-02-13xext: Use proto header rather than the Xext include file, this prevents ↵Benjamin Close1-2/+1
userspace being pulled in causing issues Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-02-13dix: Remove includes which are not actually used directlyBenjamin Close2-8/+0
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Daniel Stone <daniel@fooishbar.org>
2009-02-13dix: remove DefineInitialRootWindow()Peter Hutterer3-15/+0
Obsolete. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-13dix: doxygen-ify enterleave.cPeter Hutterer1-46/+57
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-13Doxygen-ify bits of events.cPeter Hutterer1-20/+24
2009-02-13Document the event masks.Peter Hutterer3-13/+64
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-13dix: refactor pointer accelerationSimon Thum2-52/+94
The algorithm is split in a 2D-specific and a general part. This potentially allows to accelerate more than just screen motion. A state machine is intoduced to make code more explicit and readable. It also improves handling of 'phase 1' mickeys when axial correction kicks in (corner case). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-02-12Check for and report errors writing xorg.conf.new from Xorg -configureAlan Coopersmith1-2/+10
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-12Correct error message if specified config file is not foundAlan Coopersmith1-3/+2
By making the "Unable to open config file" header a warning, it was not appearing with the filename when a config file was specified and not found. Now we make it an error message again, but only issue the error if a filename was specified - if none was specified, then we don't even issue a warning, just the "Using autoconfig" info message. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-02-12XQuartz: xpr: The dri.c code for pixmaps was wrong in several ways. They ↵George Staplin1-17/+26
weren't being exported correctly by Xplugin. This should fix a bug with the surface for a window, when an export fails. Before the export could fail and leave behind an invalid (freed) pointer in the dix privates. I have an idea of how to fix the GLXPixmaps now without using CGLSetOffScreen. This work is a step towards that. The Xplugin will need a small patch to fix an issue that this change brought forth. (cherry picked from commit 58c4116c47543b5e30c2232e7bee8efc0b9be176)
2009-02-12XQuartz: Fix copyright info in Info.plist to be prettier when viewed in FinderJeremy Huddleston1-3/+3
(cherry picked from commit 8b607c9c507a68a6abda63831d227d0f8947028c)
2009-02-12Enable pbuffersIan Romanick2-1/+2
If a driver does not actually support pbuffer rendering, it can just not enable any pbuffer fbconfigs.
2009-02-12Xming: Update keyboard layouts mapping tableColin Harrison1-3/+18
An update to the keyboard layout mapping table which updates some no longer valid keyboard layout names (e.g. de_CH -> ch -variant de) and adds a few more reported layouts Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Xming: Check clipboard selection ownership after taking itColin Harrison2-4/+12
When you take ownership of a selection you should always check you got it (X11 ICCCM gospel). Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Xming: Fix a memory leak in clipboard integration codeColin Harrison1-0/+2
Free the memory allocated for ReturnData in FlushXEvents(). Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Xming: Fix prototype for winProcessXEventsTimeout() in clipboard integration ↵Colin Harrison1-1/+1
code Function 'winProcessXEventsTimeout()' is declared 'static Bool' and defined 'static int' (correct) in 'winclipboardwndproc.c'. This has been wrong since dot, but luckily was of no significance Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Xming: Improve clipboard integration startup in XDMCP modeColin Harrison1-8/+13
Improve clipboard integration startup in XDMCP mode Stop the "Clipboard not yet started, aborting" message from spamming the log. Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Xming: Select events correctly in clipboard integration codeColin Harrison1-9/+7
The clipboard should only select PropertyChange events and do this on the correct window, the messaging window for the clipboard not the root window! Copyright (C) Colin Harrison 2005-2008 http://www.straightrunning.com/XmingNotes/ http://sourceforge.net/projects/xming/ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Xming: Add Colin Harrison to copyright and authors list for clipboard ↵Colin Harrison4-16/+24
integration files Add Colin Harrison to copyright and authors list Adjust license text for multiple authors Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Cygwin/X: Place prototype for winSelectIcons() in a header fileJon TURNEY3-5/+2
Fixes warning as prototype is now in scope for the definition Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Cygwin/X: Place prototypes for winCheckKeyPressed() and winFixShiftKeys() in ↵Jon TURNEY2-4/+5
a header file Fixes warnings as they are now in scope at the definition Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12cygwin/X: Remove an unused variable to fix a warningJon TURNEY1-2/+0
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Cygwin/X: Fix several prototypes to return HICONJon TURNEY5-16/+16
Fix prototypes of winOverrideIcon(), winTaskbarIcon() and winOverrideDefaultIcon() to return HICON Also use HICON type in WINPREFS stucture Remove various casts these changes make unnecessary Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-02-12Cygwin/X: Fix -Wold-style-definition warningsJon TURNEY9-15/+15
Fix old-style definition warnings caused by definitions with empty parameter lists "()", which should be "(void)" to indicate the function takes no parameters, rather than unspecified parameters Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>