Bug 190

Summary: Add TetxtureIO features
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: FEATURE SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:48:16 CET


---- Reported by kbr 2006-01-17 08:55:22 ----

The following additional features to the TextureIO classes have been requested
from users on the forums. See
http://www.javagaming.org/forums/index.php?topic=12063.0 :

1) A getMemsize() method in both Texture and TextureData that returns an
estimate of the number of bytes used so that developers of texture caches can
estimate the current usage of texture and buffer memory.

2) Better user control of Texture parameters. Perhaps a TextureParameters class
where users can supply prefered texture parameters. This for enabeling
anisotropic filtering, using GL_LINEAR_MIPMAP_NEAREST instead of
GL_LINEAR_MIPMAP_LINEAR or using another wrap mode than GL_CLAMP_TO_EDGE etc....



---- Additional Comments From kbr 2006-01-22 13:33:53 ----

Added getEstimatedMemorySize() to TextureData and Texture classes. Filled out
setTexParameter* methods to include all variants (i, f, iv, fv) in the
underlying OpenGL binding.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:48 EDT  ---

This bug was previously known as _bug_ 190 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=190