Class GLXSGIMakeCurrentRead



  • public class GLXSGIMakeCurrentRead
    extends java.lang.Object
    Native bindings to the GLX_SGI_make_current_read extension.

    The association of the current context with a drawable is extended to allow separate write and read drawables. This paves the way for allowing preprocessing of image data in an "off screen" window which is then read into the visible window for final display. Similarly it sets the frame-work for direct transfer of video to the GL, by treating the video as a special kind of read drawable (a.k.a, readable).

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static long glXGetCurrentReadDrawableSGI()
      Returns the name of the GLXDrawable currently being used as a pixel query source.
      static int glXMakeCurrentReadSGI(long display, long draw, long read, long ctx)
      Associates two GLXDrawables with the current rendering context.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • glXMakeCurrentReadSGI

        public static int glXMakeCurrentReadSGI(long display,
                                                long draw,
                                                long read,
                                                long ctx)
        Associates two GLXDrawables with the current rendering context.
        Parameters:
        display - the connection to the X server
        draw - the draw drawable
        read - the read drawable
        ctx - the current context
      • glXGetCurrentReadDrawableSGI

        public static long glXGetCurrentReadDrawableSGI()
        Returns the name of the GLXDrawable currently being used as a pixel query source.