Lines Matching refs:dstFormat
101 mesa_format dstFormat, in _mesa_memcpy_texture() argument
115 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture()
154 assert(dstFormat == MESA_FORMAT_Z_UNORM32 || in _mesa_texstore_z32()
155 dstFormat == MESA_FORMAT_Z_FLOAT32); in _mesa_texstore_z32()
156 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32()
158 if (dstFormat == MESA_FORMAT_Z_UNORM32) in _mesa_texstore_z32()
191 assert(dstFormat == MESA_FORMAT_Z24_UNORM_X8_UINT); in _mesa_texstore_x8_z24()
221 assert(dstFormat == MESA_FORMAT_X8_UINT_Z24_UNORM); in _mesa_texstore_z24_x8()
254 assert(dstFormat == MESA_FORMAT_Z_UNORM16); in _mesa_texstore_z16()
255 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLushort)); in _mesa_texstore_z16()
285 assert((dstFormat == MESA_FORMAT_YCBCR) || in _mesa_texstore_ycbcr()
286 (dstFormat == MESA_FORMAT_YCBCR_REV)); in _mesa_texstore_ycbcr()
287 assert(_mesa_get_format_bytes(dstFormat) == 2); in _mesa_texstore_ycbcr()
296 dstFormat, in _mesa_texstore_ycbcr()
305 (dstFormat == MESA_FORMAT_YCBCR_REV) ^ in _mesa_texstore_ycbcr()
333 assert(dstFormat == MESA_FORMAT_S8_UINT_Z24_UNORM); in _mesa_texstore_z24_s8()
412 assert(dstFormat == MESA_FORMAT_Z24_UNORM_S8_UINT); in _mesa_texstore_s8_z24()
489 assert(dstFormat == MESA_FORMAT_S_UINT8); in _mesa_texstore_s8()
541 assert(dstFormat == MESA_FORMAT_Z32_FLOAT_S8X24_UINT); in _mesa_texstore_z32f_x24s8()
604 assert(table[dstFormat]); in texstore_depth_stencil()
605 return table[dstFormat](ctx, dims, baseInternalFormat, in texstore_depth_stencil()
606 dstFormat, dstRowStride, dstSlices, in texstore_depth_stencil()
664 assert(table[dstFormat]); in texstore_compressed()
665 return table[dstFormat](ctx, dims, baseInternalFormat, in texstore_compressed()
666 dstFormat, dstRowStride, dstSlices, in texstore_compressed()
684 if (dstFormat == MESA_FORMAT_YCBCR || dstFormat == MESA_FORMAT_YCBCR_REV) { in texstore_rgba()
686 dstFormat, dstRowStride, dstSlices, in texstore_rgba()
755 dstFormat = _mesa_get_srgb_format_linear(dstFormat); in texstore_rgba()
762 _mesa_texstore_needs_transfer_ops(ctx, baseInternalFormat, dstFormat)) { in texstore_rgba()
802 if (_mesa_get_format_base_format(dstFormat) != baseInternalFormat) { in texstore_rgba()
811 _mesa_format_convert(dstSlices[img], dstFormat, dstRowStride, in texstore_rgba()
827 mesa_format dstFormat) in _mesa_texstore_needs_transfer_ops() argument
846 dstType = _mesa_get_format_datatype(dstFormat); in _mesa_texstore_needs_transfer_ops()
856 GLenum baseInternalFormat, mesa_format dstFormat, in _mesa_texstore_can_use_memcpy() argument
860 if (_mesa_texstore_needs_transfer_ops(ctx, baseInternalFormat, dstFormat)) { in _mesa_texstore_can_use_memcpy()
865 if (baseInternalFormat != _mesa_get_format_base_format(dstFormat)) { in _mesa_texstore_can_use_memcpy()
870 if (!_mesa_format_matches_format_and_type(dstFormat, srcFormat, srcType, in _mesa_texstore_can_use_memcpy()
896 if (!_mesa_texstore_can_use_memcpy(ctx, baseInternalFormat, dstFormat, in _mesa_texstore_memcpy()
902 dstFormat, in _mesa_texstore_memcpy()
919 dstFormat, in _mesa_texstore()
928 dstFormat, dstRowStride, dstSlices, in _mesa_texstore()
931 } else if (_mesa_is_format_compressed(dstFormat)) { in _mesa_texstore()
933 dstFormat, dstRowStride, dstSlices, in _mesa_texstore()
938 dstFormat, dstRowStride, dstSlices, in _mesa_texstore()