1. 09 Mar, 2016 1 commit
  2. 30 Jun, 2015 1 commit
  3. 25 Apr, 2014 1 commit
  4. 03 Apr, 2014 1 commit
  5. 15 May, 2013 1 commit
  6. 21 May, 2012 1 commit
  7. 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
  8. 16 Oct, 2011 1 commit
  9. 03 Oct, 2011 2 commits
    • Aaron Plattner's avatar
      xfree86/modes: Make cursor position transform a helper function · 57cd32e9
      Aaron Plattner authored
      When the driver can handle the crtc transform in hardware, it sets
      crtc->driverIsPerformingTransform, which turns off both the shadow
      layer and the cursor's position-transforming code.  However, some
      drivers actually do require the cursor position to still be
      transformed in these cases.  Move the cursor position transform into a
      helper function that can be called by such drivers.
      Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
      57cd32e9
    • Aaron Plattner's avatar
      xfree86/modes: Let the driver handle the transform · 245cb8e9
      Aaron Plattner authored
      If a driver can use hardware to handle the crtc transform, then
      there's no need for the server's shadow layer to do it.  Add a crtc
      flag that lets the driver indicate that it is handling the transform.
      If it's set, consider the transformed size of the screen but don't
      actually enable the shadow layer.  Also stop adjusting the cursor
      image and position.
      Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
      245cb8e9
  10. 20 Sep, 2011 1 commit
  11. 23 Feb, 2011 1 commit
  12. 07 Dec, 2010 1 commit
  13. 30 Nov, 2010 1 commit
    • Aaron Plattner's avatar
      xfree86: Fix rotation of 2-color non-interleaved cursor images · ffcbfa00
      Aaron Plattner authored
      When RandR 1.2's transformation code is enabled, it rotates the cursor
      image so that it appears upright on a rotated screen.  This code
      completely mangles 2-color cursors on hardware where the the mask and
      source images are not interleaved due to two problems:
      
      1. stride is calculated as (width / 4) rather than (width / 8), so the
         expression (y * stride) skips two lines instead of one for every
         time y is incremented.
      2. cursor_bitpos ignores the 'mask' parameter if the hardware doesn't
         specify any of the HARDWARE_CURSOR_SOURCE_MASK_INTERLEAVE_* flags.
      
      To fix this, refactor the code to pass the whole xf86CursorInfoPtr
      through to cursor_bitpos and compute the correct stride there based on
      the flags.  If none of the SOURCE_MASK_INTERLEAVE flags are set, use
      the total cursor size to move the 'image' variable into the mask part
      of the image before computing the desired byte pointer.
      Signed-off-by: Aaron Plattner's avatarAaron Plattner <aplattner@nvidia.com>
      Reviewed-by: default avatarRobert Morell <rmorell@nvidia.com>
      Reviewed-by: Alex Deucher's avatarAlex Deucher <alexdeucher@gmail.com>
      Tested-by: Cyril Brulebois's avatarCyril Brulebois <kibi@debian.org>
      ffcbfa00
  14. 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
  15. 22 Jun, 2010 1 commit
  16. 11 Jun, 2010 1 commit
  17. 12 May, 2010 1 commit
  18. 11 May, 2010 1 commit
  19. 19 Apr, 2010 1 commit
  20. 15 Mar, 2010 1 commit
  21. 22 Sep, 2009 2 commits
  22. 21 Sep, 2009 1 commit
  23. 16 Sep, 2009 1 commit
  24. 26 Aug, 2009 1 commit
  25. 15 Jul, 2009 1 commit
    • Peter Hutterer's avatar
      Update to xextproto 7.0.99.1. · d3f6b43a
      Peter Hutterer authored
      xextproto had Xlib client headers moved into libXext.
      Protocol header files are named fooproto.h, header files with constants
      foo.h or fooconst.h where foo.h was already in use for client-side headers.
      d3f6b43a
  26. 03 Dec, 2008 2 commits
    • Paulo Cesar Pereira de Andrade's avatar
      Rework symbol visibility for easier maintenance · 49f77fff
      Paulo Cesar Pereira de Andrade authored
        Save in a few special cases, _X_EXPORT should not be used in C source
      files. Instead, it should be used in headers, and the proper C source
      include that header. Some special cases are symbols that need to be
      shared between modules, but not expected to be used by external drivers,
      and symbols that are accessible via LoaderSymbol/dlopen.
      
        This patch also adds conditionally some new sdk header files, depending
      on extensions enabled. These files were added to match pattern for
      other extensions/modules, that is, have the headers "deciding" symbol
      visibility in the sdk. These headers are:
      o Xext/panoramiXsrv.h, Xext/panoramiX.h
      o fbpict.h (unconditionally)
      o vidmodeproc.h
      o mioverlay.h (unconditionally, used only by xaa)
      o xfixes.h (unconditionally, symbols required by dri2)
      
        LoaderSymbol and similar functions now don't have different prototypes,
      in loaderProcs.h and xf86Module.h, so that both headers can be included,
      without the need of defining IN_LOADER.
      
        xf86NewInputDevice() device prototype readded to xf86Xinput.h, but
      not exported (and with a comment about it).
      49f77fff
    • Stuart Bennett's avatar
      xf86Cursors: xf86_reload_cursors shouldn't unconditionally show hwcursor (#14820) · 0b8f8b24
      Stuart Bennett authored
      Also, no need to call ShowCursor when SetCursorPosition already does it
      Based on a previous patch by Maarten Maathuis
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      0b8f8b24
  27. 26 Nov, 2008 1 commit
  28. 24 Nov, 2008 3 commits
  29. 27 Aug, 2008 1 commit
  30. 19 May, 2008 1 commit
  31. 02 May, 2008 1 commit
  32. 20 Mar, 2008 2 commits
  33. 19 Mar, 2008 1 commit
  34. 06 Mar, 2008 1 commit