From cb810fae78bf00b0c23205c49236af4b768e4267 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Wed, 10 Jul 2013 23:50:42 -0700 Subject: j3dcore: provide a public interface for AutoOffScreenCanvas3D to allow core to build separately from j3dutils Signed-off-by: Harvey Harrison --- .../javax/media/j3d/AutoOffScreenCanvas3D.java | 22 ++++++++++++++++++++++ src/classes/share/javax/media/j3d/Canvas3D.java | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 src/classes/share/javax/media/j3d/AutoOffScreenCanvas3D.java (limited to 'src/classes/share') diff --git a/src/classes/share/javax/media/j3d/AutoOffScreenCanvas3D.java b/src/classes/share/javax/media/j3d/AutoOffScreenCanvas3D.java new file mode 100644 index 0000000..4bcfa45 --- /dev/null +++ b/src/classes/share/javax/media/j3d/AutoOffScreenCanvas3D.java @@ -0,0 +1,22 @@ +/* + * Copyright 2013 Harvey Harrison + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. + * + * This code is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 only, as + * published by the Free Software Foundation. Sun designates this + * particular file as subject to the "Classpath" exception as provided + * by Sun in the LICENSE file that accompanied this code. + * + * This code is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * version 2 for more details (a copy is included in the LICENSE file that + * accompanied this code). + */ +package javax.media.j3d; + +/** + * An interface used to tag Canavs3d subclasses as being offsceen. + */ +public interface AutoOffScreenCanvas3D {} diff --git a/src/classes/share/javax/media/j3d/Canvas3D.java b/src/classes/share/javax/media/j3d/Canvas3D.java index ab9f0a3..cd0a640 100644 --- a/src/classes/share/javax/media/j3d/Canvas3D.java +++ b/src/classes/share/javax/media/j3d/Canvas3D.java @@ -1049,7 +1049,7 @@ ArrayList textureIDResourceTable = new ArrayList