Home | History | Annotate | Download | only in x11

Lines Matching defs:depth

172    img = XCreateImage( dpy, visinfo->visual, visinfo->depth,
228 unsigned int w, h, bw, depth;
229 stat = XGetGeometry(dpy, d, &root, &xpos, &ypos, &w, &h, &bw, &depth);
333 * Other renderbuffer (depth, stencil, etc)
598 printf("X/Mesa depth = %d\n", GET_VISUAL_DEPTH(v));
727 * depth_size - requested bits/depth values, or zero
834 int depth;
835 depth = GET_VISUAL_DEPTH(v);
836 red_bits = depth / 3;
837 depth -= red_bits;
838 green_bits = depth / 2;
839 depth -= green_bits;
840 blue_bits = depth;
999 int depth;
1004 /* Check that window depth matches visual depth */
1006 depth = attr.depth;
1007 if (GET_VISUAL_DEPTH(v) != depth) {
1008 _mesa_warning(NULL, "XMesaCreateWindowBuffer: depth mismatch between visual (%d) and window (%d)!\n",
1009 GET_VISUAL_DEPTH(v), depth);
1139 v->visinfo->depth);
1461 * Return the depth buffer associated with an XMesaBuffer.
1464 * bytesPerValue - bytes per depth value (2 or 4)
1465 * buffer - pointer to depth buffer values
1606 * to reallocate the buffer's back/depth/stencil/accum buffers.