Searched refs:swapSize (Results 1 – 3 of 3) sorted by relevance
994 GLint swapSize = _mesa_sizeof_packed_type(type); in _mesa_swap_bytes_2d_image() local998 if (swapSize == 2 || swapSize == 4) { in _mesa_swap_bytes_2d_image()999 int swapsPerPixel = _mesa_bytes_per_pixel(format, type) / swapSize; in _mesa_swap_bytes_2d_image()1005 assert(_mesa_bytes_per_pixel(format, type) % swapSize == 0); in _mesa_swap_bytes_2d_image()1009 if (swapSize == 2) in _mesa_swap_bytes_2d_image()1011 else if (swapSize == 4) in _mesa_swap_bytes_2d_image()
722 GLint swapSize = _mesa_sizeof_packed_type(srcType); in texstore_rgba() local723 if (swapSize == 2 || swapSize == 4) { in texstore_rgba()
490 GLint swapSize = _mesa_sizeof_packed_type(type); in draw_rgba_pixels() local491 if (swapSize == 2 || swapSize == 4) { in draw_rgba_pixels()