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

ES2Texture: create() remove padding; uploadPixels() caches buffer as static

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • tbd
    • None
    • javafx
    • None

      1.create(): remove padding
      we really only need the padding here to implement the
      CLAMP_TO_ZERO mode on devices and/or to implement the edge
      smoothing tricks; but currently neither of those are needed/used
      for regular ES2Texture objects, so why bother with the padding?

      2.uploadPixels()
      consider caching initBuf as a static (probably
      fine for desktop, but might not be so good for tv)...

            Unassigned Unassigned
            yaow Yao Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: