From f303d66c1a5c33fa4e392117919af87665dedc2b Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 7 Feb 2005 07:01:48 +0000 Subject: Hooked in GKW's Java port of the GLU library's mipmap and image scaling operations. Added new ForceProcAddressGen directive to GlueGen to force the addresses of the C routines to be fetched even though the functions were being ignored by the core JavaEmitter. Cut down on the number of variants of gluScaleImage and associated routines. Changed the Java signatures of the affected methods to take Buffer again instead of ByteBuffer (as was done during prototyping) to attempt to maintain binary compatibility with current JOGL programs. Fixed bug / problem in gluScaleImage implementation where incorrect scaling of pixel values was being applied in Image.empty_image(); there may be additional problems here for other pixel types. Put debugging code in BuildMipmap under jogl.debug.BuildMipmap System property. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@215 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/glu-impl-common.cfg | 1 + 1 file changed, 1 insertion(+) (limited to 'make/glu-impl-common.cfg') diff --git a/make/glu-impl-common.cfg b/make/glu-impl-common.cfg index 13a7cfead..6710d0369 100644 --- a/make/glu-impl-common.cfg +++ b/make/glu-impl-common.cfg @@ -13,6 +13,7 @@ GetProcAddressTableExpr gluProcAddressTable # and to the Mipmap class for scaling and mipmap generation Import net.java.games.jogl.impl.tesselator.GLUtesselatorImpl Import net.java.games.jogl.impl.mipmap.Mipmap +Import java.security.* # Custom Java code for GLUImpl class IncludeAs CustomJavaCode GLUImpl glu-impl-common-CustomJavaCode.java -- cgit v1.2.3