diff options
author | Sven Gothel <[email protected]> | 2015-08-19 05:55:09 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-19 05:55:09 +0200 |
commit | c4ed57f617117e3e38319f1a44a0d066f1a332b3 (patch) | |
tree | b4fcf17f9c1f8d51c7afdab28ec477ccbc51b220 /src/newt/native | |
parent | 3e8ef0ae4305fede0f1ddac2fee476c76c5a25a3 (diff) |
Bug 1042: ImageIOUtil -> ImageType + ImageType.Util ; Fix implementation and test.
- ImageIOUtil -> ImageType + ImageType.Util
- ImageType.Util.getFileSuffix(..):
- Fix byte type conversion, i.e. 'b == (byte)0x89',
cast is required to avoid byte -> int conversion.
Note: signed byte -128 - +128
- Parse in O(1), i.e. lexicographical parsing
- FIXME: We seem to have at least three type collisions, validate!
- ImageType:
- Complete T_* w/ API doc -> FIXME/TODO missing type references!
- ImageType instancing via InputStream or manual type definition.
- TextureData
- Contains optional source ImageType
- TextureProvider:
- Deprecate newTextureData(..) variants other than InputStream
simplifying TextureIO.
- TextureProvider.SupportsImageTypes:
- Added interface, allowing mapping ImageType -> provider
- Tested standalone ImageType (TestImageTypeNEWT) and
via TextureIO (TestTextureIONEWT) utilizing list of all
test data (ImageTstFiles), i.e. PNG, JPG, TGA and DDS.
Diffstat (limited to 'src/newt/native')
0 files changed, 0 insertions, 0 deletions