Axiometry / sgine

Automatically exported from code.google.com/p/sgine
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Direct image conversion functionality to OpenGL texture #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently images can be loaded through ImageIO and pushed into a texture
via BufferedImage but this is inefficient and more CPU intensive than
loading and converting from a filesystem format directly into a GL texture.

Image types that should be supported include:
* PNG
* JPG
* TIF
* GIF
* TGA

Original issue reported on code.google.com by darkfrog26 on 11 Dec 2009 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by darkfrog26 on 11 Dec 2009 at 8:39

GoogleCodeExporter commented 9 years ago

Original comment by darkfrog26 on 19 Dec 2009 at 3:38

GoogleCodeExporter commented 9 years ago
PNG support is directly supported in the default branch now. Additional image 
types are supported via Java's ImageIO. Of course this is less efficient than 
directly supporting images, but utilizing ReusableGraphic and 
ReusableByteBuffer the memory issues can be minimized. Finally, I'm closing 
this issue as PNG is the ideal format to be used and application optimization 
can be done to simply use this format.

Original comment by mhi...@captiveimagination.com on 12 Jun 2011 at 5:16