aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-08 07:22:24 +0100
committerSven Gothel <[email protected]>2023-03-08 07:22:24 +0100
commitcda90eeef4607511dd1f6432f770dd4fefe7dd1c (patch)
tree4eda6671ac3d4223d3880ef5b9707cf008579539 /src
parent10e74469da647d377967477d30a67ca5e36ed148 (diff)
Rename NonFSAAGLCapabilitiesChooser -> NonFSAAGLCapsChooser (too long)
Diffstat (limited to 'src')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/util/caps/NonFSAAGLCapsChooser.java (renamed from src/jogl/classes/com/jogamp/opengl/util/caps/NonFSAAGLCapabilitiesChooser.java)6
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT20.java4
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java4
-rw-r--r--src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java4
4 files changed, 9 insertions, 9 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/util/caps/NonFSAAGLCapabilitiesChooser.java b/src/jogl/classes/com/jogamp/opengl/util/caps/NonFSAAGLCapsChooser.java
index 818d1136f..5dc7d7f48 100644
--- a/src/jogl/classes/com/jogamp/opengl/util/caps/NonFSAAGLCapabilitiesChooser.java
+++ b/src/jogl/classes/com/jogamp/opengl/util/caps/NonFSAAGLCapsChooser.java
@@ -39,12 +39,12 @@ import com.jogamp.opengl.GLCapabilitiesChooser;
* Custom {@link GLCapabilitiesChooser}, filtering out all full screen anti-aliasing (FSAA, multisample) capabilities,
* i.e. all matching {@link GLCapabilitiesImmutable} with {@link GLCapabilitiesImmutable#getSampleBuffers()}.
*/
-public class NonFSAAGLCapabilitiesChooser extends DefaultGLCapabilitiesChooser {
+public class NonFSAAGLCapsChooser extends DefaultGLCapabilitiesChooser {
private final boolean verbose;
- public NonFSAAGLCapabilitiesChooser(final boolean verbose) {
+ public NonFSAAGLCapsChooser(final boolean verbose) {
this.verbose = verbose;
}
- public NonFSAAGLCapabilitiesChooser() {
+ public NonFSAAGLCapsChooser() {
this.verbose = false;
}
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT20.java b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT20.java
index fbf9f8c50..624b1ff94 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT20.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRendererNEWT20.java
@@ -56,7 +56,7 @@ import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.test.junit.graph.demos.GPUTextRendererListenerBase01;
import com.jogamp.opengl.test.junit.graph.demos.MSAATool;
import com.jogamp.opengl.test.junit.util.UITestCase;
-import com.jogamp.opengl.util.caps.NonFSAAGLCapabilitiesChooser;
+import com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser;
/**
@@ -116,7 +116,7 @@ public class TestTextRendererNEWT20 extends UITestCase {
if( !caps.getSampleBuffers() ) {
// Make sure to not have FSAA if not requested
// TODO: Implement in default chooser?
- window.setCapabilitiesChooser(new NonFSAAGLCapabilitiesChooser(true));
+ window.setCapabilitiesChooser(new NonFSAAGLCapsChooser(true));
}
window.setSize(width, height);
window.setPosition(10, 10);
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java
index be0b64156..e1868a74e 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneNewtDemo.java
@@ -14,7 +14,7 @@ import com.jogamp.newt.event.WindowEvent;
import com.jogamp.newt.opengl.GLWindow;
import com.jogamp.opengl.test.junit.util.MiscUtils;
import com.jogamp.opengl.util.Animator;
-import com.jogamp.opengl.util.caps.NonFSAAGLCapabilitiesChooser;
+import com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser;
public class GPUUISceneNewtDemo {
static final boolean DEBUG = false;
@@ -144,7 +144,7 @@ public class GPUUISceneNewtDemo {
final GLWindow window = GLWindow.create(screen, caps);
if( 0 == SceneMSAASamples ) {
- window.setCapabilitiesChooser(new NonFSAAGLCapabilitiesChooser(true));
+ window.setCapabilitiesChooser(new NonFSAAGLCapsChooser(true));
}
window.setPosition(x, y);
window.setSize(width, height);
diff --git a/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java b/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java
index 878f2be5b..364602216 100644
--- a/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java
+++ b/src/test/com/jogamp/opengl/test/junit/util/NEWTGLContext.java
@@ -36,7 +36,7 @@ import com.jogamp.opengl.GLCapabilities;
import com.jogamp.opengl.GLContext;
import com.jogamp.opengl.GLDrawable;
import com.jogamp.opengl.GLDrawableFactory;
-import com.jogamp.opengl.util.caps.NonFSAAGLCapabilitiesChooser;
+import com.jogamp.opengl.util.caps.NonFSAAGLCapsChooser;
import org.junit.Assert;
@@ -70,7 +70,7 @@ public class NEWTGLContext {
if( !caps.getSampleBuffers() ) {
// Make sure to not have FSAA if not requested
// TODO: Implement in default chooser?
- window.setCapabilitiesChooser(new NonFSAAGLCapabilitiesChooser(true));
+ window.setCapabilitiesChooser(new NonFSAAGLCapsChooser(true));
}
window.setVisible(true);