diff options
author | Sven Gothel <[email protected]> | 2014-03-25 06:40:08 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-03-25 06:40:08 +0100 |
commit | b71f91e67270958bdb2940615a83e4d1ccc9ca0a (patch) | |
tree | c60ede14689f3716e80e7805daaa3fdd0591158c /src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java | |
parent | b4817d053d7af20dae33774e430bf79a3d3c6fcd (diff) |
Bug 801: Elaborate on multisampling performance/quality: Flipquad, RGSS, Quincunx
Using poles only as sampling points is not as effective as: flipquad > rgss >> quincunx
Best quality would be 'wholeedge', i.e. average every supersample,
however performance is worse here.
References:
<http://fileadmin.cs.lth.se/graphics/research/papers/inexp_ms2005/>
<http://fileadmin.cs.lth.se/graphics/research/papers/masses2003/>
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java')
-rw-r--r-- | src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java b/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java index e8c0a6b66..4a12ed8d9 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java +++ b/src/jogl/classes/jogamp/graph/curve/opengl/VBORegion2PVBAAES2.java @@ -403,7 +403,7 @@ public class VBORegion2PVBAAES2 extends GLRegion { renderFBO(gl, rs, targetFboWidth, targetFboHeight, vpWidth, vpHeight, sampleCount[0]); } } - private void setTexSize(final GL2ES2 gl, final ShaderState st, boolean firstPass, int width, int height, int sampleCount) { + private void setTexSize(final GL2ES2 gl, final ShaderState st, final boolean firstPass, final int width, final int height, final int sampleCount) { if(null == mgl_TextureSize) { mgl_TextureSize = new GLUniformData(UniformNames.gcu_TextureSize, 3, Buffers.newDirectFloatBuffer(3)); } @@ -419,7 +419,7 @@ public class VBORegion2PVBAAES2 extends GLRegion { } private void renderFBO(final GL2ES2 gl, final RenderState rs, final int targetFboWidth, final int targetFboHeight, - final int vpWidth, final int vpHeight, int sampleCount) { + final int vpWidth, final int vpHeight, final int sampleCount) { final ShaderState st = rs.getShaderState(); gl.glViewport(0, 0, vpWidth, vpHeight); |