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

[OGL] surface->sw blit is extremely slow

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u4, 8, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved: