Lines Matching refs:srcFormat
323 GLenum srcFormat, GLenum srcType, in _mesa_make_temp_float_image() argument
331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_float_image()
367 srcFormat, srcType, in _mesa_make_temp_float_image()
371 dst, srcFormat, srcType, src, in _mesa_make_temp_float_image()
435 GLenum srcFormat, GLenum srcType, in make_temp_uint_image() argument
442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in make_temp_uint_image()
476 srcFormat, srcType, in make_temp_uint_image()
480 dst, srcFormat, srcType, src, in make_temp_uint_image()
564 GLenum srcFormat, GLenum srcType, in _mesa_make_temp_ubyte_image() argument
603 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_ubyte_image()
607 srcFormat, srcType, in _mesa_make_temp_ubyte_image()
611 srcFormat, srcType, src, srcPacking, in _mesa_make_temp_ubyte_image()
847 GLenum srcFormat, in _mesa_swizzle_ubyte_image() argument
862 GLint srcComponents = _mesa_components_in_format(srcFormat); in _mesa_swizzle_ubyte_image()
868 srcFormat, GL_UNSIGNED_BYTE); in _mesa_swizzle_ubyte_image()
870 = _mesa_image_image_stride(srcPacking, srcWidth, srcHeight, srcFormat, in _mesa_swizzle_ubyte_image()
874 srcWidth, srcHeight, srcFormat, in _mesa_swizzle_ubyte_image()
883 compute_component_mapping(srcFormat, baseInternalFormat, src2base); in _mesa_swizzle_ubyte_image()
931 GLenum srcFormat, GLenum srcType, in memcpy_texture() argument
936 srcFormat, srcType); in memcpy_texture()
938 srcWidth, srcHeight, srcFormat, srcType); in memcpy_texture()
940 srcPacking, srcAddr, srcWidth, srcHeight, srcFormat, srcType, 0, 0, 0); in memcpy_texture()
987 srcFormat, srcType, srcAddr, in store_ubyte_texture()
1029 srcFormat == GL_DEPTH_COMPONENT && in _mesa_texstore_z32()
1035 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_z32()
1045 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z32()
1075 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_x8_z24()
1105 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z24_x8()
1136 srcFormat == GL_DEPTH_COMPONENT && in _mesa_texstore_z16()
1142 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_z16()
1152 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, row, 0); in _mesa_texstore_z16()
1177 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_rgb565()
1183 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgb565()
1189 srcFormat == GL_RGB && in _mesa_texstore_rgb565()
1194 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_rgb565()
1197 srcFormat, srcType, 0, 0, 0); in _mesa_texstore_rgb565()
1224 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgb565()
1246 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_rgba8888()
1252 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba8888()
1260 can_swizzle(srcFormat)) { in _mesa_texstore_rgba8888()
1283 srcFormat, in _mesa_texstore_rgba8888()
1295 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgba8888()
1314 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_argb8888()
1320 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_argb8888()
1327 srcFormat == GL_RGB && in _mesa_texstore_argb8888()
1334 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_argb8888()
1336 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0); in _mesa_texstore_argb8888()
1354 srcFormat == GL_LUMINANCE_ALPHA && in _mesa_texstore_argb8888()
1360 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_argb8888()
1364 srcHeight, srcFormat, srcType, img, 0, 0); in _mesa_texstore_argb8888()
1380 srcFormat == GL_RGBA && in _mesa_texstore_argb8888()
1393 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_argb8888()
1395 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0); in _mesa_texstore_argb8888()
1415 can_swizzle(srcFormat)) { in _mesa_texstore_argb8888()
1442 srcFormat, in _mesa_texstore_argb8888()
1455 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_argb8888()
1469 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_rgb888()
1475 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgb888()
1480 srcFormat == GL_RGBA && in _mesa_texstore_rgb888()
1486 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_rgb888()
1488 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0); in _mesa_texstore_rgb888()
1504 can_swizzle(srcFormat)) { in _mesa_texstore_rgb888()
1516 srcFormat, in _mesa_texstore_rgb888()
1528 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgb888()
1542 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_bgr888()
1548 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_bgr888()
1553 srcFormat == GL_RGBA && in _mesa_texstore_bgr888()
1559 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_bgr888()
1561 srcAddr, srcWidth, srcHeight, srcFormat, srcType, img, 0, 0); in _mesa_texstore_bgr888()
1577 can_swizzle(srcFormat)) { in _mesa_texstore_bgr888()
1589 srcFormat, in _mesa_texstore_bgr888()
1601 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_bgr888()
1616 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_argb4444()
1622 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_argb4444()
1629 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_argb4444()
1642 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_rgba5551()
1648 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba5551()
1655 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgba5551()
1669 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_argb1555()
1675 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_argb1555()
1682 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_argb1555()
1698 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_argb2101010()
1704 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_argb2101010()
1713 srcFormat, srcType, srcAddr, in _mesa_texstore_argb2101010()
1778 srcFormat, srcType, srcAddr, in _mesa_texstore_unorm44()
1822 srcFormat == GL_LUMINANCE_ALPHA) || in _mesa_texstore_unorm88()
1824 baseInternalFormat == srcFormat)) && in _mesa_texstore_unorm88()
1831 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_unorm88()
1838 can_swizzle(srcFormat)) { in _mesa_texstore_unorm88()
1869 srcFormat, in _mesa_texstore_unorm88()
1883 srcFormat, srcType, srcAddr, in _mesa_texstore_unorm88()
1938 srcFormat == GL_LUMINANCE_ALPHA) || in _mesa_texstore_unorm1616()
1940 baseInternalFormat == srcFormat)) && in _mesa_texstore_unorm1616()
1947 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_unorm1616()
1956 srcFormat, srcType, srcAddr, in _mesa_texstore_unorm1616()
2012 baseInternalFormat == srcFormat && in _mesa_texstore_unorm16()
2019 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_unorm16()
2028 srcFormat, srcType, srcAddr, in _mesa_texstore_unorm16()
2066 srcFormat == GL_RGBA && in _mesa_texstore_rgba_16()
2072 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_16()
2081 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_16()
2126 srcFormat == GL_RGBA && in _mesa_texstore_signed_rgba_16()
2132 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_signed_rgba_16()
2141 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rgba_16()
2197 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_rgb332()
2203 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgb332()
2210 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgb332()
2232 baseInternalFormat == srcFormat && in _mesa_texstore_unorm8()
2238 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_unorm8()
2244 can_swizzle(srcFormat)) { in _mesa_texstore_unorm8()
2260 srcFormat, in _mesa_texstore_unorm8()
2274 srcFormat, srcType, srcAddr, in _mesa_texstore_unorm8()
2311 ASSERT(srcFormat == GL_YCBCR_MESA); in _mesa_texstore_ycbcr()
2320 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_ycbcr()
2350 ASSERT((srcFormat == GL_DU8DV8_ATI) || in _mesa_texstore_dudv8()
2351 (srcFormat == GL_DUDV_ATI)); in _mesa_texstore_dudv8()
2360 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_dudv8()
2392 srcFormat, srcType); in _mesa_texstore_dudv8()
2403 srcFormat, srcType, in _mesa_texstore_dudv8()
2409 dst, srcFormat, srcType, src, in _mesa_texstore_dudv8()
2444 baseInternalFormat == srcFormat && in _mesa_texstore_snorm8()
2450 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_snorm8()
2459 srcFormat, srcType, srcAddr, in _mesa_texstore_snorm8()
2497 baseInternalFormat == srcFormat && in _mesa_texstore_snorm88()
2504 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_snorm88()
2513 srcFormat, srcType, srcAddr, in _mesa_texstore_snorm88()
2553 baseInternalFormat == srcFormat && in _mesa_texstore_snorm16()
2560 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_snorm16()
2569 srcFormat, srcType, srcAddr, in _mesa_texstore_snorm16()
2610 baseInternalFormat == srcFormat && in _mesa_texstore_snorm1616()
2617 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_snorm1616()
2626 srcFormat, srcType, srcAddr, in _mesa_texstore_snorm1616()
2672 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rgbx8888()
2716 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_signed_rgba8888()
2722 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_signed_rgba8888()
2731 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rgba8888()
2779 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_z24_s8()
2783 ASSERT(srcFormat == GL_DEPTH_STENCIL_EXT || in _mesa_texstore_z24_s8()
2784 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z24_s8()
2785 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_z24_s8()
2786 ASSERT(srcFormat != GL_DEPTH_STENCIL_EXT || srcType == GL_UNSIGNED_INT_24_8_EXT); in _mesa_texstore_z24_s8()
2788 if (srcFormat == GL_DEPTH_STENCIL && ctx->Pixel.DepthScale == 1.0f && in _mesa_texstore_z24_s8()
2795 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_z24_s8()
2798 else if (srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z24_s8()
2799 srcFormat == GL_STENCIL_INDEX) { in _mesa_texstore_z24_s8()
2815 srcFormat, srcType, in _mesa_texstore_z24_s8()
2821 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */ in _mesa_texstore_z24_s8()
2824 else if (srcFormat == GL_STENCIL_INDEX) { /* preserve depth */ in _mesa_texstore_z24_s8()
2871 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_s8_z24()
2877 ASSERT(srcFormat == GL_DEPTH_STENCIL_EXT || in _mesa_texstore_s8_z24()
2878 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_s8_z24()
2879 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_s8_z24()
2880 ASSERT(srcFormat != GL_DEPTH_STENCIL_EXT || in _mesa_texstore_s8_z24()
2897 srcFormat, srcType, in _mesa_texstore_s8_z24()
2903 if (srcFormat == GL_DEPTH_COMPONENT) { /* preserve stencil */ in _mesa_texstore_s8_z24()
2906 else if (srcFormat == GL_STENCIL_INDEX) { /* preserve depth */ in _mesa_texstore_s8_z24()
2953 ASSERT(srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_s8()
2957 baseInternalFormat == srcFormat && in _mesa_texstore_s8()
2963 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_s8()
2968 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_texstore_s8()
2980 srcFormat, srcType, in _mesa_texstore_s8()
3042 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_float32()
3049 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_float32()
3058 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_float32()
3112 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_float16()
3119 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_float16()
3128 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_float16()
3183 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_int8()
3189 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_int8()
3198 srcFormat, srcType, in _mesa_texstore_rgba_int8()
3260 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_int16()
3266 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_int16()
3275 srcFormat, srcType, in _mesa_texstore_rgba_int16()
3337 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_int32()
3343 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_int32()
3352 srcFormat, srcType, in _mesa_texstore_rgba_int32()
3414 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_uint8()
3420 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_uint8()
3428 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgba_uint8()
3488 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_uint16()
3494 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_uint16()
3502 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgba_uint16()
3562 baseInternalFormat == srcFormat && in _mesa_texstore_rgba_uint32()
3568 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgba_uint32()
3576 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore_rgba_uint32()
3625 srcFormat, srcType, in _mesa_texstore_srgb8()
3645 srcFormat, srcType, in _mesa_texstore_srgba8()
3666 srcFormat, srcType, in _mesa_texstore_sargb8()
3687 srcFormat, srcType, in _mesa_texstore_sl8()
3708 srcFormat, srcType, in _mesa_texstore_sla8()
3733 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_rgb9_e5()
3739 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_rgb9_e5()
3748 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb9_e5()
3781 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_r11_g11_b10f()
3787 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_r11_g11_b10f()
3796 srcFormat, srcType, srcAddr, in _mesa_texstore_r11_g11_b10f()
3825 ASSERT(srcFormat == GL_DEPTH_STENCIL || in _mesa_texstore_z32f_x24s8()
3826 srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z32f_x24s8()
3827 srcFormat == GL_STENCIL_INDEX); in _mesa_texstore_z32f_x24s8()
3828 ASSERT(srcFormat != GL_DEPTH_STENCIL || in _mesa_texstore_z32f_x24s8()
3831 if (srcFormat == GL_DEPTH_STENCIL && in _mesa_texstore_z32f_x24s8()
3839 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_z32f_x24s8()
3842 else if (srcFormat == GL_DEPTH_COMPONENT || in _mesa_texstore_z32f_x24s8()
3843 srcFormat == GL_STENCIL_INDEX) { in _mesa_texstore_z32f_x24s8()
3846 = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType) in _mesa_texstore_z32f_x24s8()
3855 srcFormat, srcType, in _mesa_texstore_z32f_x24s8()
3862 if (srcFormat != GL_STENCIL_INDEX) in _mesa_texstore_z32f_x24s8()
3868 if (srcFormat != GL_DEPTH_COMPONENT) in _mesa_texstore_z32f_x24s8()
3892 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_argb2101010_uint()
3898 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_argb2101010_uint()
3907 srcDepth, srcFormat, in _mesa_texstore_argb2101010_uint()
3958 _mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_abgr2101010_uint()
3964 srcWidth, srcHeight, srcDepth, srcFormat, srcType, in _mesa_texstore_abgr2101010_uint()
3973 srcDepth, srcFormat, in _mesa_texstore_abgr2101010_uint()
4023 (void) srcFormat; (void) srcType; in _mesa_texstore_null()
4234 srcFormat, srcType, srcAddr, srcPacking); in _mesa_texstore()