diff options
author | Sven Gothel <[email protected]> | 2011-02-09 02:50:09 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-09 02:50:09 +0100 |
commit | 360b6716f68b44b28fd8c4f8e61ab86d5a56738b (patch) | |
tree | 765cb43350428d7775f9624745714eac7f5fbc02 /src/jogl/classes/jogamp/opengl/awt | |
parent | 4cda4b70dbcd21cf57e1e253ddba32b88bcaec18 (diff) |
Move implementation private files from com.jogamp.<module>.impl. to jogamp.<module> (2/2) - edit files
- com.jogamp.opengl.impl -> jogamp.opengl
- com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc
- com.jogamp.nativewindow.impl -> jogamp.nativewindow
- com.jogamp.newt.impl -> jogamp.newt
This sorts implementation details from the top level, ie skipping the public 'com',
allowing a better seperation of public classes and implementation details
and also reduces strings.
This approach of public/private seperation is also used in the OpenJDK.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/awt')
4 files changed, 9 insertions, 9 deletions
diff --git a/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java b/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java index a91ab785b..a681c5b8f 100644 --- a/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java +++ b/src/jogl/classes/jogamp/opengl/awt/AWTThreadingPlugin.java @@ -38,7 +38,7 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package com.jogamp.opengl.impl.awt; +package jogamp.opengl.awt; import javax.media.opengl.*; @@ -47,7 +47,7 @@ import java.awt.event.*; import java.awt.EventQueue; import java.lang.reflect.InvocationTargetException; -import com.jogamp.opengl.impl.*; +import jogamp.opengl.*; public class AWTThreadingPlugin implements ThreadingPlugin { diff --git a/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java b/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java index 081d1f9b3..29328f216 100644 --- a/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java +++ b/src/jogl/classes/jogamp/opengl/awt/AWTUtil.java @@ -35,9 +35,9 @@ * facility. */ -package com.jogamp.opengl.impl.awt; +package jogamp.opengl.awt; -import com.jogamp.nativewindow.impl.jawt.*; +import jogamp.nativewindow.jawt.*; import javax.media.opengl.*; @@ -57,7 +57,7 @@ public class AWTUtil { headlessMode = GraphicsEnvironment.isHeadless(); if(!headlessMode) { try { - j2dClazz = Class.forName("com.jogamp.opengl.impl.awt.Java2D"); + j2dClazz = Class.forName("jogamp.opengl.awt.Java2D"); isOGLPipelineActive = j2dClazz.getMethod("isOGLPipelineActive", null); isQueueFlusherThread = j2dClazz.getMethod("isQueueFlusherThread", null); j2dOk = true; diff --git a/src/jogl/classes/jogamp/opengl/awt/Java2D.java b/src/jogl/classes/jogamp/opengl/awt/Java2D.java index 5566a3a4a..d57cde12a 100644 --- a/src/jogl/classes/jogamp/opengl/awt/Java2D.java +++ b/src/jogl/classes/jogamp/opengl/awt/Java2D.java @@ -37,9 +37,9 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package com.jogamp.opengl.impl.awt; +package jogamp.opengl.awt; -import com.jogamp.opengl.impl.*; +import jogamp.opengl.*; import java.awt.*; import java.awt.image.*; diff --git a/src/jogl/classes/jogamp/opengl/awt/Java2DGLContext.java b/src/jogl/classes/jogamp/opengl/awt/Java2DGLContext.java index 07bc54b6a..4a5b1db54 100644 --- a/src/jogl/classes/jogamp/opengl/awt/Java2DGLContext.java +++ b/src/jogl/classes/jogamp/opengl/awt/Java2DGLContext.java @@ -37,9 +37,9 @@ * and developed by Kenneth Bradley Russell and Christopher John Kline. */ -package com.jogamp.opengl.impl.awt; +package jogamp.opengl.awt; -import com.jogamp.opengl.impl.*; +import jogamp.opengl.*; import java.awt.Graphics; /** Provides a construct by which the shared GLJPanel code can |