Lines Matching refs:swapBytes
1438 * \param swapBytes typically the current pixel pack/unpack byteswap state
1446 GLboolean swapBytes, GLenum *error)
1471 if (format == GL_RGBA && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes)
1474 if (format == GL_RGBA && type == GL_UNSIGNED_INT_8_8_8_8_REV && swapBytes)
1481 && !swapBytes)
1485 && swapBytes)
1496 !swapBytes)
1499 if (format == GL_RGBA && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes)
1506 !swapBytes)
1510 swapBytes)
1521 !swapBytes)
1524 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes)
1534 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes)
1538 swapBytes)
1564 !swapBytes;
1569 !swapBytes;
1573 !swapBytes;
1580 !swapBytes;
1584 !swapBytes;
1588 !swapBytes;
1592 !swapBytes;
1604 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_SHORT && littleEndian && !swapBytes;
1615 if (format == GL_RGBA && type == GL_UNSIGNED_SHORT_4_4_4_4 && !swapBytes)
1618 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && !swapBytes)
1624 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_SHORT_4_4_4_4 && !swapBytes)
1627 if (format == GL_ABGR_EXT && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && swapBytes)
1630 if (format == GL_RGBA && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && !swapBytes)
1633 if (format == GL_RGBA && type == GL_UNSIGNED_SHORT_4_4_4_4 && swapBytes)
1656 return format == GL_ALPHA && type == GL_UNSIGNED_SHORT && !swapBytes;
1661 return format == GL_LUMINANCE && type == GL_UNSIGNED_SHORT && !swapBytes;
1665 return format == GL_RED && type == GL_UNSIGNED_SHORT && !swapBytes;
1669 ((type == GL_UNSIGNED_SHORT_8_8_MESA && littleEndian != swapBytes) ||
1670 (type == GL_UNSIGNED_SHORT_8_8_REV_MESA && littleEndian == swapBytes));
1673 ((type == GL_UNSIGNED_SHORT_8_8_MESA && littleEndian == swapBytes) ||
1674 (type == GL_UNSIGNED_SHORT_8_8_REV_MESA && littleEndian != swapBytes));
1686 !swapBytes;
1689 !swapBytes;
1695 !swapBytes;
1699 !swapBytes;
1706 !swapBytes;
1713 !swapBytes;
1719 return format == GL_RGBA && type == GL_FLOAT && !swapBytes;
1721 return format == GL_RGBA && type == GL_HALF_FLOAT && !swapBytes;
1724 return format == GL_RGB && type == GL_FLOAT && !swapBytes;
1726 return format == GL_RGB && type == GL_HALF_FLOAT && !swapBytes;
1729 return format == GL_ALPHA && type == GL_FLOAT && !swapBytes;
1731 return format == GL_ALPHA && type == GL_HALF_FLOAT && !swapBytes;
1734 return format == GL_LUMINANCE && type == GL_FLOAT && !swapBytes;
1736 return format == GL_LUMINANCE && type == GL_HALF_FLOAT && !swapBytes;
1739 return format == GL_LUMINANCE_ALPHA && type == GL_FLOAT && !swapBytes;
1741 return format == GL_LUMINANCE_ALPHA && type == GL_HALF_FLOAT && !swapBytes;
1744 return format == GL_RED && type == GL_FLOAT && !swapBytes;
1746 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes;
1749 return format == GL_RED && type == GL_FLOAT && !swapBytes;
1751 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes;
1754 return format == GL_RG && type == GL_FLOAT && !swapBytes;
1756 return format == GL_RG && type == GL_HALF_FLOAT && !swapBytes;
1762 !swapBytes;
1765 !swapBytes;
1769 return format == GL_ALPHA_INTEGER && type == GL_SHORT && !swapBytes;
1771 return format == GL_ALPHA_INTEGER && type == GL_INT && !swapBytes;
1776 return format == GL_RED_INTEGER && type == GL_UNSIGNED_SHORT && !swapBytes;
1778 return format == GL_RED_INTEGER && type == GL_UNSIGNED_INT && !swapBytes;
1782 return format == GL_RED_INTEGER && type == GL_SHORT && !swapBytes;
1784 return format == GL_RED_INTEGER && type == GL_INT && !swapBytes;
1790 !swapBytes;
1793 !swapBytes;
1798 !swapBytes;
1800 return format == GL_LUMINANCE_INTEGER_EXT && type == GL_INT && !swapBytes;
1804 type == GL_UNSIGNED_BYTE && !swapBytes;
1807 type == GL_UNSIGNED_SHORT && !swapBytes;
1810 type == GL_UNSIGNED_INT && !swapBytes;
1813 !swapBytes;
1816 !swapBytes;
1819 !swapBytes;
1824 return format == GL_RG_INTEGER && type == GL_BYTE && !swapBytes;
1826 return format == GL_RGB_INTEGER && type == GL_BYTE && !swapBytes;
1828 return format == GL_RGBA_INTEGER && type == GL_BYTE && !swapBytes;
1830 return format == GL_RED_INTEGER && type == GL_SHORT && !swapBytes;
1832 return format == GL_RG_INTEGER && type == GL_SHORT && !swapBytes;
1834 return format == GL_RGB_INTEGER && type == GL_SHORT && !swapBytes;
1836 return format == GL_RGBA_INTEGER && type == GL_SHORT && !swapBytes;
1838 return format == GL_RED_INTEGER && type == GL_INT && !swapBytes;
1840 return format == GL_RG_INTEGER && type == GL_INT && !swapBytes;
1842 return format == GL_RGB_INTEGER && type == GL_INT && !swapBytes;
1844 return format == GL_RGBA_INTEGER && type == GL_INT && !swapBytes;
1849 return format == GL_RG_INTEGER && type == GL_UNSIGNED_BYTE && !swapBytes;
1851 return format == GL_RGB_INTEGER && type == GL_UNSIGNED_BYTE && !swapBytes;
1854 !swapBytes;
1857 !swapBytes;
1859 return format == GL_RG_INTEGER && type == GL_UNSIGNED_SHORT && !swapBytes;
1862 !swapBytes;
1865 !swapBytes;
1867 return format == GL_RED_INTEGER && type == GL_UNSIGNED_INT && !swapBytes;
1869 return format == GL_RG_INTEGER && type == GL_UNSIGNED_INT && !swapBytes;
1871 return format == GL_RGB_INTEGER && type == GL_UNSIGNED_INT && !swapBytes;
1873 return format == GL_RGBA_INTEGER && type == GL_UNSIGNED_INT && !swapBytes;
1879 !swapBytes;
1903 !swapBytes;
1905 return format == GL_RG && type == GL_SHORT && littleEndian && !swapBytes;
1907 return format == GL_RGB && type == GL_SHORT && !swapBytes;
1909 return format == GL_RGBA && type == GL_SHORT && !swapBytes;
1912 !swapBytes;
1920 littleEndian && !swapBytes;
1923 !littleEndian && !swapBytes;
1927 return format == GL_ALPHA && type == GL_SHORT && !swapBytes;
1929 return format == GL_LUMINANCE && type == GL_SHORT && !swapBytes;
1932 littleEndian && !swapBytes;
1935 !swapBytes;
1940 !swapBytes);
1945 !swapBytes);
1960 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_SHORT_4_4_4_4 && !swapBytes)
1963 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && swapBytes)
1968 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_SHORT_4_4_4_4_REV && !swapBytes)
1971 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_SHORT_4_4_4_4 && swapBytes)
1978 !swapBytes;
1985 !swapBytes;
1989 !swapBytes;
1993 !swapBytes;
1999 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes)
2002 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_INT_8_8_8_8_REV && swapBytes)
2008 !swapBytes)
2012 swapBytes)
2019 !swapBytes)
2022 if (format == GL_RGBA_INTEGER && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes)
2029 !swapBytes)
2032 if (format == GL_BGRA_INTEGER && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes)
2039 !swapBytes;
2043 !swapBytes;
2046 return format == GL_DEPTH_COMPONENT && type == GL_FLOAT && !swapBytes;
2050 type == GL_FLOAT_32_UNSIGNED_INT_24_8_REV && !swapBytes;
2072 !swapBytes;
2075 !swapBytes;
2079 !swapBytes;
2083 !swapBytes;