summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/demo/GPURegionNewtDemo02.java8
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java4
-rwxr-xr-xsrc/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java2
3 files changed, 3 insertions, 11 deletions
diff --git a/src/demo/GPURegionNewtDemo02.java b/src/demo/GPURegionNewtDemo02.java
index a7b56ad42..3d7b60574 100644
--- a/src/demo/GPURegionNewtDemo02.java
+++ b/src/demo/GPURegionNewtDemo02.java
@@ -94,10 +94,7 @@ public class GPURegionNewtDemo02 {
public RegionGLListener() {
super(SVertex.factory(), Region.TWO_PASS, DEBUG, TRACE);
- setMatrix(-20, 00, 0f, -50, 400);
- //setMatrix(-20, 00, 0f, -400, 400);
- //setMatrix(-20, 00, 0f, -400, 400);
- //setMatrix(-20, 00, 0f, -100, 800);
+ setMatrix(-20, 00, 0f, -50, 1140);
}
private void createTestOutline(){
@@ -149,9 +146,6 @@ public class GPURegionNewtDemo02 {
regionRenderer.init(gl);
regionRenderer.setAlpha(gl, 1.0f);
regionRenderer.setColor(gl, 0.0f, 0.0f, 0.0f);
- //gl.glSampleCoverage(0.95f, false);
- //gl.glEnable(GL2GL3.GL_SAMPLE_COVERAGE); // sample coverage doesn't really make a difference to lines
- //gl.glEnable(GL2GL3.GL_SAMPLE_ALPHA_TO_ONE);
MSAATool.dump(drawable);
createTestOutline();
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java b/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java
index 35f0325c9..52892e646 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestRegionRenderer01.java
@@ -56,7 +56,7 @@ public class TestRegionRenderer01 {
public void testRegionRendererR2T01() throws InterruptedException {
GLProfile glp = GLProfile.get(GLProfile.GL3);
GLCapabilities caps = new GLCapabilities(glp);
- caps.setOnscreen(false);
+ //caps.setOnscreen(false);
caps.setAlphaBits(4);
GLWindow window = createWindow("shape-r2t1-msaa0", caps, 800,400);
@@ -83,7 +83,7 @@ public class TestRegionRenderer01 {
public void testRegionRendererMSAA01() throws InterruptedException {
GLProfile glp = GLProfile.get(GLProfile.GL2ES2);
GLCapabilities caps = new GLCapabilities(glp);
- caps.setOnscreen(false);
+ // caps.setOnscreen(false);
caps.setAlphaBits(4);
caps.setSampleBuffers(true);
caps.setNumSamples(4);
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java
index 8f5174a89..acfde7e1f 100755
--- a/src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/TestTextRenderer01.java
@@ -59,7 +59,6 @@ public class TestTextRenderer01 {
public void testTextRendererR2T01() throws InterruptedException {
GLProfile glp = GLProfile.get(GLProfile.GL3);
GLCapabilities caps = new GLCapabilities(glp);
- caps.setOnscreen(false);
caps.setAlphaBits(4);
GLWindow window = createWindow("text-r2t1-msaa0", caps, 800,400);
@@ -94,7 +93,6 @@ public class TestTextRenderer01 {
public void testTextRendererMSAA01() throws InterruptedException {
GLProfile glp = GLProfile.get(GLProfile.GL2ES2);
GLCapabilities caps = new GLCapabilities(glp);
- caps.setOnscreen(false);
caps.setAlphaBits(4);
caps.setSampleBuffers(true);
caps.setNumSamples(4);