Package org.lwjgl.opengl
Class GLXSGIXPbuffer
java.lang.Object
org.lwjgl.opengl.GLXSGIXPbuffer
Native bindings to the GLX_SGIX_pbuffer extension.
This extension defines pixel buffers (GLXPbuffers, or pbuffer for short). GLXPbuffers are additional non-visible rendering buffers for an OpenGL renderer.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Returned in themask
field of a "buffer clobber" event.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Accepted by themask
parameter ofSelectEventSGIX
and returned in themask
parameter ofGetSelectedEventSGIX
.static final int
Returned in theevent_type
field of a "buffer clobber" event.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.static final int
Accepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static final int
Accepted by theattribute
parameter ofGetFBConfigAttribSGIX
.static final int
Returned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).static final int
Returned in thedraw_type
field of a "buffer clobber" event.static final int
Accepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Returned in theevent_type
field of a "buffer clobber" event.static final int
Returned in themask
field of a "buffer clobber" event.static final int
Accepted by theattribute
parameter ofQueryGLXPbufferSGIX
.static final int
Returned in thedraw_type
field of a "buffer clobber" event. -
Method Summary
Modifier and TypeMethodDescriptionstatic long
glXCreateGLXPbufferSGIX
(long display, long config, int width, int height, int[] attrib_list) Array version of:CreateGLXPbufferSGIX
static long
glXCreateGLXPbufferSGIX
(long display, long config, int width, int height, IntBuffer attrib_list) Creates a single GLXPbuffer and returns its XID.static void
glXDestroyGLXPbufferSGIX
(long display, long pbuf) Destroys a GLXPbuffer.static void
glXGetSelectedEventSGIX
(long display, long drawable, CLongBuffer mask) Returns which GLX events are selected for a GLXdrawable.static void
glXQueryGLXPbufferSGIX
(long display, long pbuf, int attribute, int[] value) Array version of:QueryGLXPbufferSGIX
static void
glXQueryGLXPbufferSGIX
(long display, long pbuf, int attribute, IntBuffer value) Queries an attribute associated with a GLXPbuffer.static void
glXSelectEventSGIX
(long display, long drawable, long mask) Selects which GLX events should be received on a GLXdrawable.static long
nglXCreateGLXPbufferSGIX
(long display, long config, int width, int height, long attrib_list) Unsafe version of:CreateGLXPbufferSGIX
static void
nglXGetSelectedEventSGIX
(long display, long drawable, long mask) Unsafe version of:GetSelectedEventSGIX
static void
nglXQueryGLXPbufferSGIX
(long display, long pbuf, int attribute, long value) Unsafe version of:QueryGLXPbufferSGIX
-
Field Details
-
GLX_MAX_PBUFFER_WIDTH_SGIX
public static final int GLX_MAX_PBUFFER_WIDTH_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.- See Also:
-
GLX_MAX_PBUFFER_HEIGHT_SGIX
public static final int GLX_MAX_PBUFFER_HEIGHT_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.- See Also:
-
GLX_MAX_PBUFFER_PIXELS_SGIX
public static final int GLX_MAX_PBUFFER_PIXELS_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.- See Also:
-
GLX_OPTIMAL_PBUFFER_WIDTH_SGIX
public static final int GLX_OPTIMAL_PBUFFER_WIDTH_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.- See Also:
-
GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX
public static final int GLX_OPTIMAL_PBUFFER_HEIGHT_SGIXAccepted by theattribute
parameter ofGetFBConfigAttribSGIX
.- See Also:
-
GLX_PBUFFER_BIT_SGIX
public static final int GLX_PBUFFER_BIT_SGIXReturned byGetFBConfigAttribSGIX
(whenattribute
is set toDRAWABLE_TYPE_SGIX
) and accepted by theattrib_list
parameter ofChooseFBConfigSGIX
(following theDRAWABLE_TYPE_SGIX
token).- See Also:
-
GLX_PRESERVED_CONTENTS_SGIX
public static final int GLX_PRESERVED_CONTENTS_SGIXAccepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.- See Also:
-
GLX_LARGEST_PBUFFER_SGIX
public static final int GLX_LARGEST_PBUFFER_SGIXAccepted by theattrib_list
parameter ofCreateGLXPbufferSGIX
and by theattribute
parameter ofQueryGLXPbufferSGIX
.- See Also:
-
GLX_WIDTH_SGIX
public static final int GLX_WIDTH_SGIXAccepted by theattribute
parameter ofQueryGLXPbufferSGIX
.- See Also:
-
GLX_HEIGHT_SGIX
public static final int GLX_HEIGHT_SGIXAccepted by theattribute
parameter ofQueryGLXPbufferSGIX
.- See Also:
-
GLX_EVENT_MASK_SGIX
public static final int GLX_EVENT_MASK_SGIXAccepted by theattribute
parameter ofQueryGLXPbufferSGIX
.- See Also:
-
GLX_BUFFER_CLOBBER_MASK_SGIX
public static final int GLX_BUFFER_CLOBBER_MASK_SGIXAccepted by themask
parameter ofSelectEventSGIX
and returned in themask
parameter ofGetSelectedEventSGIX
.- See Also:
-
GLX_DAMAGED_SGIX
public static final int GLX_DAMAGED_SGIXReturned in theevent_type
field of a "buffer clobber" event.- See Also:
-
GLX_SAVED_SGIX
public static final int GLX_SAVED_SGIXReturned in theevent_type
field of a "buffer clobber" event.- See Also:
-
GLX_WINDOW_SGIX
public static final int GLX_WINDOW_SGIXReturned in thedraw_type
field of a "buffer clobber" event.- See Also:
-
GLX_PBUFFER_SGIX
public static final int GLX_PBUFFER_SGIXReturned in thedraw_type
field of a "buffer clobber" event.- See Also:
-
GLX_FRONT_LEFT_BUFFER_BIT_SGIX
public static final int GLX_FRONT_LEFT_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_FRONT_RIGHT_BUFFER_BIT_SGIX
public static final int GLX_FRONT_RIGHT_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_BACK_LEFT_BUFFER_BIT_SGIX
public static final int GLX_BACK_LEFT_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_BACK_RIGHT_BUFFER_BIT_SGIX
public static final int GLX_BACK_RIGHT_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_AUX_BUFFERS_BIT_SGIX
public static final int GLX_AUX_BUFFERS_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_DEPTH_BUFFER_BIT_SGIX
public static final int GLX_DEPTH_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_STENCIL_BUFFER_BIT_SGIX
public static final int GLX_STENCIL_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_ACCUM_BUFFER_BIT_SGIX
public static final int GLX_ACCUM_BUFFER_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
GLX_SAMPLE_BUFFERS_BIT_SGIX
public static final int GLX_SAMPLE_BUFFERS_BIT_SGIXReturned in themask
field of a "buffer clobber" event.- See Also:
-
-
Method Details
-
nglXCreateGLXPbufferSGIX
public static long nglXCreateGLXPbufferSGIX(long display, long config, int width, int height, long attrib_list) Unsafe version of:CreateGLXPbufferSGIX
-
glXCreateGLXPbufferSGIX
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, @Nullable IntBuffer attrib_list) Creates a single GLXPbuffer and returns its XID.- Parameters:
display
- the connection to the X serverconfig
- theGLXFBConfig
width
- the pbuffer widthheight
- the pbuffer heightattrib_list
- an optional null-terminated list of attributes
-
glXDestroyGLXPbufferSGIX
public static void glXDestroyGLXPbufferSGIX(long display, long pbuf) Destroys a GLXPbuffer.- Parameters:
display
- the connection to the X serverpbuf
- the pbuffer to destroy
-
nglXQueryGLXPbufferSGIX
public static void nglXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, long value) Unsafe version of:QueryGLXPbufferSGIX
-
glXQueryGLXPbufferSGIX
Queries an attribute associated with a GLXPbuffer.- Parameters:
display
- the connection to the X serverpbuf
- the pbuffer being queriedattribute
- the attribute to queryvalue
- returns the attribute value
-
glXSelectEventSGIX
public static void glXSelectEventSGIX(long display, long drawable, long mask) Selects which GLX events should be received on a GLXdrawable.- Parameters:
display
- the connection to the X serverdrawable
- the GLXDrawablemask
- the selection mask
-
nglXGetSelectedEventSGIX
public static void nglXGetSelectedEventSGIX(long display, long drawable, long mask) Unsafe version of:GetSelectedEventSGIX
-
glXGetSelectedEventSGIX
Returns which GLX events are selected for a GLXdrawable.- Parameters:
display
- the connection to the X serverdrawable
- the GLXDrawablemask
- returns the selection mask
-
glXCreateGLXPbufferSGIX
public static long glXCreateGLXPbufferSGIX(long display, long config, int width, int height, @Nullable int[] attrib_list) Array version of:CreateGLXPbufferSGIX
-
glXQueryGLXPbufferSGIX
public static void glXQueryGLXPbufferSGIX(long display, long pbuf, int attribute, int[] value) Array version of:QueryGLXPbufferSGIX
-