1. 07 Jul, 2012 4 commits
  2. 06 Jul, 2012 1 commit
  3. 05 Jun, 2012 1 commit
  4. 21 May, 2012 3 commits
  5. 08 May, 2012 1 commit
    • James Cloos's avatar
      Fix RANDR’s gamma_to_ramp(). · afc153a5
      James Cloos authored
      In order to generate a 256-entry ramp in [0,65535] which covers the full
      range, one must mupliply eight-bit values not by 256 but rather by 257.
      
      Many years back – well before the RANDR extension was written, and
      before xorg@fdo – a similar bug fix was made to the DIX for converting
      client-supplied eight-bit color values into sixteen-bit values.
      
      Noticed by: Elle Stone and Graeme Gill.
      Signed-off-by: James Cloos's avatarJames Cloos <cloos@jhcloos.com>
      afc153a5
  6. 21 Mar, 2012 1 commit
    • Keith Packard's avatar
      Introduce a consistent coding style · 9838b703
      Keith Packard authored
      This is strictly the application of the script 'x-indent-all.sh'
      from util/modular. Compared to the patch that Daniel posted in
      January, I've added a few indent flags:
      
      	-bap
      	-psl
      	-T PrivatePtr
      	-T pmWait
      	-T _XFUNCPROTOBEGIN
      	-T _XFUNCPROTOEND
      	-T _X_EXPORT
      
      The typedefs were needed to make the output of sdksyms.sh match the
      previous output, otherwise, the code is formatted badly enough that
      sdksyms.sh generates incorrect output.
      
      The generated code was compared with the previous version and found to
      be essentially identical -- "assert" line numbers and BUILD_TIME were
      the only differences found.
      
      The comparison was done with this script:
      
      dir1=$1
      dir2=$2
      
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		dump=$dir/$base.dump
      		objdump -d $file > $dump
      	done)
      done
      
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      done
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Acked-by: Daniel Stone's avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  7. 13 Oct, 2011 1 commit
  8. 25 Apr, 2011 1 commit
  9. 28 Mar, 2011 1 commit
  10. 23 Feb, 2011 7 commits
  11. 22 Feb, 2011 1 commit
  12. 07 Dec, 2010 7 commits
  13. 24 Nov, 2010 2 commits
  14. 28 Sep, 2010 2 commits
    • Chris Wilson's avatar
      xfree86: Kill pixmapPrivate with a vengeance (v2) · 5c6a2f93
      Chris Wilson authored
      ScrnInfo->pixmapPrivate only existed in order to catch invalid access to
      the framebuffer by making the backing data NULL across the VT switch.
      This was causing more confusion in the higher layers during mode setting
      without any real benefit, so remove it.
      
      v2: Kill ShadowModifyPixmapHeader() as well.
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Julien Cristau <jcristau@debian.org>
      Cc: Andrew Guertin <lists@dolphinling.net>
      Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      5c6a2f93
    • Chris Wilson's avatar
      modes: Beware the driver switching root pixmaps · fdabcec5
      Chris Wilson authored
      Program received signal SIGSEGV, Segmentation fault.
      0x080d4a2d in xf86RandR12ScreenSetSize (pScreen=0x8dca3a0, width=800,
          height=600, mmWidth=210, mmHeight=157)
          at ../../../../hw/xfree86/modes/xf86RandR12.c:731
      731     ../../../../hw/xfree86/modes/xf86RandR12.c: No such file or directory.
              in ../../../../hw/xfree86/modes/xf86RandR12.c
      (gdb) bt full
          height=600, mmWidth=210, mmHeight=157)
          at ../../../../hw/xfree86/modes/xf86RandR12.c:731
              randrp = 0x8dcae68
              pScrn = 0x8dbeb28
              config = <value optimized out>
              pRoot = 0x8e08e30
              pScrnPix = 0xb6d12008
              ret = 1
              c = <value optimized out>
          mmWidth=210, mmHeight=157) at ../../randr/rrscreen.c:185
      No locals.
          at ../../randr/rrscreen.c:307
              pWin = 0x8e08e30
              pScreen = 0x8dca3a0
              i = <value optimized out>
              rc = 0
      ../../randr/randr.c:485
      Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Julien Cristau <jcristau@debian.org>
      Tested-by: Julien Cristau's avatarJulien Cristau <jcristau@debian.org>
      Cc: Keith Packard <keithp@keithp.com>
      Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      fdabcec5
  15. 18 Sep, 2010 1 commit
    • Jamey Sharp's avatar
      Xserver need not be compatible with old versions of xserver. · e4d4d6dd
      Jamey Sharp authored
      Delete time-traveling multiple personality disorder from the server.
      
      Gaetan notes:
      
          There were a couple of drivers containing an unknown version of the
          modes/parser code. This was done in server 1.2 time frame because it
          was released without mode code. It was barely or not maintained
          afterwards. There are currently no video drivers with a copy of the
          modes code.
      
      Most of these ifdefs were introduced in commit
      a8d760f5, where Aaron wrote,
      
          This change uses XORG_VERSION_CURRENT < 7.0 to mean "server newer
          than 1.2" since XORG_VERSION current went backwards at some point.
      
      Alan explains that:
      
          In Xorg 1.3, when we first released an Xorg server release decoupled
          from the katamari release schedule.  (1.0 through 1.2 were released
          as part of X11R7.0 through 7.2, while 1.3 came out between X11R7.2 &
          7.3.)
      
      Commit by Jamey Sharp and Josh Triplett.
      Signed-off-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
      Signed-off-by: Josh Triplett's avatarJosh Triplett <josh@joshtriplett.org>
      Reviewed-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
      e4d4d6dd
  16. 15 Jun, 2010 1 commit
  17. 06 Jun, 2010 1 commit
  18. 03 Jun, 2010 1 commit
    • Jamey Sharp's avatar
      Move each screen's root-window pointer into ScreenRec. · e7fae9ec
      Jamey Sharp authored
      Many references to the WindowTable array already had the corresponding
      screen pointer handy, which meant they usually looked like
      "WindowTable[pScreen->myNum]". Adding a field to ScreenRec instead of
      keeping this information in a parallel array simplifies those
      expressions, and eliminates a MAXSCREENS-sized array.
      
      Since dix uses this data, a screen private entry isn't appropriate.
      
      xf86-video-dummy currently uses WindowTable, so it needs to be updated
      to reflect this change.
      Signed-off-by: Jamey Sharp's avatarJamey Sharp <jamey@minilop.net>
      Reviewed-by: default avatarTiago Vignatti <tiago.vignatti@nokia.com>
      Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
      e7fae9ec
  19. 12 May, 2010 1 commit
  20. 27 Apr, 2010 1 commit
    • Adam Jackson's avatar
      Remove mibank support · ffaae7c0
      Adam Jackson authored
      Banked framebuffers are so 1990.  As of 7.4 the only drivers remaining
      that used this were chips, neomagic, trident, and vesa.  vesa only used
      it when not using shadowfb, which is broadly undesirable anyway, and no
      longer uses it at all as of 2.3.0.  neomagic never used it by default,
      and support for it is gone in git master.  The other two effectively
      only ever used it for ISA chips; since ISA support is now gone from
      the server, they have been modified to only compile mibank support when
      ISA support is available.
      Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
      Reviewed-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      ffaae7c0
  21. 25 Feb, 2010 1 commit