Lines Matching refs:height
64 alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint height)
75 if (width == 0 || height == 0) {
84 width, height);
92 * b->backxrb->ximage->height, IPC_CREAT|0777);
158 alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint height)
172 alloc_back_buffer(XMesaBuffer b, GLuint width, GLuint height)
189 if (width == 0 || height == 0)
193 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) {
200 width, height,
206 b->backxrb->ximage->data = (char *) MALLOC(b->backxrb->ximage->height
223 if (width > 0 && height > 0) {
227 width, height,
254 GLenum internalFormat, GLuint width, GLuint height)
264 xrb->bottom = height - 1;
267 rb->Height = height;
280 GLenum internalFormat, GLuint width, GLuint height)
286 alloc_back_buffer(xrb->Parent, width, height);
290 (void) xmesa_alloc_front_storage(ctx, rb, internalFormat, width, height);
296 xrb->origin2 = (GLushort *) xrb->ximage->data + xrb->width2 * (height - 1);
300 xrb->origin3 = (GLubyte *) xrb->ximage->data + xrb->width3 * (height - 1);
304 xrb->origin4 = (GLuint *) xrb->ximage->data + xrb->width4 * (height - 1);
441 int y2 = rb->Height - y - 1;
450 int y2 = rb->Height - y - h;
473 xrb->Base.Base.Height);
481 xrb->Base.Base.Height,
530 int y2 = rb->Height - xrb->map_y - xrb->map_h;