Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7161406

Optimize the bresenham function used by the xrender pipeline

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7
    • 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

            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: