Lines Matching defs:width
103 * \param width the image width
118 GLsizei width, GLsizei height,
137 pixels_per_row = width;
218 * \param width the image width
234 GLsizei width, GLsizei height,
240 addr += _mesa_image_offset(dimensions, packing, width, height,
250 GLsizei width,
254 return _mesa_image_address(1, packing, image, width, 1,
262 GLsizei width, GLsizei height,
266 return _mesa_image_address(2, packing, image, width, height,
274 GLsizei width, GLsizei height,
278 return _mesa_image_address(3, packing, image, width, height,
288 * \param width image width.
296 GLint width, GLenum format, GLenum type )
304 bytesPerRow = (width + 7) / 8;
316 bytesPerRow = bytesPerPixel * width;
339 * pixel packing parameters and image width, format and type.
343 GLint width, GLint height,
352 bytesPerRow = (width + 7) / 8;
364 bytesPerRow = bytesPerPixel * width;
390 * \param width src bitmap width in pixels
399 _mesa_expand_bitmap(GLsizei width, GLsizei height,
406 _mesa_image_address2d(unpack, bitmap, width, height,
408 const GLint srcStride = _mesa_image_row_stride(unpack, width,
419 for (col = 0; col < width; col++) {
441 for (col = 0; col < width; col++) {
483 GLsizei *width, GLsizei *height,
489 unpack->RowLength = *width;
498 *width -= (buffer->_Xmin - *destX);
502 if (*destX + *width > buffer->_Xmax)
503 *width -= (*destX + *width - buffer->_Xmax);
505 if (*width <= 0)
554 GLsizei *width, GLsizei *height,
572 pack->RowLength = *width;
578 *width -= (0 - *srcX);
582 if (*srcX + *width > clip_width)
583 *width -= (*srcX + *width - clip_width);
585 if (*width <= 0)
617 GLsizei *width, GLsizei *height)
623 srcX, srcY, width, height)) {
637 * Clip the rectangle defined by (x, y, width, height) against the bounds
645 GLsizei *width, GLsizei *height )
649 *width -= (xmin - *x);
654 if (*x + *width > xmax)
655 *width -= (*x + *width - xmax);
657 if (*width <= 0)
783 return GL_FALSE; /* no width */
867 GLsizei width, GLsizei height,
876 int stride = _mesa_image_row_stride(packing, width, format, type);
886 swap2_copy((GLushort *)dstrow, (GLushort *)srcrow, width * swapsPerPixel);
888 swap4_copy((GLuint *)dstrow, (GLuint *)srcrow, width * swapsPerPixel);