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

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

    Details

      Description

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: