Class GLXEXTStereoTree
- java.lang.Object
-
- org.lwjgl.opengl.GLXEXTStereoTree
-
public final class GLXEXTStereoTree extends java.lang.Object
Native bindings to the GLX_EXT_stereo_tree extension.When using stereoscopic rendering with the X composite extension, a stereo-aware GLX composite manager can be used to composite both the left and right buffers of a window's backing pixmap to the left and right buffers of the root or composite overlay window to preserve the stereo effect of a redirected window or any of its child windows. However, to do this, the composite manager needs a method to determine which windows have both left and right buffers available without needing to walk entire window trees or be aware of other clients' GLX drawables.
This extension provides a new drawable tree query, which can be used by the composite manager when it begins tracking a window, and an event, which can be used to listen for updates to a tracked window. This query and event provide the composite manager with a boolean value representing the stereo status of an entire redirected window tree. With this information, the composite manager is able to properly choose between a stereoscopic or monoscopic format when creating a GLXPixmap for a given window tree's backing pixmap.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GLX_STEREO_NOTIFY_EXT
Returned in theevtype
field of XGenericEventCookie events.static int
GLX_STEREO_NOTIFY_MASK_EXT
Accepted in theevent_mask
parameter of glXSelectEvent and glXSelectEventSGIX, and returned in theevent_mask
parameter of glXGetSelectedEvent and glXGetSelectedEventSGIX.static int
GLX_STEREO_TREE_EXT
Accepted by theattribute
parameter of glXQueryDrawable and glXQueryGLXPbufferSGIX.
-
-
-
Field Detail
-
GLX_STEREO_TREE_EXT
public static final int GLX_STEREO_TREE_EXT
Accepted by theattribute
parameter of glXQueryDrawable and glXQueryGLXPbufferSGIX.- See Also:
- Constant Field Values
-
GLX_STEREO_NOTIFY_MASK_EXT
public static final int GLX_STEREO_NOTIFY_MASK_EXT
Accepted in theevent_mask
parameter of glXSelectEvent and glXSelectEventSGIX, and returned in theevent_mask
parameter of glXGetSelectedEvent and glXGetSelectedEventSGIX.- See Also:
- Constant Field Values
-
GLX_STEREO_NOTIFY_EXT
public static final int GLX_STEREO_NOTIFY_EXT
Returned in theevtype
field of XGenericEventCookie events.- See Also:
- Constant Field Values
-
-