'\"! eqn | mmdoc '\"macro stdmacro .ds Vn Version 1.2 .ds Dt 6 March 1997 .ds Re Release 1.2.0 .ds Dp Feb 16 02:56 .ds Dm Feb 10 17:2 .ds Xs 62493 5 xcreateglxpixmap.gl .TH GLXCREATEGLXPIXMAP .\"0 .SH NAME .SH 名前 .B "glXCreateGLXPixmap .\"0 \- create an off-screen GLX rendering area \- オフスクリーンの GLX レンダリング領域を生成する .SH C SPECIFICATION GLXPixmap \f3glXCreateGLXPixmap\fP( Display \fI*dpy\fP, .nf .ta \w'\f3GLXPixmap \fPglXCreateGLXPixmap( 'u XVisualInfo \fI*vis\fP, Pixmap \fIpixmap\fP ) .fi .EQ delim $$ .EN .\"0 .SH PARAMETERS .SH 書式 .TP \w'\fIpixmap\fP\ \ 'u \f2dpy\fP .\"0 Specifies the connection to the X server. X サーバへの接続を指定する。 .TP \f2vis\fP .\"0 Specifies the visual that defines the structure of the rendering area. レンダリング領域の構造を定義するビジュアルを指定する。 .\"0 It is a pointer to an \f3XVisualInfo\fP structure, .\"0 not a visual ID or a pointer to a \f3Visual\fP. これは \f3XVisualInfo\fP 構造体へのポインタであり、ビジュアルの ID や \f3Visual\fP へのポインタではない。 .TP \f2pixmap\fP .\"0 Specifies the X pixmap that will be used as the front left color buffer .\"0 of the off-screen rendering area. オフスクリーンレンダリング領域の前面左のカラーバッファとして使われる X ピックスマップを指定する。 .\"0 .SH DESCRIPTION .SH 説明 .\"0 \f3glXCreateGLXPixmap\fP creates an off-screen rendering area and returns its XID. \f3glXCreateGLXPixmap\fP はオフスクリーンのレンダリング領域を生成し、 その XID を返す。 .\"0 Any GLX rendering context that was created with respect to \f2vis\fP .\"0 can be used to render into this off-screen area. \f2vis\fP について生成された任意の GLX レンダリングコンテクストを使っ て、このオフスクリーン領域にレンダリングを行うことができる。 .\"0 Use \f3glXMakeCurrent\fP to associate the rendering area with a GLX .\"0 rendering context. レンダリング領域と GLX レンダリングコンテクストを関連付けるには、 \f3glXMakeCurrent\fP を用いる。 .P .\"0 The X pixmap identified by \f2pixmap\fP is used as the front left buffer of the .\"0 resulting off-screen rendering area. \f2pixmap\fP で識別される X ピックスマップは、得られるオフスクリーンレ ンダリング領域の前面左のバッファとして使われます。 .\"0 All other buffers specified by \f2vis\fP, .\"0 including color buffers other than the front left buffer, .\"0 are created without externally visible names. \f2vis\fP で指定された他の全てのバッファ(前面左のバッファ以外のカラー バッファを含む)は、外から見える名前を使わないで生成される。 .\"0 GLX pixmaps with double-buffering are supported. ダブルバッファである GLX ピックスマップはサポートされている。 .\"0 However, \f3glXSwapBuffers\fP is ignored by these pixmaps. しかし、これらのピックスマップでは \f3glXSwapBuffers\fP は無視される。 .P .\"0 Some implementations may not support GLX pixmaps with direct rendering .\"0 contexts. 一部の実装では、直接レンダリングコンテクストを使う GLX ピックスマップ はサポートされていない。 .\"0 .SH NOTES .SH 注意 .\"0 \f3XVisualInfo\fP is defined in \f2Xutil.h.\fP \f3XVisualInfo\fP は \f2Xutil.h\fP において定義されている。 .\"0 It is a structure that includes \f2visual\fP, \f2visualID\fP, \f2screen\fP, and .\"0 \f2depth\fP elements. これは \f2visual\fP, \f2visualID\fP, \f2screen\fP, \f2depth\fP 要素を 持つ構造体である。 .\"0 .SH ERRORS .SH エラー .\"0 \f3BadMatch\fP is generated if the depth of \f2pixmap\fP does not match .\"0 the depth value reported by core X11 for \f2vis\fP, .\"0 or if \f2pixmap\fP was not created with respect to the same screen as \f2vis\fP. \f2pixmap\fP の深さが、X11 のコアが \f2vis\fP に対して報告する深さと 一致しない場合、または \f2pixmap\fP が \f2vis\fP と同じスクリーンにつ いて生成されていない場合には \f3BadMatch\fP が生成される。 .P .\"0 \f3BadValue\fP is generated .\"0 if \f2vis\fP is not a valid XVisualInfo pointer (for example, if a .\"0 particular GLX implementation does not support this visual). \f2vis\fP が有効な XVisualInfo のポインタでない場合(例えば、特定の GLX の実装はこのビジュアルをサポートしていない場合)には \f3BadValue\fP が 生成される。 .P .\"0 \f3BadPixmap\fP is generated if \f2pixmap\fP is not a valid pixmap. \f2pixmap\fP が有効なピックスマップでない場合には \f3BadPixmap\fP が生 成される。 .P .\"0 \f3BadAlloc\fP is generated if the server cannot allocate the GLX .\"0 pixmap. サーバが GLX ピックスマップを割り当てられない場合には \f3BadAlloc\fP が生成される。 .\"0 .SH SEE ALSO .SH 関連項目 \f3glXCreateContext\fP, \f3glXIsDirect\fP, \f3glXMakeCurrent\fP