Lines Matching refs:swapBytes
2542 * \param swapBytes typically the current pixel pack/unpack byteswap state
2548 GLboolean swapBytes)
2568 if (format == GL_RGBA && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes)
2571 if (format == GL_RGBA && type == GL_UNSIGNED_INT_8_8_8_8_REV && swapBytes)
2578 && !swapBytes)
2582 && swapBytes)
2592 !swapBytes)
2595 if (format == GL_RGBA && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes)
2602 !swapBytes)
2606 swapBytes)
2616 !swapBytes)
2619 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && swapBytes)
2628 if (format == GL_BGRA && type == GL_UNSIGNED_INT_8_8_8_8 && !swapBytes)
2632 swapBytes)
2655 return format == GL_RGB && type == GL_UNSIGNED_SHORT_5_6_5 && !swapBytes;
2666 !swapBytes;
2673 !swapBytes;
2677 !swapBytes;
2690 return format == GL_LUMINANCE_ALPHA && type == GL_UNSIGNED_SHORT && littleEndian && !swapBytes;
2701 littleEndian && !swapBytes;
2706 littleEndian && !swapBytes;
2711 littleEndian && !swapBytes;
2726 !swapBytes;
2729 !swapBytes;
2735 !swapBytes;
2739 !swapBytes;
2746 !swapBytes;
2753 !swapBytes;
2778 return format == GL_RGBA && type == GL_FLOAT && !swapBytes;
2780 return format == GL_RGBA && type == GL_HALF_FLOAT && !swapBytes;
2783 return format == GL_RGB && type == GL_FLOAT && !swapBytes;
2785 return format == GL_RGB && type == GL_HALF_FLOAT && !swapBytes;
2788 return format == GL_ALPHA && type == GL_FLOAT && !swapBytes;
2790 return format == GL_ALPHA && type == GL_HALF_FLOAT && !swapBytes;
2793 return format == GL_LUMINANCE && type == GL_FLOAT && !swapBytes;
2795 return format == GL_LUMINANCE && type == GL_HALF_FLOAT && !swapBytes;
2798 return format == GL_LUMINANCE_ALPHA && type == GL_FLOAT && !swapBytes;
2800 return format == GL_LUMINANCE_ALPHA && type == GL_HALF_FLOAT && !swapBytes;
2803 return format == GL_INTENSITY && type == GL_FLOAT && !swapBytes;
2805 return format == GL_INTENSITY && type == GL_HALF_FLOAT && !swapBytes;
2808 return format == GL_RED && type == GL_FLOAT && !swapBytes;
2810 return format == GL_RED && type == GL_HALF_FLOAT && !swapBytes;
2813 return format == GL_RG && type == GL_FLOAT && !swapBytes;
2815 return format == GL_RG && type == GL_HALF_FLOAT && !swapBytes;
2939 !swapBytes);
2944 !swapBytes);
2948 !swapBytes;
2952 !swapBytes;
2955 return format == GL_DEPTH_COMPONENT && type == GL_FLOAT && !swapBytes;