Bug 190 - Add TetxtureIO features
Summary: Add TetxtureIO features
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2006-01-17 08:55 CET by Sven Gothel
Modified: 2015-09-27 03:15 CEST (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
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