Lines Matching refs:srcFormat

312  * \param srcFormat  source image format
323 GLenum srcFormat, GLenum srcType,
331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
367 srcFormat, srcType,
371 dst, srcFormat, srcType, src,
435 GLenum srcFormat, GLenum srcType,
442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
476 srcFormat, srcType,
480 dst, srcFormat, srcType, src,
553 * \param srcFormat source image format
564 GLenum srcFormat, GLenum srcType,
603 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
607 srcFormat, srcType,
611 srcFormat, srcType, src, srcPacking,
847 GLenum srcFormat,
862 GLint srcComponents = _mesa_components_in_format(srcFormat);
868 srcFormat, GL_UNSIGNED_BYTE);
870 = _mesa_image_image_stride(srcPacking, srcWidth, srcHeight, srcFormat,
874 srcWidth, srcHeight, srcFormat,
883 compute_component_mapping(srcFormat, baseInternalFormat, src2base);
931 GLenum srcFormat, GLenum srcType,
936 srcFormat, srcType);
938 srcWidth, srcHeight, srcFormat, srcType);
940 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0);
987 srcFormat, srcType, srcAddr,
1029 srcFormat == GL_DEPTH_COMPONENT &&
1035 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1045 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1075 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1105 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1136 srcFormat == GL_DEPTH_COMPONENT &&
1142 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1152 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0);
1177 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1183 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1189 srcFormat == GL_RGB &&
1194 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1197 srcFormat, srcType, 0, 0, 0);
1224 srcFormat, srcType, srcAddr, srcPacking);
1246 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1252 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1260 can_swizzle(srcFormat)) {
1283 srcFormat,
1295 srcFormat, srcType, srcAddr, srcPacking);
1314 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1320 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1327 srcFormat == GL_RGB &&
1334 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1336 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1354 srcFormat == GL_LUMINANCE_ALPHA &&
1360 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1364 srcHeight, srcFormat, srcType, img, 0, 0);
1380 srcFormat == GL_RGBA &&
1393 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1395 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1415 can_swizzle(srcFormat)) {
1442 srcFormat,
1455 srcFormat, srcType, srcAddr, srcPacking);
1469 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1475 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1480 srcFormat == GL_RGBA &&
1486 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1488 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1504 can_swizzle(srcFormat)) {
1516 srcFormat,
1528 srcFormat, srcType, srcAddr, srcPacking);
1542 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1548 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1553 srcFormat == GL_RGBA &&
1559 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
1561 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0);
1577 can_swizzle(srcFormat)) {
1589 srcFormat,
1601 srcFormat, srcType, srcAddr, srcPacking);
1616 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1622 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1629 srcFormat, srcType, srcAddr, srcPacking);
1642 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1648 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1655 srcFormat, srcType, srcAddr, srcPacking);
1669 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1675 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1682 srcFormat, srcType, srcAddr, srcPacking);
1698 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
1704 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1713 srcFormat, srcType, srcAddr,
1778 srcFormat, srcType, srcAddr,
1822 srcFormat == GL_LUMINANCE_ALPHA) ||
1824 baseInternalFormat == srcFormat)) &&
1831 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1838 can_swizzle(srcFormat)) {
1869 srcFormat,
1883 srcFormat, srcType, srcAddr,
1938 srcFormat == GL_LUMINANCE_ALPHA) ||
1940 baseInternalFormat == srcFormat)) &&
1947 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
1956 srcFormat, srcType, srcAddr,
2012 baseInternalFormat == srcFormat &&
2019 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2028 srcFormat, srcType, srcAddr,
2066 srcFormat == GL_RGBA &&
2072 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2081 srcFormat, srcType, srcAddr,
2126 srcFormat == GL_RGBA &&
2132 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2141 srcFormat, srcType, srcAddr,
2197 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
2203 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2210 srcFormat, srcType, srcAddr, srcPacking);
2232 baseInternalFormat == srcFormat &&
2238 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2244 can_swizzle(srcFormat)) {
2260 srcFormat,
2274 srcFormat, srcType, srcAddr,
2311 ASSERT(srcFormat == GL_YCBCR_MESA);
2320 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2350 ASSERT((srcFormat == GL_DU8DV8_ATI) ||
2351 (srcFormat == GL_DUDV_ATI));
2360 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2392 srcFormat, srcType);
2403 srcFormat, srcType,
2409 dst, srcFormat, srcType, src,
2444 baseInternalFormat == srcFormat &&
2450 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2459 srcFormat, srcType, srcAddr,
2497 baseInternalFormat == srcFormat &&
2504 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2513 srcFormat, srcType, srcAddr,
2553 baseInternalFormat == srcFormat &&
2560 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2569 srcFormat, srcType, srcAddr,
2610 baseInternalFormat == srcFormat &&
2617 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2626 srcFormat, srcType, srcAddr,
2672 srcFormat, srcType, srcAddr,
2716 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
2722 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2731 srcFormat, srcType, srcAddr,
2779 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
2783 ASSERT(srcFormat == GL_DEPTH_STENCIL_EXT ||
2784 srcFormat == GL_DEPTH_COMPONENT ||
2785 srcFormat == GL_STENCIL_INDEX);
2786 ASSERT(srcFormat != GL_DEPTH_STENCIL_EXT || srcType == GL_UNSIGNED_INT_24_8_EXT);
2788 if (srcFormat == GL_DEPTH_STENCIL && ctx->Pixel.DepthScale == 1.0f &&
2795 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2798 else if (srcFormat == GL_DEPTH_COMPONENT ||
2799 srcFormat == GL_STENCIL_INDEX) {
2815 srcFormat, srcType,
2821 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */
2824 else if (srcFormat == GL_STENCIL_INDEX) { /* preserve depth */
2871 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
2877 ASSERT(srcFormat == GL_DEPTH_STENCIL_EXT ||
2878 srcFormat == GL_DEPTH_COMPONENT ||
2879 srcFormat == GL_STENCIL_INDEX);
2880 ASSERT(srcFormat != GL_DEPTH_STENCIL_EXT ||
2897 srcFormat, srcType,
2903 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */
2906 else if (srcFormat == GL_STENCIL_INDEX) { /* preserve depth */
2953 ASSERT(srcFormat == GL_STENCIL_INDEX);
2957 baseInternalFormat == srcFormat &&
2963 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
2968 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType);
2980 srcFormat, srcType,
3042 baseInternalFormat == srcFormat &&
3049 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3058 srcFormat, srcType, srcAddr,
3112 baseInternalFormat == srcFormat &&
3119 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3128 srcFormat, srcType, srcAddr,
3183 baseInternalFormat == srcFormat &&
3189 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3198 srcFormat, srcType,
3260 baseInternalFormat == srcFormat &&
3266 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3275 srcFormat, srcType,
3337 baseInternalFormat == srcFormat &&
3343 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3352 srcFormat, srcType,
3414 baseInternalFormat == srcFormat &&
3420 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3428 srcFormat, srcType, srcAddr, srcPacking);
3488 baseInternalFormat == srcFormat &&
3494 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3502 srcFormat, srcType, srcAddr, srcPacking);
3562 baseInternalFormat == srcFormat &&
3568 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3576 srcFormat, srcType, srcAddr, srcPacking);
3625 srcFormat, srcType,
3645 srcFormat, srcType,
3666 srcFormat, srcType,
3687 srcFormat, srcType,
3708 srcFormat, srcType,
3733 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
3739 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3748 srcFormat, srcType, srcAddr,
3781 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
3787 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3796 srcFormat, srcType, srcAddr,
3825 ASSERT(srcFormat == GL_DEPTH_STENCIL ||
3826 srcFormat == GL_DEPTH_COMPONENT ||
3827 srcFormat == GL_STENCIL_INDEX);
3828 ASSERT(srcFormat != GL_DEPTH_STENCIL ||
3831 if (srcFormat == GL_DEPTH_STENCIL &&
3839 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3842 else if (srcFormat == GL_DEPTH_COMPONENT ||
3843 srcFormat == GL_STENCIL_INDEX) {
3846 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType)
3855 srcFormat, srcType,
3862 if (srcFormat != GL_STENCIL_INDEX)
3868 if (srcFormat != GL_DEPTH_COMPONENT)
3892 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
3898 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3907 srcDepth, srcFormat,
3958 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType,
3964 srcWidth, srcHeight, srcDepth, srcFormat, srcType,
3973 srcDepth, srcFormat,
4023 (void) srcFormat; (void) srcType;
4234 srcFormat, srcType, srcAddr, srcPacking);