1. 03 Apr, 2014 1 commit
  2. 24 Apr, 2013 1 commit
  3. 07 Jul, 2012 3 commits
  4. 06 Jul, 2012 1 commit
  5. 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:
      	-T PrivatePtr
      	-T pmWait
      	-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:
      for dir in $dir1 $dir2; do
      	(cd $dir && find . -name '*.o' | while read file; do
      		dir=`dirname $file`
      		base=`basename $file .o`
      		objdump -d $file > $dump
      find $dir1 -name '*.dump' | while read dump; do
      	otherdump=`echo $dump | sed "s;$dir1;$dir2;"`
      	diff -u $dump $otherdump
      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>
  6. 23 Nov, 2011 1 commit
  7. 10 Oct, 2011 1 commit
  8. 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>
    • 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>
  9. 23 Feb, 2011 4 commits
  10. 07 Dec, 2010 4 commits
  11. 25 Feb, 2010 1 commit
  12. 01 Oct, 2009 1 commit
    • Keith Packard's avatar
      Re-fix DGA removal. · db98b26e
      Keith Packard authored
      Removing DGA ended up breaking any drivers calling into the old
      xf86DiDGAInit function as it tried to see if DGA was already enabled
      and ended up crashing if the VT wasn't completely initialized. Oops.
      Also, if the driver initializes DGA itself, have the DiDGA
      initialization overwrite that information as the DiDGA code will call
      ReInit on mode detect.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
  13. 17 Feb, 2009 1 commit
    • Keith Packard's avatar
      Eliminate the shadow clear on transform change · 5394b7e6
      Keith Packard authored
      When the crtc transformation changes, the entire crtc must be repainted.
      This was being done by clearing the shadow and then painting the rectangle
      containing the screen image; the clear being required as the screen image
      may not fill the crtc. When changing the transform rapidly, this leads to
      flashing. Eliminate the clear by painting the entire crtc instead of just
      the screen rectangle.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
  14. 05 Jan, 2009 2 commits
  15. 18 Dec, 2008 1 commit
  16. 17 Dec, 2008 2 commits
    • Maarten Maathuis's avatar
      randr: some improvements, fixes and crtc abi bump · 9fa15bef
      Maarten Maathuis authored
      - Add active field to crtc.
      - Set gamma (only) whenever a crtc becomes active.
      - Check for xf86_config being NULL.
      - Increase crtc abi to 3.
      - A few other fixes.
    • Maarten Maathuis's avatar
      randr: Improve per-crtc gamma support. · 91f73b79
      Maarten Maathuis authored
      - The Gamma values from the monitor section are now used during initial config.
      - The old colormap system is disabled when gamma set hook is available.
      - Gamma values are now persistent for the lifetime of the xserver.
      - This requires no driver changes and should be driver ABI compatible.
  17. 15 Dec, 2008 1 commit
  18. 11 Dec, 2008 1 commit
  19. 07 Dec, 2008 1 commit
    • Paulo Cesar Pereira de Andrade's avatar
      Use libtool convenience libraries and better "symbol" table. · b1dac41f
      Paulo Cesar Pereira de Andrade authored
        All .a libraries were converted to .la, and instead of linking the
      Xorg binary with a mix of .a and .la, and adding some libraries more
      then once in the command line, etc, now it generates a single libxorg.la
      from all the required convenience libraries, and links with a dummy
      xorg.c (that should usually be the file with the main function...).
      This removes the requirement of some things like libosandcommon and
      libinit, that existed to circumvent problems when linking multiple
      .a and .la in the final Xorg binary.
        The "symbol table" is now generated dynamically, by a shell script,
      with an embedded gawk parser that parses cpp output. The new file
      sdksyms.sh is generated by hand by analyzing all Makefile.am's and
      making it create a sdksyms.c file, that includes all sdk headers that
      will add symbols for the Xorg binary. Module headers aren't read, and
      a in 2 files it was required to add a "<hash>ifndef XorgLoader" around
      declarations shared between the Xorg binary and libextmod. A few
      other changes were added to other sdk headers, like preventing
      multiple inclusion, or including other headers to satisfy dependencies.
        This should be a lot more portable, and better (hopefully properly)
      using libtool to generate convenience libraries.
  20. 04 Dec, 2008 3 commits
  21. 03 Dec, 2008 1 commit
    • 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).
  22. 24 Nov, 2008 5 commits
  23. 29 Apr, 2008 1 commit
    • Hong Liu's avatar
      Keep rotation wrappers in place while transforms are in use · f65a1a62
      Hong Liu authored
      LeaveVT/EnterVT cycles will free/realloc shadow frame buffers. Because of
      this, the presense/absence of that data is insufficient to know whether
      the screen function wrappers are necessary. Instead, the 'transform_in_use'
      flag should be used.
      This patch also adds 'xf86RotateFreeShadow' for drivers to use at LeaveVT
      time to free the rotation data; it will be reallocated on EnterVT.