1. 27 Feb, 2020 2 commits
    • Albert Astals Cid's avatar
      Update (C) of last commit · bad6503c
      Albert Astals Cid authored
      bad6503c
    • Albert Astals Cid's avatar
      Implement Splash::gouraudTriangleShadedFill for non parametrized shadings · 68af136f
      Albert Astals Cid authored
      Fixes #881
      
      Unfortunately only implemented for shadings where the 3 vertices of the
      triangle have the same color for now since i got lost trying to
      implement the coloring (and also have no pdf to check against)
      
      The reason this fixes #881 is because if Splash::gouraudTriangleShadedFill
      returns false because it doesn't natively support this shading, the
      default rendering algorithm of Gfx.cc kicks in, and that rendering what
      does is render different triangles without them knowing they belong to
      the same shading, meaning that if you have some opacity the edges of the
      triangles will overlap and and up having different color than the one
      you really wanted
      68af136f
  2. 07 Jan, 2020 1 commit
  3. 21 Dec, 2019 1 commit
  4. 19 Dec, 2019 1 commit
  5. 03 Dec, 2019 2 commits
  6. 02 Dec, 2019 1 commit
  7. 29 Nov, 2019 2 commits
  8. 07 Oct, 2019 3 commits
  9. 02 Oct, 2019 1 commit
  10. 30 Sep, 2019 1 commit
  11. 27 Sep, 2019 2 commits
  12. 01 Sep, 2019 1 commit
  13. 24 Aug, 2019 1 commit
  14. 20 Aug, 2019 1 commit
  15. 21 Jul, 2019 1 commit
    • StefanBruens's avatar
      SplashXPathScanner: Optionally use small_vector from boost · 355fd8d5
      StefanBruens authored
      Currently, each row in the intersections vector is allocated separately,
      when the first intersection is added.
      
      To avoid these allocations for common simple polygons,
      boost::container::small_vector<4, T> is used, which stores up to
      4 intersections inline. small_vector is a header-only class.
      
      For the documents from #57 (fdo#96728) and #24 (fdo#78728), the
      runtime/memory is significantly reduced (according to /usr/bin/time -v):
      (1) $> pdftoppm -r 18 -aa no runsforever-poppler.pdf
      (2) $> pdftoppm surf-types.pdf
      
      Before/After
                                        runsforever-poppler |   surf-types
      User time (seconds):                2348.08 / 1773.53 |   7.76 /  5.02
      Maximum resident set size (kbytes):   46288 /   45896 |  14076 / 13748
      355fd8d5
  16. 27 Jun, 2019 1 commit
  17. 21 Jun, 2019 1 commit
  18. 05 Jun, 2019 2 commits
  19. 14 May, 2019 1 commit
  20. 13 May, 2019 1 commit
  21. 22 Apr, 2019 2 commits
  22. 03 Apr, 2019 2 commits
  23. 21 Mar, 2019 6 commits
  24. 03 Feb, 2019 1 commit
  25. 19 Jan, 2019 1 commit
  26. 18 Jan, 2019 1 commit