Home | History | Annotate | Download | only in x11

Lines Matching refs:WINDOW

33  * The window coordinate system origin (0,0) is in the lower-left corner
34 * of the window. X11's window coordinate origin is in the upper-left
35 * corner of the window. Therefore, most drawing functions in this
192 * Determine if a given X window ID is valid (window exists).
193 * Do this by calling XGetWindowAttributes() for the window and
196 * win - the window to check for existance
197 * Return: GL_TRUE - window exists
198 * GL_FALSE - window doesn't exist
211 static GLboolean window_exists( XMesaDisplay *dpy, Window win )
225 Window root;
237 * Return the size of the window (or pixmap) that corresponds to the
254 /* probably querying a window that's recently been destroyed */
274 * \param d the corresponding X drawable (window or pixmap)
275 * \param type either WINDOW, PIXMAP or PBUFFER, describing d
277 * \param cmap the window's colormap, if known.
286 ASSERT(type == WINDOW || type == PIXMAP || type == PBUFFER);
394 /* Since the X window for the XMesaBuffer is going away, we don't
420 * Setup RGB rendering for a window with a True/DirectColor visual.
553 * \param window the window/pixmap we're rendering into
554 * \param cmap the colormap associated with the window/pixmap
559 XMesaDrawable window,
571 /* RGB WINDOW:
602 if (b && window) {
603 /* Do window-specific initializations */
606 ASSERT(b->frontxrb->drawable == window);
607 ASSERT(b->frontxrb->pixmap == (XMesaPixmap) window);
616 b->gc = XCreateGC( v->display, window, 0, NULL );
620 b->cleargc = XCreateGC( v->display, window, 0, NULL );
630 b->swapgc = XCreateGC(v->display, window,
988 * X window or pixmap.
989 * \param v the window's XMesaVisual
990 * \param w the window we're wrapping
1004 /* Check that window depth matches visual depth */
1008 _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual (%d) and window (%d)!\n",
1018 _mesa_warning(NULL, "Window %u has no colormap!\n", (unsigned int) w);
1019 /* this is weird, a window w/out a colormap!? */
1024 b = create_xmesa_buffer((XMesaDrawable) w, WINDOW, v, cmap);
1168 * Query the current window size and update the corresponding struct gl_framebuffer
1172 * 2. from glViewport to poll for window size changes
1337 /* Copy Ximage (back buf) from client memory to server window */
1360 /* Copy pixmap (back buf) to window (front buf) on server */
1398 /* Copy Ximage from host's memory to server's window */
1419 /* Copy pixmap to window on server */
1546 * Look for XMesaBuffers whose X window has been destroyed.
1554 if (b->display && b->display == dpy && b->frontxrb->drawable && b->type == WINDOW) {
1557 /* found a dead window, free the ancillary info */
1605 * This is typically called when the window size changes and we need