1. 24 Sep, 2015 1 commit
  2. 08 Jul, 2015 1 commit
  3. 21 Apr, 2015 1 commit
  4. 12 Nov, 2014 1 commit
  5. 28 Oct, 2014 1 commit
  6. 27 Oct, 2014 1 commit
  7. 09 Oct, 2014 2 commits
  8. 22 Apr, 2014 1 commit
  9. 03 Apr, 2014 1 commit
  10. 01 Apr, 2014 1 commit
    • Kristian Høgsberg's avatar
      composite: Add exception mechanism for implicit redirection policy · 4ba7b594
      Kristian Høgsberg authored
      Normally composite will decide to add implicit redirection when a
      window with an alternate visual is a parent of a window with a regular
      visual or vice versa.  This uses extra pixmap memory and incurs an extra
      copy.  This exception mechanism provides a way for a DDX to override this
      if the DDX knows that its acceleration architecture will render correctly.
      
      The relevant case is that of an RGB window reparented into a ARGB parent
      frame window.  If the DDX knows that the acceleration architecture in use
      will pad the alpha channel to opaque when rendering to the RGB window,
      the implicit redirection can be avoided.
      
      This patch adds a new composite function:
      
        CompositeRegisterImplicitRedirectionException()
      
      which lets a DDX register a pair of parent and child window visuals, that
      will not be implicitly redirected even if the normal policy would have
      made that choice.
      Signed-off-by: default avatarKristian Høgsberg <krh@bitplanet.net>
      Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
      4ba7b594
  11. 23 Jan, 2014 1 commit
  12. 12 Jan, 2014 2 commits
  13. 09 Dec, 2013 3 commits
  14. 10 Sep, 2013 1 commit
  15. 06 Feb, 2013 1 commit
    • Alan Coopersmith's avatar
      Stop leaking overlayWin in PanoramiXCompositeGetOverlayWindow error paths · 48b94651
      Alan Coopersmith authored
      Found by parfait 1.1 code analyzer:
      
      Error: Memory leak (CWE 401)
         Memory leak of pointer 'overlayWin' allocated with malloc(72)
              at line 806 of composite/compext.c in function 'PanoramiXCompositeGetOverlayWindow'.
                pointer allocated at line 794 with malloc(72).
                <unknown> leaks when rc != 0 at line 804.
              at line 816 of composite/compext.c in function 'PanoramiXCompositeGetOverlayWindow'.
                pointer allocated at line 794 with malloc(72).
                <unknown> leaks when pOc == NULL at line 815.
              at line 825 of composite/compext.c in function 'PanoramiXCompositeGetOverlayWindow'.
                pointer allocated at line 794 with malloc(72).
                <unknown> leaks when cs->pOverlayWin == NULL at line 822
                    and compCreateOverlayWindow(pScreen) == 0 at line 823.
              at line 834 of composite/compext.c in function 'PanoramiXCompositeGetOverlayWindow'.
                pointer allocated at line 794 with malloc(72).
                <unknown> leaks when rc != 0 at line 832.
      Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
      48b94651
  16. 10 Jul, 2012 4 commits
  17. 28 Jun, 2012 1 commit
  18. 05 Jun, 2012 1 commit
  19. 19 Apr, 2012 1 commit
  20. 18 Apr, 2012 1 commit
  21. 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: default avatarKeith Packard <keithp@keithp.com>
      Acked-by: default avatarDaniel Stone <daniel@fooishbar.org>
      Acked-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      9838b703
  22. 20 Oct, 2011 1 commit
  23. 21 Sep, 2011 1 commit
  24. 04 Aug, 2011 2 commits
  25. 04 May, 2011 6 commits
  26. 15 Apr, 2011 1 commit
  27. 10 Mar, 2011 1 commit