Home
last modified time | relevance | path

Searched refs:swapSize (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/main/
Dimage.c994 GLint swapSize = _mesa_sizeof_packed_type(type); in _mesa_swap_bytes_2d_image() local
998 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()
Dtexstore.c722 GLint swapSize = _mesa_sizeof_packed_type(srcType); in texstore_rgba() local
723 if (swapSize == 2 || swapSize == 4) { in texstore_rgba()
/external/mesa3d/src/mesa/swrast/
Ds_drawpix.c490 GLint swapSize = _mesa_sizeof_packed_type(type); in draw_rgba_pixels() local
491 if (swapSize == 2 || swapSize == 4) { in draw_rgba_pixels()