aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/Canvas3D.java18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/classes/share/javax/media/j3d/Canvas3D.java b/src/classes/share/javax/media/j3d/Canvas3D.java
index 2135a9c..01f630e 100644
--- a/src/classes/share/javax/media/j3d/Canvas3D.java
+++ b/src/classes/share/javax/media/j3d/Canvas3D.java
@@ -751,12 +751,15 @@ public class Canvas3D extends Canvas {
// Texture Boundary Width Max
int textureBoundaryWidthMax = 0;
- // Texture Width Max
+ // Texture Width, Height Max
int textureWidthMax = 0;
-
- // Texture Height Max
int textureHeightMax = 0;
+ // Texture3D Width, Heigh, Depth Max
+ int texture3DWidthMax = -1;
+ int texture3DHeightMax = -1;
+ int texture3DDepthMax = -1;
+
// Cached position & size for CanvasViewCache.
// We don't want to call canvas.getxx method in Renderer
// since it will cause deadlock as removeNotify() need to get
@@ -3449,6 +3452,15 @@ public class Canvas3D extends Canvas {
keys.add("textureHeightMax");
values.add(new Integer(textureHeightMax));
+ keys.add("texture3DWidthMax");
+ values.add(new Integer(texture3DWidthMax));
+
+ keys.add("texture3DHeightMax");
+ values.add(new Integer(texture3DHeightMax));
+
+ keys.add("texture3DDepthMax");
+ values.add(new Integer(texture3DDepthMax));
+
keys.add("textureBoundaryWidthMax");
values.add(new Integer(textureBoundaryWidthMax));