1. 23 Mar, 2017 1 commit
  2. 18 Jul, 2016 1 commit
  3. 21 Jun, 2016 1 commit
  4. 08 Jul, 2015 1 commit
    • Dave Airlie's avatar
      prime: add rotation support for offloaded outputs (v2) · 90db5edf
      Dave Airlie authored
      One of the lacking features with output offloading was
      that screen rotation didn't work at all.
      This patch makes 0/90/180/270 rotation work with USB output
      and GPU outputs.
      When it allocates the shared pixmap it allocates it rotated,
      and any updates to the shared pixmap are done using a composite
      path that does the rotation. The slave GPU then doesn't need
      to know about the rotation and just displays the pixmap.
      rewrite the sync dirty helper to use the dst pixmap, and
      avoid any strange hobbits and rotations.
      This breaks ABI in two places.
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
  5. 30 Jun, 2015 1 commit
  6. 31 Jul, 2014 1 commit
  7. 29 Jul, 2014 1 commit
  8. 17 Jul, 2014 2 commits
    • Keith Packard's avatar
      hw/xfree86: Let xf86Rotate leave the BlockHandler unwrapped when possible · 3319e704
      Keith Packard authored
      When no shadow frame buffer is needed, the rotate block handler
      doesn't need to be called any more. Remove it from the chain.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
    • Keith Packard's avatar
      hw/xfree86: Fix block handler wrapping in xf86Rotate · 08fc3304
      Keith Packard authored
      xf86Rotate, it was delaying unwrapping the BlockHandler until after
      calling xf86RotateRedisplay. If there was a software cursor on the
      screen, the redisplay operation would cause cursor to be removed from
      the frame buffer and the misprite block handler to be inserted into
      the block handler chain with the misprite screen private saved block
      handler now set to xf86RotateBlockHandler.
      When xf86RotateRedisplay returned, xf86RotateBlockHandler would then
      set screen->BlockHandler to its saved value, call down and then reset
      screen->BlockHandler to xf86RotateBlockHandler. miSpriteBlockHandler
      would never be called after that, which meant that the software cursor
      will now disappear from the screen whenever rendering overlapped and
      would only reappear when the cursor was moved.
      To correct this, all that is needed is to move the restoration of
      screen->BlockHandler to the top of xf86RotateBlockHandler, before the
      call to xf86RotateRedisplay.
      Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
      Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
  9. 12 Jan, 2014 2 commits
  10. 10 Sep, 2013 1 commit
  11. 07 Jul, 2012 1 commit
  12. 28 Jun, 2012 1 commit
  13. 05 Jun, 2012 1 commit
  14. 21 May, 2012 3 commits
  15. 24 Apr, 2012 1 commit
  16. 08 Apr, 2012 1 commit
  17. 30 Mar, 2012 1 commit
  18. 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>
  19. 03 Oct, 2011 2 commits
  20. 23 Feb, 2011 1 commit
  21. 07 Dec, 2010 1 commit
  22. 10 Nov, 2010 1 commit
  23. 06 Jun, 2010 2 commits
  24. 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)
  25. 12 May, 2010 1 commit
  26. 02 Oct, 2009 1 commit
  27. 09 Sep, 2009 1 commit
  28. 26 Aug, 2009 2 commits
  29. 15 Jul, 2009 1 commit
    • Peter Hutterer's avatar
      Update to xextproto · 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.
  30. 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>
  31. 04 Feb, 2009 1 commit
  32. 09 Jan, 2009 1 commit
    • Haihao Xiang's avatar
      avoid a potential endless loop. · 5f318822
      Haihao Xiang authored
      Previously it is possible that creating rotation data, then cleaning
      up and creating again so that pScreen->BlockHandler and
      xf86_config->BlockHandler all point to xf86RotateBlockHandler.
      See bug #19343.
  33. 16 Dec, 2008 1 commit