Optimize the bresenham function used by the xrender pipeline

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: client-libs
    • 2d
    • x86
    • linux

      A DESCRIPTION OF THE REQUEST :
      The xrender pipeline uses a bresenham function as "defined in the book" to emulate lines by drawing a series of rectangles, as many Xorg drivers are not able to accelerate diagonal lines.

      The function however does not take into account that rectangles can span more than 1 pixel in a diretcion, so for almost horizontal/verical lines a lot more rectangles than really required are emmited.

      JUSTIFICATION :
      to improve performance of diagonal lines with the xrender backend

            Assignee:
            Philip Race
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: