26 Oct, 2015

1 commit



30 Jul, 2015

3 commits


02 Feb, 2015

1 commit


29 Jan, 2015

1 commit


10 Dec, 2014

2 commits


24 Nov, 2014

1 commit


17 Nov, 2014

1 commit


03 Dec, 2013

1 commit


18 Nov, 2013

1 commit


22 Jul, 2013

1 commit


21 Jul, 2013

2 commits


18 Jul, 2013

1 commit


17 Jul, 2013

3 commits


16 Jul, 2013

1 commit


15 Jul, 2013

1 commit


20 May, 2013

1 commit


15 May, 2013

2 commits


14 May, 2013

2 commits


13 May, 2013

3 commits


12 May, 2013

1 commit


01 Apr, 2013

1 commit


30 Mar, 2013

1 commit


21 Mar, 2013

1 commit


28 Feb, 2013

1 commit

  • Do not assign a value to rv, because this value is never used.
    Instead declare and assign a value to bool rv in the same line.
    
    Do not assign false to Bool readonly, because this value is never used.
    Instead declare the variable and assign a value in the same line.
    
    Other minor problems:
    
    Fixed some guaruntee->guarantee typos in comments.
    Fixed copyright headers still referring to the old .c files.
    Fixed wrong names in copyright headers.
    
    (LP: #1134251). Fixes: https://bugs.launchpad.net/bugs/1134251.
    
    Approved by Sam Spilsbury.
    MC Return
     

27 Feb, 2013

1 commit


26 Feb, 2013

4 commits

  • MC Return
     
  • (LP: #1027211) seems to be caused by vsync in the nvidia driver and posting lots of ConfigureWindow requests to the server. The driver really chokes on these for some reason. As a result, two things were happening:
    
    1. The driver slows down quite significantly
    2. We get more time to post more ConfigureWindow requests to the driver, which just slows it down even more until it grinds to a halt.
    
    This branch does three things:
    1. Introduces infrastructure for plugins to hold a "lock" on delivering ConfigureWindow requests until they choose to release it later (eg, on paint, or on ungrab), while still allowing core to override the plugin's decisions in cases where we actually need to post a ConfigureWindow request to the server in order to continue (eg, some other request is dependent on it). That code was TDD'ed into existence and has test coverage.
    2. Optimizes reconfigureXWindow to only configure the frame window if the only thing that happened was that we moved the window. This means that we only buffer up one ConfigureWindow instead of three per call to reconfigureXWindow
    3. Implements ConfigureRequestBuffer in both opengl and move. The default implementation in "opengl" is the "safe" version and releases its lock every time the window paints. That means that dragging around opengl rendered windows goes from a complete halt to a steady 12fps. In the move plugin, I've revived "lazy positioning" - off by default as it might be more unsafe, but this prevents all ConfigureWindow requests from being posted until the window is ungrabbed. That goes brings us from 12fps to 60fps.
    
    Approved by Brandon Schaefer.
    Sam Spilsbury
     
  • MC Return
     
  • MC Return