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

[OGL] surface->sw blit is extremely slow

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 7u4, 8, 9
    • 9
    • client-libs
    • 2d
    • b22
    • generic
    • generic

    Backports

      Description

        The problem is in the j2d_glReadPixels() in OGLBlitLoop.c:

                    // we must read one scanline at a time because there is no way
                    // to read starting at the top-left corner of the source region
                    while (height > 0) {
                        j2d_glPixelStorei(GL_PACK_SKIP_ROWS, dsty);
                        j2d_glReadPixels(srcx, srcy, width, 1,
                                         pf.format, pf.type, pDst);
                        srcy--;
                        dsty++;
                        height--;
                    }

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                serb Sergey Bylokhov
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: