diff options
author | Kenneth Russel <[email protected]> | 2006-12-30 21:11:03 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-12-30 21:11:03 +0000 |
commit | 2b1513ab3cda9d0d990d89bab7b55459af84f506 (patch) | |
tree | e901a35f146134c80eeda00346005cbaa32f2fff /src/classes/com/sun/opengl/impl/windows | |
parent | 7d7a84119ceb14ef3ece05054edac9f99cee803e (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/com/sun/opengl/impl/windows')
0 files changed, 0 insertions, 0 deletions