![]() |
---|
RMenum rmPipeInit (const char *displayName, RMenum channelFormat, RMpipe **pipeReturn)
const char *displayName - a character string containing an X resolvable display name. Typically, this is of the form "myhost.myplace.com:0" (input). RMenum channelFormat - an RMenum value specifying the display format requested on the new RMpipe. May be one of RM_MONO_CHANNEL, RM_REDBLUE_STEREO_CHANNEL, RM_BLUERED_STEREO_CHANNEL or RM_MBUF_STEREO_CHANNEL (input). RMpipe **pipeReturn - a handle to an RMpipe * (return).librm library source file: rmx.c
RMenum rmxInitPipes (int npipes, char *display_names[], const int *channel_formats, RMpipe ***pipes)
int npipes - integer count of the number of RMpipes to initialize (input). char *display_names[] - array of character strings containing resolvable X display names, like "myhost.myplace.com:0", etc. There should be "npipes" of these strings. const int *channel_formats - an array of integer values, "npipes" in length, that specify the channel format for each of the new RMpipes. These values should be one of RM_MONO_CHANNEL, RM_REDBLUE_STEREO_CHANNEL, RM_BLUERED_STEREO_CHANNEL or RM_MBUF_STEREO_CHANNEL. RMpipe ***pipes - a handle to an RMpipe * array. Must be "npipes" in length.librm library source file: rmx.c
RMenum rmxInitPipeUsingDisplay (Display *d, RMenum channelFormat, RMpipe **pipeReturn)
Display *d - a handle to an already opened X display (input). int channelFormat - an RMenum value requesting a specific display format for the display. May be one of RM_MONO_CHANNEL, RM_REDBLUE_STEREO_CHANNEL, RM_BLUERED_STEREO_CHANNEL or RM_MBUF_STEREO_CHANNEL (input). RMpipe **pipeReturn - a handle to an RMpipe * (modified, return).librm library source file: rmx.c
RMenum rmxPipeSetDisplay (RMpipe *toModify, Display *display)
RMpipe *toModify - a handle to an RMpipe that will be modified by this routine (modified). Display *display - a handle to an opened X display (input).librm library source file: rmx.c
Display * rmxPipeGetDisplay (const RMpipe *toQuery)
const RMpipe *toQuery - a handle to an RMpipe object that will be queried (input).librm library source file: rmx.c
RMenum rmxPipeSetColormap (RMpipe *toModify, const Colormap newCmap)
RMpipe *toModify - a handle to an RMpipe (modified). Colormap newCmap - an X colormap handle.librm library source file: rmx.c
Colormap rmxPipeGetColormap (const RMpipe *toQuery)
const RMpipe *toQuery - a handle to an RMpipe (input).librm library source file: rmx.c
Colormap rmxGetSharableColormap (Display *d, XVisualInfo *v)
Display *d - a handle to an opened X Display (input). XVisualInfo *v - a handle to a valid XVisualInfo structure (input).librm library source file: rmx.c
RMenum rmxPipeSetVisual(RMpipe *toModify, XVisualInfo *visual)
RMpipe *toModify - a handle to an RMpipe object (modified). XVisualInfo *visual - a handle to an XVisualInfo structure (input).librm library source file: rmx.c
XVisualInfo * rmxPipeGetVisual (const RMpipe *toQuery)
const RMpipe *toQuery - a handle to an RMpipe (input).librm library source file: rmx.c
XVisualInfo * rmxVisualGetBest (Display *d)
Display *d - a handle to an already opened X Display (input).librm library source file: rmx.c
RMenum rmxPipeSetContext (RMpipe *toModify, GLXContext context)
RMpipe *toModify - a handle to an RMpipe object (modified). GLXContext context - a handle to a valid GLXContext (an OpenGL rendering context) (input).librm library source file: rmx.c
GLXContext rmxPipeGetContext (RMpipe *toQuery)
RMpipe *toQuery - a handle to an RMpipe object (input).librm library source file: rmx.c
int rmPipeSetWindow (RMpipe *toUse, Window w, int windowWidth, int windowHeight)
RMpipe *toUse - a handle to an RMpipe object (input, but not const). Window w - a valid X window handle (input). int windowWidth, int windowHeight - integer values specifying the pixel width & height of the window "w".librm library source file: rmx.c
Window rmPipeGetWindow (const RMpipe *toQuery)
const RMpipe *toQuery - a handle to an RMpipe object (input).librm library source file: rmx.c
void rmSwapBuffers (RMpipe *p)
RMpipe *p - a handle to an RMpipe (input).librm library source file: rmx.c