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

Glass Pixels constructor should allow buffers that can hold the required size or bigger.

XMLWordPrintable

      Currently the Glass Pixels constructor only allows buffers that are exactly the required size. This is too constrictive, the Pixels should be able to take any buffer size as long as it meets the minimum size - this allows the client to grow the size without having to allocate new memory for brand new buffer, which is a useful optimization for live resizing (when the size gets smaller).

            gziemski Gerard Ziemski
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: