From 96fe051525e3a87ee23db45f5513af4c2115c28b Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 30 Jul 2012 22:15:49 -0700 Subject: j3dcore: remove unused Pipeline method getAWT() Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/JoglPipeline.java | 9 --------- src/classes/share/javax/media/j3d/MasterControl.java | 6 ------ src/classes/share/javax/media/j3d/NoopPipeline.java | 5 ----- src/classes/share/javax/media/j3d/Pipeline.java | 3 --- 4 files changed, 23 deletions(-) diff --git a/src/classes/share/javax/media/j3d/JoglPipeline.java b/src/classes/share/javax/media/j3d/JoglPipeline.java index a65420a..3e76c74 100644 --- a/src/classes/share/javax/media/j3d/JoglPipeline.java +++ b/src/classes/share/javax/media/j3d/JoglPipeline.java @@ -6160,15 +6160,6 @@ class JoglPipeline extends Pipeline { // MasterControl methods // - // Method to return the AWT object - long getAWT() { - if (VERBOSE) System.err.println("JoglPipeline.getAWT()"); - - // FIXME: probably completely unneeded in this implementation, - // but should probably remove this dependence in the shared code - return 0; - } - // Method to initialize the native J3D library boolean initializeJ3D(boolean disableXinerama) { // Dummy method in JOGL pipeline diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java index fd72a17..e652190 100644 --- a/src/classes/share/javax/media/j3d/MasterControl.java +++ b/src/classes/share/javax/media/j3d/MasterControl.java @@ -449,9 +449,6 @@ class MasterControl { private UnorderList freeMessageList = new UnorderList(8); - // Native AWT object - long awt; - // Maximum number of lights int maxLights; @@ -493,9 +490,6 @@ class MasterControl { MasterControl() { assert librariesLoaded; - // Get AWT handle - awt = Pipeline.getPipeline().getAWT(); - // Initialize the start time upon which alpha's and behaviors // are synchronized to (if it isn't already set). if (systemStartTime == 0L) { diff --git a/src/classes/share/javax/media/j3d/NoopPipeline.java b/src/classes/share/javax/media/j3d/NoopPipeline.java index ea388b3..f9c1300 100644 --- a/src/classes/share/javax/media/j3d/NoopPipeline.java +++ b/src/classes/share/javax/media/j3d/NoopPipeline.java @@ -947,11 +947,6 @@ class NoopPipeline extends Pipeline { // MasterControl methods // - // Method to return the AWT object - long getAWT() { - return 0L; - } - // Method to initialize the native J3D library boolean initializeJ3D(boolean disableXinerama) { return true; diff --git a/src/classes/share/javax/media/j3d/Pipeline.java b/src/classes/share/javax/media/j3d/Pipeline.java index c97cab5..3282495 100644 --- a/src/classes/share/javax/media/j3d/Pipeline.java +++ b/src/classes/share/javax/media/j3d/Pipeline.java @@ -963,9 +963,6 @@ public Pipeline run() { // MasterControl methods // - // Method to return the AWT object - abstract long getAWT(); - // Method to initialize the native J3D library abstract boolean initializeJ3D(boolean disableXinerama); -- cgit v1.2.3