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

Pixel readback performance for the ES2 pipeline has room for improvement

    XMLWordPrintable

    Details

      Description

      ES2RTTexture.readPixels():
      This method could use the pixels buffer directly if it is a ByteBuffer. It would still have to run through and reverse the B's and R's, but it would save on an extra allocation.

      And possibly even in the int buffer case - can GL read into an int buffer as well? Again, the bytes would still have to be swapped and that case would probably have to deal with endian issues, but it would save the allocation...

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ckyang Chien Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Imported: