Lines Matching refs:logicalBaseFormat

96 can_swizzle(GLenum logicalBaseFormat)  in can_swizzle()  argument
98 switch (logicalBaseFormat) { in can_swizzle()
320 GLenum logicalBaseFormat, in _mesa_make_temp_float_image() argument
329 const GLint components = _mesa_components_in_format(logicalBaseFormat); in _mesa_make_temp_float_image()
337 ASSERT(logicalBaseFormat == GL_RGBA || in _mesa_make_temp_float_image()
338 logicalBaseFormat == GL_RGB || in _mesa_make_temp_float_image()
339 logicalBaseFormat == GL_RG || in _mesa_make_temp_float_image()
340 logicalBaseFormat == GL_RED || in _mesa_make_temp_float_image()
341 logicalBaseFormat == GL_LUMINANCE_ALPHA || in _mesa_make_temp_float_image()
342 logicalBaseFormat == GL_LUMINANCE || in _mesa_make_temp_float_image()
343 logicalBaseFormat == GL_ALPHA || in _mesa_make_temp_float_image()
344 logicalBaseFormat == GL_INTENSITY || in _mesa_make_temp_float_image()
345 logicalBaseFormat == GL_DEPTH_COMPONENT); in _mesa_make_temp_float_image()
370 _mesa_unpack_color_span_float(ctx, srcWidth, logicalBaseFormat, in _mesa_make_temp_float_image()
378 if (logicalBaseFormat != textureBaseFormat) { in _mesa_make_temp_float_image()
381 GLint logComponents = _mesa_components_in_format(logicalBaseFormat); in _mesa_make_temp_float_image()
402 compute_component_mapping(logicalBaseFormat, textureBaseFormat, map); in _mesa_make_temp_float_image()
432 GLenum logicalBaseFormat, in make_temp_uint_image() argument
440 const GLint components = _mesa_components_in_format(logicalBaseFormat); in make_temp_uint_image()
448 ASSERT(logicalBaseFormat == GL_RGBA || in make_temp_uint_image()
449 logicalBaseFormat == GL_RGB || in make_temp_uint_image()
450 logicalBaseFormat == GL_RG || in make_temp_uint_image()
451 logicalBaseFormat == GL_RED || in make_temp_uint_image()
452 logicalBaseFormat == GL_LUMINANCE_ALPHA || in make_temp_uint_image()
453 logicalBaseFormat == GL_LUMINANCE || in make_temp_uint_image()
454 logicalBaseFormat == GL_INTENSITY || in make_temp_uint_image()
455 logicalBaseFormat == GL_ALPHA); in make_temp_uint_image()
479 _mesa_unpack_color_span_uint(ctx, srcWidth, logicalBaseFormat, in make_temp_uint_image()
487 if (logicalBaseFormat != textureBaseFormat) { in make_temp_uint_image()
490 GLint logComponents = _mesa_components_in_format(logicalBaseFormat); in make_temp_uint_image()
511 compute_component_mapping(logicalBaseFormat, textureBaseFormat, map); in make_temp_uint_image()
561 GLenum logicalBaseFormat, in _mesa_make_temp_ubyte_image() argument
569 const GLint components = _mesa_components_in_format(logicalBaseFormat); in _mesa_make_temp_ubyte_image()
575 ASSERT(logicalBaseFormat == GL_RGBA || in _mesa_make_temp_ubyte_image()
576 logicalBaseFormat == GL_RGB || in _mesa_make_temp_ubyte_image()
577 logicalBaseFormat == GL_RG || in _mesa_make_temp_ubyte_image()
578 logicalBaseFormat == GL_RED || in _mesa_make_temp_ubyte_image()
579 logicalBaseFormat == GL_LUMINANCE_ALPHA || in _mesa_make_temp_ubyte_image()
580 logicalBaseFormat == GL_LUMINANCE || in _mesa_make_temp_ubyte_image()
581 logicalBaseFormat == GL_ALPHA || in _mesa_make_temp_ubyte_image()
582 logicalBaseFormat == GL_INTENSITY); in _mesa_make_temp_ubyte_image()
610 _mesa_unpack_color_span_ubyte(ctx, srcWidth, logicalBaseFormat, dst, in _mesa_make_temp_ubyte_image()
618 if (logicalBaseFormat != textureBaseFormat) { in _mesa_make_temp_ubyte_image()
621 GLint logComponents = _mesa_components_in_format(logicalBaseFormat); in _mesa_make_temp_ubyte_image()
642 compute_component_mapping(logicalBaseFormat, textureBaseFormat, map); in _mesa_make_temp_ubyte_image()