Bug 1242 - Fix 'Texture.updateImage(...)' API and Implementation
Summary: Fix 'Texture.updateImage(...)' API and Implementation
Status: CONFIRMED
Alias: None
Product: Jogl
Classification: JogAmp
Component: util (show other bugs)
Version: 2.4.0
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2015-10-03 01:14 CEST by Sven Gothel
Modified: 2015-10-19 15:59 CEST (History)
1 user (show)

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2015-10-03 01:14:36 CEST
Method 'Texture.updateImage(final GL gl, final TextureData data, final int targetOverride)'
    
needs an overhaul, i.e. its API and implementation.

Especially the semantics of argument 'targetOverride' 
which currently is quite ambiguous (implementation).

Further this method ignores the current setting of texture target
and w/ 'targetOverride' its implementation seems quite adventurous.