[OGL] surface->sw blit is extremely slow

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 7u4, 8, 9
    • Component/s: 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--;
                    }

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

                Created:
                Updated:
                Resolved: