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

Pixel readback performance for the ES2 pipeline has room for improvement

XMLWordPrintable

      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...

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

              Created:
              Updated:
              Imported: