diff options
author | Sven Gothel <[email protected]> | 2014-02-13 00:17:09 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-02-13 00:17:09 +0100 |
commit | 21b68a5e73a672da34b37b5641b779aa1e3fa41d (patch) | |
tree | 2b57fe8af6d317678b023a5d95155ff2a8e7de59 /src/jogl/classes/javax/media/opengl | |
parent | 0666a9ee8332e8ab59d533c65552dae8c58cf267 (diff) |
TextureIO: Support PNGTextureWriter w/ TextureData IntBuffer (via PNGPixelRect and PixelFormatUtil)
TextureData IntBuffer could be caused by AWT read-pixels
but is not seamlessly supported via PNGPixelRect since the latter
uses a hardcoded ByteBuffer.
Add static PNGPixelRect.write(..) supporting IntBuffer
to support this case for now.
PNGPixelRect instances do not support any Buffer type to avoid
a bloated implementation.
PixelFormatUtil adds support for int32 pixel format conversion.
Diffstat (limited to 'src/jogl/classes/javax/media/opengl')
0 files changed, 0 insertions, 0 deletions