Class GLXEXTStereoTree
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
Modifier and TypeFieldDescriptionstatic final int
Returned in theevtype
field of XGenericEventCookie events.static final int
Accepted in theevent_mask
parameter of glXSelectEvent and glXSelectEventSGIX, and returned in theevent_mask
parameter of glXGetSelectedEvent and glXGetSelectedEventSGIX.static final int
Accepted by theattribute
parameter of glXQueryDrawable and glXQueryGLXPbufferSGIX. -
Method Summary
-
Field Details
-
GLX_STEREO_TREE_EXT
public static final int GLX_STEREO_TREE_EXTAccepted by theattribute
parameter of glXQueryDrawable and glXQueryGLXPbufferSGIX.- See Also:
-
GLX_STEREO_NOTIFY_MASK_EXT
public static final int GLX_STEREO_NOTIFY_MASK_EXTAccepted in theevent_mask
parameter of glXSelectEvent and glXSelectEventSGIX, and returned in theevent_mask
parameter of glXGetSelectedEvent and glXGetSelectedEventSGIX.- See Also:
-
GLX_STEREO_NOTIFY_EXT
public static final int GLX_STEREO_NOTIFY_EXTReturned in theevtype
field of XGenericEventCookie events.- See Also:
-