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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P5
    • tbd
    • Affects Version/s: None
    • Component/s: 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)...

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

              Created:
              Updated:
              Imported: