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

[OGL] surface->sw blit is extremely slow

XMLWordPrintable

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

        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--;
                    }

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

                Created:
                Updated:
                Resolved: