summaryrefslogtreecommitdiffstats
path: root/src/demos/texture/TestSubImage.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix/Syn with JOGL 774138544e1eec3330309ad682fa05154a07ab8d ; Notably add: ↵Sven Gothel2010-10-141-3/+7
| | | | Applet's with native NEWT support, ie jogl-newt-applet-runner-gears.html
* Adding GLProfile.initSingleton() call, ensuring [multithreading] ↵Sven Gothel2010-06-101-0/+4
| | | | intitialization can be done in time
* modifications due to refactorings: com.sun.opengl -> com.jogamp.opengl.Michael Bien2010-03-271-5/+5
|
* Adapted JOGL TextureData API changes (138a5b057e39a4738a2e82f370424a9a21aceea9)Sven Gothel2010-03-261-1/+1
|
* Copied JOGL_2_SANDBOX r350 on to trunk; JOGL_2_SANDBOX branch is now closedKenneth Russel2009-06-151-0/+329
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@352 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Deleted obsolete source code in preparation for copying JOGL_2_SANDBOXKenneth Russel2009-06-151-303/+0
| | | | | | | on to trunk git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@351 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated copyrightKenneth Russel2006-12-301-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@193 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 257: RFE: Texture.updateSubImage(x,y,w,h) Kenneth Russel2006-12-291-0/+303
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-demos/trunk@192 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4