Lines Matching refs:bytesPerRow
298 GLint bytesPerRow, remainder; in _mesa_image_row_stride() local
304 bytesPerRow = (width + 7) / 8; in _mesa_image_row_stride()
307 bytesPerRow = (packing->RowLength + 7) / 8; in _mesa_image_row_stride()
316 bytesPerRow = bytesPerPixel * width; in _mesa_image_row_stride()
319 bytesPerRow = bytesPerPixel * packing->RowLength; in _mesa_image_row_stride()
323 remainder = bytesPerRow % packing->Alignment; in _mesa_image_row_stride()
325 bytesPerRow += (packing->Alignment - remainder); in _mesa_image_row_stride()
330 bytesPerRow = -bytesPerRow; in _mesa_image_row_stride()
333 return bytesPerRow; in _mesa_image_row_stride()
346 GLint bytesPerRow, bytesPerImage, remainder; in _mesa_image_image_stride() local
352 bytesPerRow = (width + 7) / 8; in _mesa_image_image_stride()
355 bytesPerRow = (packing->RowLength + 7) / 8; in _mesa_image_image_stride()
364 bytesPerRow = bytesPerPixel * width; in _mesa_image_image_stride()
367 bytesPerRow = bytesPerPixel * packing->RowLength; in _mesa_image_image_stride()
371 remainder = bytesPerRow % packing->Alignment; in _mesa_image_image_stride()
373 bytesPerRow += (packing->Alignment - remainder); in _mesa_image_image_stride()
376 bytesPerImage = bytesPerRow * height; in _mesa_image_image_stride()
378 bytesPerImage = bytesPerRow * packing->ImageHeight; in _mesa_image_image_stride()