Lines Matching refs:dstFormat

868 static void put_row(char *dst, GLenum dstFormat, GLenum dstType,
882 if (dstFormat == GL_SRGB_EXT
883 || dstFormat == GL_SRGB8_EXT
884 || dstFormat == GL_SRGB_ALPHA_EXT
885 || dstFormat == GL_SRGB8_ALPHA8_EXT
886 || dstFormat == GL_SLUMINANCE_ALPHA_EXT
887 || dstFormat == GL_SLUMINANCE8_ALPHA8_EXT
888 || dstFormat == GL_SLUMINANCE_EXT
889 || dstFormat == GL_SLUMINANCE8_EXT
901 if (dstFormat == GL_COLOR_INDEX || dstFormat == GL_STENCIL_INDEX) {
939 else if (dstFormat == GL_DEPTH_COMPONENT) {
977 else if (dstFormat == GL_RED || dstFormat == GL_GREEN ||
978 dstFormat == GL_BLUE || dstFormat == GL_ALPHA ||
979 dstFormat == GL_LUMINANCE || dstFormat == GL_INTENSITY
981 || dstFormat == GL_SLUMINANCE_EXT
982 || dstFormat == GL_SLUMINANCE8_EXT
986 if (dstFormat == GL_RED)
988 else if (dstFormat == GL_LUMINANCE
990 || dstFormat == GL_SLUMINANCE_EXT
991 || dstFormat == GL_SLUMINANCE8_EXT
995 else if (dstFormat == GL_INTENSITY)
997 else if (dstFormat == GL_GREEN)
999 else if (dstFormat == GL_BLUE)
1040 else if (dstFormat == GL_LUMINANCE_ALPHA
1042 || dstFormat == GL_SLUMINANCE_ALPHA_EXT
1043 || dstFormat == GL_SLUMINANCE8_ALPHA8_EXT
1099 else if (dstFormat == GL_RGB
1101 || dstFormat == GL_BGR
1104 || dstFormat == GL_SRGB_EXT
1105 || dstFormat == GL_SRGB8_EXT
1109 if (dstFormat == GL_RGB
1111 || dstFormat == GL_SRGB_EXT
1112 || dstFormat == GL_SRGB8_EXT
1215 else if (dstFormat == GL_RGBA
1217 || dstFormat == GL_BGRA
1220 || dstFormat == GL_SRGB_ALPHA_EXT
1221 || dstFormat == GL_SRGB8_ALPHA8_EXT
1225 if (dstFormat == GL_RGBA
1227 || dstFormat == GL_SRGB_ALPHA_EXT
1228 || dstFormat == GL_SRGB8_ALPHA8_EXT
1483 void crPixelCopy1D( GLvoid *dstPtr, GLenum dstFormat, GLenum dstType,
1488 dstPtr, dstFormat, dstType, NULL, /* dst */
1493 GLvoid *dstPtr, GLenum dstFormat, GLenum dstType,
1536 dstBytesPerPixel = crPixelSize( dstFormat, dstType );
1588 if (srcFormat == dstFormat && srcType == dstType)
1658 put_row(dst, dstFormat, dstType, width, tmpRow);
1665 put_row(dst, dstFormat, dstType, width, tmpRow);
1681 GLvoid *dstPtr, GLenum dstFormat, GLenum dstType,
1699 if (dstFormat != srcFormat)
1704 tex_size = RT_MIN (crTextureSize( dstFormat, dstType, width, height, depth ),