Examples of glReadBuffer()


Examples of javax.media.opengl.GL2.glReadBuffer()

              // pbuffer
              else {
                // Double buffering: read from back buffer, as we don't swap
          // Even this setting is identical to the initially mode it is set explicitly
          if (chosenCaps.getDoubleBuffered()) {
            gl.glReadBuffer(GL.GL_BACK);
          }
          else {
            gl.glReadBuffer(GL.GL_FRONT);
          }
              }
View Full Code Here

Examples of javax.media.opengl.GL2.glReadBuffer()

          // Even this setting is identical to the initially mode it is set explicitly
          if (chosenCaps.getDoubleBuffered()) {
            gl.glReadBuffer(GL.GL_BACK);
          }
          else {
            gl.glReadBuffer(GL.GL_FRONT);
          }
              }
            }
        }
        finally {
View Full Code Here

Examples of javax.media.opengl.GL2.glReadBuffer()

    @Override
    void accum(Context ctx, float value) {
        if (VERBOSE) System.err.println("JoglPipeline.accum()");

    GL2 gl = context(ctx).getGL().getGL2();
        gl.glReadBuffer(GL.GL_BACK);
        gl.glAccum(GL2.GL_ACCUM, value);
        gl.glReadBuffer(GL.GL_FRONT);
    }

    // This is the native method for doing accumulation return.
View Full Code Here

Examples of javax.media.opengl.GL2.glReadBuffer()

        if (VERBOSE) System.err.println("JoglPipeline.accum()");

    GL2 gl = context(ctx).getGL().getGL2();
        gl.glReadBuffer(GL.GL_BACK);
        gl.glAccum(GL2.GL_ACCUM, value);
        gl.glReadBuffer(GL.GL_FRONT);
    }

    // This is the native method for doing accumulation return.
    @Override
    void accumReturn(Context ctx) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.