summaryrefslogtreecommitdiffstats
path: root/src/demos/applets/GearsApplet.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-12-30 21:11:03 +0000
committerKenneth Russel <[email protected]>2006-12-30 21:11:03 +0000
commitd9e3aaad86aacf4437ae57d3ddb8399d90e75394 (patch)
tree7e7c813e169f71935fa7c077154ce1dd059f1a73 /src/demos/applets/GearsApplet.java
parentef44155feffbea0d5a3d827ecd04e8d272efedc5 (diff)
On request from James Gosling and others, added a J2DTextureRenderer
class to com.sun.opengl.util to make it easier to render into OpenGL textures using Java 2D. Added convenience methods to this class to make it easy to draw sub-rectangles of the resulting texture to the screen. Added a J2DOverlay class which acts like a Java 2D-based heads-up display for an arbitrary GLDrawable, tracking its size and making it easier to render the entire contents of the HUD. There appear to be performance issues with the J2DOverlay class as the window gets large, at least on older hardware, as it allocates very large OpenGL textures internally. Added tests for both the J2DTextureRenderer and J2DOverlay classes which have similar functionality but different implementation approaches and different performance characteristics. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@194 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src/demos/applets/GearsApplet.java')
0 files changed, 0 insertions, 0 deletions