diff options
author | Kenneth Russel <[email protected]> | 2006-12-29 16:52:29 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-12-29 16:52:29 +0000 |
commit | a736f85a834613d12e2b28e14b5a53fa6991b86f (patch) | |
tree | b201813eff24423470a61fe1ca4f810d194d7a9a /www/webstart/jogl-natives-macosx-1-1.jar | |
parent | fba74827e71fbd2ac832401c2b129e4ca0123e3a (diff) |
Fixed Issue 257: RFE: Texture.updateSubImage(x,y,w,h)
Changed TextureIO's BufferedImage code paths to no longer copy the
data in order to correct for the vertical flip needed between Java
2D's and OpenGL's coordinate systems, but instead to correct for this
using a flip of the texture coordinates. This was needed to change the
semantics for the BufferedImage from "by-copy" to "by-reference". Made
the custom BufferedImage copying code path occur lazily upon a call to
TextureData.getBuffer(). Added support for the GL_EXT_abgr extension
but disabled the code path currently as it appears there may be bugs
in its support on some drivers. Added computation of row width for all
BufferedImage types with help and suggestions from Chris Campbell.
Improved handling of some BufferedImage types like TYPE_INT_ARGB and
TYPE_4BYTE_ABGR. Added Texture.updateSubImage() taking a source
rectangle as well as a destination coordinate. Wrote TestSubImage test
to show use of the new API which exercises all BufferedImage types.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1057 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'www/webstart/jogl-natives-macosx-1-1.jar')
0 files changed, 0 insertions, 0 deletions