Skip to content
  1. May 04, 2018
  2. May 03, 2018
  3. Feb 26, 2018
  4. Jan 04, 2018
  5. Jan 01, 2018
  6. Nov 20, 2017
  7. Nov 08, 2017
  8. Oct 27, 2017
  9. Jun 10, 2017
  10. Jun 09, 2017
    • faiface's avatar
      optimize GLTriangles SetLen and Update · 1fd110ce
      faiface authored
      1fd110ce
    • faiface's avatar
      minor, mostly stylistic, changes · c0766504
      faiface authored
      c0766504
    • Seebs's avatar
      Don't duplicate computations in gltriangles.go · ce8687b8
      Seebs authored
      The computation including a call to Stride() can't be optimized away
      safely because the compiler can't tell that Stride() is effectively
      constant, but we know it won't change so we can make a slice pointing
      at that part of the array.
      
      CPU time for updateData goes from 26.35% to 18.65% in my test case.
      ce8687b8
    • Seebs's avatar
      Simplify Matrix math, use 6-value affine matrixes. · c321515d
      Seebs authored
      It turns out that affine matrices are much simpler than the 3x3 matrices
      they imply, and we can use this to dramatically streamline some code.
      For a test program, this was about a 50% gain in frame rate just from
      the cost of the applyMatrixAndMask calls in imdraw, which were calling
      matrix.Project() many times. Simplifying matrix.Project, alone, got a
      nearly 50% frame rate boost!
      
      Also modify pixelgl's SetMatrix to copy the six values of a 3x2
      Affine into the corresponding locations of a 3x3 matrix.
      c321515d
  11. May 28, 2017
  12. May 27, 2017
  13. May 21, 2017
  14. May 17, 2017
  15. May 10, 2017
  16. May 01, 2017
  17. Apr 30, 2017
  18. Apr 28, 2017
  19. Apr 26, 2017
  20. Apr 22, 2017
  21. Apr 21, 2017
  22. Apr 13, 2017
  23. Apr 12, 2017