summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java4
-rw-r--r--src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java14
-rw-r--r--src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXDrawable.java2
3 files changed, 10 insertions, 10 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java
index 6017c94e4..bc88d9ca9 100644
--- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java
+++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java
@@ -175,7 +175,7 @@ public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable {
}
// NSOpenGLPixelBuffer implementation
- class NSOpenGLImpl implements GLBackendImpl {
+ static class NSOpenGLImpl implements GLBackendImpl {
@Override
public long create(final int renderTarget, final int internalFormat, final int width, final int height) {
return CGL.createPBuffer(renderTarget, internalFormat, width, height);
@@ -188,7 +188,7 @@ public class MacOSXPbufferCGLDrawable extends MacOSXCGLDrawable {
}
// CGL implementation
- class CGLImpl implements GLBackendImpl {
+ static class CGLImpl implements GLBackendImpl {
@Override
public long create(final int renderTarget, final int internalFormat, final int width, final int height) {
final PointerBuffer pbuffer = PointerBuffer.allocateDirect(1);
diff --git a/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java b/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java
index f73de75c5..e3e43b30c 100644
--- a/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java
+++ b/src/jogl/classes/jogamp/opengl/util/jpeg/JPEGDecoder.java
@@ -373,7 +373,7 @@ public class JPEGDecoder {
}
/** The JPEG encoded components */
- class ComponentIn {
+ static class ComponentIn {
final int h, v;
/** index to frame.qtt[] */
final int qttIdx;
@@ -414,7 +414,7 @@ public class JPEGDecoder {
}
/** The decoded components */
- class ComponentOut {
+ static class ComponentOut {
private final ArrayList<byte[]> lines;
final float scaleX;
final float scaleY;
@@ -760,7 +760,7 @@ public class JPEGDecoder {
frame.mcusPerColumn = mcusPerColumn;
}
- private static class BinObjIdxed {
+ static class BinObjIdxed {
final BinObj children;
byte index;
BinObjIdxed() {
@@ -768,7 +768,7 @@ public class JPEGDecoder {
this.index = 0;
}
}
- private static class BinObj {
+ static class BinObj {
final boolean isValue;
final BinObj[] tree;
final byte b;
@@ -827,7 +827,7 @@ public class JPEGDecoder {
}
private final Output output = new Output();
- private static class Output {
+ static class Output {
private int blocksPerLine;
private int blocksPerColumn;
private int samplesPerLine;
@@ -1023,11 +1023,11 @@ public class JPEGDecoder {
}
}
- private static interface DecoderFunction {
+ static interface DecoderFunction {
void decode(ComponentIn component, int[] zz) throws IOException;
}
- private class Decoder {
+ class Decoder {
// private int precision;
// private int samplesPerLine;
// private int scanLines;
diff --git a/src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXDrawable.java b/src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXDrawable.java
index 2076ce454..d2f967a5c 100644
--- a/src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXDrawable.java
+++ b/src/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXDrawable.java
@@ -104,7 +104,7 @@ public class X11ExternalGLXDrawable extends X11GLXDrawable {
throw new GLException("Should not call this");
}
- class Context extends X11GLXContext {
+ static class Context extends X11GLXContext {
Context(final X11GLXDrawable drawable, final GLContext shareWith) {
super(drawable, shareWith);
}