aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/javax/media/opengl/GLContext.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
commit2b1513ab3cda9d0d990d89bab7b55459af84f506 (patch)
treee901a35f146134c80eeda00346005cbaa32f2fff /src/classes/javax/media/opengl/GLContext.java
parent7d7a84119ceb14ef3ece05054edac9f99cee803e (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/trunk@1059 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/javax/media/opengl/GLContext.java')
0 files changed, 0 insertions, 0 deletions