• Home
  • Raw
  • Download

Lines Matching full:case

153    case GL_LUMINANCE:  in get_map_idx()
154 case GL_LUMINANCE_INTEGER_EXT: in get_map_idx()
156 case GL_ALPHA: in get_map_idx()
157 case GL_ALPHA_INTEGER: in get_map_idx()
159 case GL_INTENSITY: in get_map_idx()
161 case GL_LUMINANCE_ALPHA: in get_map_idx()
162 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in get_map_idx()
164 case GL_RGB: in get_map_idx()
165 case GL_RGB_INTEGER: in get_map_idx()
167 case GL_RGBA: in get_map_idx()
168 case GL_RGBA_INTEGER: in get_map_idx()
170 case GL_RED: in get_map_idx()
171 case GL_RED_INTEGER: in get_map_idx()
173 case GL_GREEN: in get_map_idx()
175 case GL_BLUE: in get_map_idx()
177 case GL_BGR: in get_map_idx()
178 case GL_BGR_INTEGER: in get_map_idx()
180 case GL_BGRA: in get_map_idx()
181 case GL_BGRA_INTEGER: in get_map_idx()
183 case GL_ABGR_EXT: in get_map_idx()
185 case GL_RG: in get_map_idx()
186 case GL_RG_INTEGER: in get_map_idx()
238 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_type_is_packed()
239 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_type_is_packed()
240 case MESA_UNSIGNED_BYTE_4_4: in _mesa_type_is_packed()
241 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_type_is_packed()
242 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_type_is_packed()
243 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_type_is_packed()
244 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_type_is_packed()
245 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_type_is_packed()
246 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_type_is_packed()
247 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_type_is_packed()
248 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_type_is_packed()
249 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_type_is_packed()
250 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_type_is_packed()
251 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_type_is_packed()
252 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_type_is_packed()
253 case GL_UNSIGNED_INT_24_8_EXT: in _mesa_type_is_packed()
254 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_type_is_packed()
255 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_type_is_packed()
256 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_type_is_packed()
276 case GL_BITMAP: in _mesa_sizeof_type()
278 case GL_UNSIGNED_BYTE: in _mesa_sizeof_type()
280 case GL_BYTE: in _mesa_sizeof_type()
282 case GL_UNSIGNED_SHORT: in _mesa_sizeof_type()
284 case GL_SHORT: in _mesa_sizeof_type()
286 case GL_UNSIGNED_INT: in _mesa_sizeof_type()
288 case GL_INT: in _mesa_sizeof_type()
290 case GL_FLOAT: in _mesa_sizeof_type()
292 case GL_DOUBLE: in _mesa_sizeof_type()
294 case GL_HALF_FLOAT_ARB: in _mesa_sizeof_type()
295 case GL_HALF_FLOAT_OES: in _mesa_sizeof_type()
297 case GL_FIXED: in _mesa_sizeof_type()
313 case GL_BITMAP: in _mesa_sizeof_packed_type()
315 case GL_UNSIGNED_BYTE: in _mesa_sizeof_packed_type()
317 case GL_BYTE: in _mesa_sizeof_packed_type()
319 case GL_UNSIGNED_SHORT: in _mesa_sizeof_packed_type()
321 case GL_SHORT: in _mesa_sizeof_packed_type()
323 case GL_UNSIGNED_INT: in _mesa_sizeof_packed_type()
325 case GL_INT: in _mesa_sizeof_packed_type()
327 case GL_HALF_FLOAT_ARB: in _mesa_sizeof_packed_type()
328 case GL_HALF_FLOAT_OES: in _mesa_sizeof_packed_type()
330 case GL_FLOAT: in _mesa_sizeof_packed_type()
332 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_sizeof_packed_type()
333 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_sizeof_packed_type()
334 case MESA_UNSIGNED_BYTE_4_4: in _mesa_sizeof_packed_type()
336 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_sizeof_packed_type()
337 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_sizeof_packed_type()
338 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_sizeof_packed_type()
339 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_sizeof_packed_type()
340 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_sizeof_packed_type()
341 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_sizeof_packed_type()
342 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_sizeof_packed_type()
343 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_sizeof_packed_type()
345 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_sizeof_packed_type()
346 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_sizeof_packed_type()
347 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_sizeof_packed_type()
348 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_sizeof_packed_type()
349 case GL_UNSIGNED_INT_24_8_EXT: in _mesa_sizeof_packed_type()
350 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_sizeof_packed_type()
351 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_sizeof_packed_type()
353 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_sizeof_packed_type()
372 case GL_COLOR_INDEX: in _mesa_components_in_format()
373 case GL_STENCIL_INDEX: in _mesa_components_in_format()
374 case GL_DEPTH_COMPONENT: in _mesa_components_in_format()
375 case GL_RED: in _mesa_components_in_format()
376 case GL_RED_INTEGER_EXT: in _mesa_components_in_format()
377 case GL_GREEN: in _mesa_components_in_format()
378 case GL_GREEN_INTEGER_EXT: in _mesa_components_in_format()
379 case GL_BLUE: in _mesa_components_in_format()
380 case GL_BLUE_INTEGER_EXT: in _mesa_components_in_format()
381 case GL_ALPHA: in _mesa_components_in_format()
382 case GL_ALPHA_INTEGER_EXT: in _mesa_components_in_format()
383 case GL_LUMINANCE: in _mesa_components_in_format()
384 case GL_LUMINANCE_INTEGER_EXT: in _mesa_components_in_format()
385 case GL_INTENSITY: in _mesa_components_in_format()
388 case GL_LUMINANCE_ALPHA: in _mesa_components_in_format()
389 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_components_in_format()
390 case GL_RG: in _mesa_components_in_format()
391 case GL_YCBCR_MESA: in _mesa_components_in_format()
392 case GL_DEPTH_STENCIL_EXT: in _mesa_components_in_format()
393 case GL_RG_INTEGER: in _mesa_components_in_format()
396 case GL_RGB: in _mesa_components_in_format()
397 case GL_BGR: in _mesa_components_in_format()
398 case GL_RGB_INTEGER_EXT: in _mesa_components_in_format()
399 case GL_BGR_INTEGER_EXT: in _mesa_components_in_format()
402 case GL_RGBA: in _mesa_components_in_format()
403 case GL_BGRA: in _mesa_components_in_format()
404 case GL_ABGR_EXT: in _mesa_components_in_format()
405 case GL_RGBA_INTEGER_EXT: in _mesa_components_in_format()
406 case GL_BGRA_INTEGER_EXT: in _mesa_components_in_format()
431 case GL_BITMAP: in _mesa_bytes_per_pixel()
432 return 0; /* special case */ in _mesa_bytes_per_pixel()
433 case GL_BYTE: in _mesa_bytes_per_pixel()
434 case GL_UNSIGNED_BYTE: in _mesa_bytes_per_pixel()
436 case GL_SHORT: in _mesa_bytes_per_pixel()
437 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_pixel()
439 case GL_INT: in _mesa_bytes_per_pixel()
440 case GL_UNSIGNED_INT: in _mesa_bytes_per_pixel()
442 case GL_FLOAT: in _mesa_bytes_per_pixel()
444 case GL_HALF_FLOAT_ARB: in _mesa_bytes_per_pixel()
445 case GL_HALF_FLOAT_OES: in _mesa_bytes_per_pixel()
447 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_bytes_per_pixel()
448 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_bytes_per_pixel()
454 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_bytes_per_pixel()
455 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_bytes_per_pixel()
461 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_bytes_per_pixel()
462 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_bytes_per_pixel()
468 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_bytes_per_pixel()
469 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_bytes_per_pixel()
475 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_bytes_per_pixel()
476 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_bytes_per_pixel()
483 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_bytes_per_pixel()
484 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_bytes_per_pixel()
491 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_bytes_per_pixel()
492 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_bytes_per_pixel()
497 case GL_UNSIGNED_INT_24_8_EXT: in _mesa_bytes_per_pixel()
503 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_bytes_per_pixel()
508 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_bytes_per_pixel()
513 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_bytes_per_pixel()
531 case GL_RGBA: in _mesa_is_enum_format_unsized()
532 case GL_BGRA: in _mesa_is_enum_format_unsized()
533 case GL_ABGR_EXT: in _mesa_is_enum_format_unsized()
534 case GL_RGB: in _mesa_is_enum_format_unsized()
535 case GL_BGR: in _mesa_is_enum_format_unsized()
536 case GL_RG: in _mesa_is_enum_format_unsized()
537 case GL_RED: in _mesa_is_enum_format_unsized()
538 case GL_GREEN: in _mesa_is_enum_format_unsized()
539 case GL_BLUE: in _mesa_is_enum_format_unsized()
540 case GL_ALPHA: in _mesa_is_enum_format_unsized()
541 case GL_INTENSITY: in _mesa_is_enum_format_unsized()
542 case GL_LUMINANCE: in _mesa_is_enum_format_unsized()
543 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
545 case GL_SRGB: in _mesa_is_enum_format_unsized()
546 case GL_SRGB_ALPHA: in _mesa_is_enum_format_unsized()
547 case GL_SLUMINANCE: in _mesa_is_enum_format_unsized()
548 case GL_SLUMINANCE_ALPHA: in _mesa_is_enum_format_unsized()
550 case GL_RGBA_SNORM: in _mesa_is_enum_format_unsized()
551 case GL_RGB_SNORM: in _mesa_is_enum_format_unsized()
552 case GL_RG_SNORM: in _mesa_is_enum_format_unsized()
553 case GL_RED_SNORM: in _mesa_is_enum_format_unsized()
554 case GL_ALPHA_SNORM: in _mesa_is_enum_format_unsized()
555 case GL_INTENSITY_SNORM: in _mesa_is_enum_format_unsized()
556 case GL_LUMINANCE_SNORM: in _mesa_is_enum_format_unsized()
557 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_enum_format_unsized()
559 case GL_RED_INTEGER: in _mesa_is_enum_format_unsized()
560 case GL_GREEN_INTEGER: in _mesa_is_enum_format_unsized()
561 case GL_BLUE_INTEGER: in _mesa_is_enum_format_unsized()
562 case GL_ALPHA_INTEGER: in _mesa_is_enum_format_unsized()
563 case GL_RGB_INTEGER: in _mesa_is_enum_format_unsized()
564 case GL_RGBA_INTEGER: in _mesa_is_enum_format_unsized()
565 case GL_BGR_INTEGER: in _mesa_is_enum_format_unsized()
566 case GL_BGRA_INTEGER: in _mesa_is_enum_format_unsized()
567 case GL_RG_INTEGER: in _mesa_is_enum_format_unsized()
568 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_enum_format_unsized()
569 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_unsized()
571 case GL_DEPTH_COMPONENT: in _mesa_is_enum_format_unsized()
572 case GL_DEPTH_STENCIL: in _mesa_is_enum_format_unsized()
573 case GL_STENCIL_INDEX: in _mesa_is_enum_format_unsized()
587 case GL_RED: in _mesa_is_enum_format_unorm()
588 case GL_GREEN: in _mesa_is_enum_format_unorm()
589 case GL_BLUE: in _mesa_is_enum_format_unorm()
590 case GL_ALPHA: in _mesa_is_enum_format_unorm()
591 case GL_ALPHA4: in _mesa_is_enum_format_unorm()
592 case GL_ALPHA8: in _mesa_is_enum_format_unorm()
593 case GL_ALPHA12: in _mesa_is_enum_format_unorm()
594 case GL_ALPHA16: in _mesa_is_enum_format_unorm()
595 case 1: in _mesa_is_enum_format_unorm()
596 case GL_LUMINANCE: in _mesa_is_enum_format_unorm()
597 case GL_SLUMINANCE: in _mesa_is_enum_format_unorm()
598 case GL_LUMINANCE4: in _mesa_is_enum_format_unorm()
599 case GL_LUMINANCE8: in _mesa_is_enum_format_unorm()
600 case GL_LUMINANCE12: in _mesa_is_enum_format_unorm()
601 case GL_LUMINANCE16: in _mesa_is_enum_format_unorm()
602 case 2: in _mesa_is_enum_format_unorm()
603 case GL_LUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
604 case GL_SLUMINANCE_ALPHA: in _mesa_is_enum_format_unorm()
605 case GL_LUMINANCE4_ALPHA4: in _mesa_is_enum_format_unorm()
606 case GL_LUMINANCE6_ALPHA2: in _mesa_is_enum_format_unorm()
607 case GL_LUMINANCE8_ALPHA8: in _mesa_is_enum_format_unorm()
608 case GL_LUMINANCE12_ALPHA4: in _mesa_is_enum_format_unorm()
609 case GL_LUMINANCE12_ALPHA12: in _mesa_is_enum_format_unorm()
610 case GL_LUMINANCE16_ALPHA16: in _mesa_is_enum_format_unorm()
611 case GL_INTENSITY: in _mesa_is_enum_format_unorm()
612 case GL_INTENSITY4: in _mesa_is_enum_format_unorm()
613 case GL_INTENSITY8: in _mesa_is_enum_format_unorm()
614 case GL_INTENSITY12: in _mesa_is_enum_format_unorm()
615 case GL_INTENSITY16: in _mesa_is_enum_format_unorm()
616 case GL_R8: in _mesa_is_enum_format_unorm()
617 case GL_R16: in _mesa_is_enum_format_unorm()
618 case GL_RG: in _mesa_is_enum_format_unorm()
619 case GL_RG8: in _mesa_is_enum_format_unorm()
620 case GL_RG16: in _mesa_is_enum_format_unorm()
621 case 3: in _mesa_is_enum_format_unorm()
622 case GL_RGB: in _mesa_is_enum_format_unorm()
623 case GL_BGR: in _mesa_is_enum_format_unorm()
624 case GL_SRGB: in _mesa_is_enum_format_unorm()
625 case GL_R3_G3_B2: in _mesa_is_enum_format_unorm()
626 case GL_RGB4: in _mesa_is_enum_format_unorm()
627 case GL_RGB5: in _mesa_is_enum_format_unorm()
628 case GL_RGB565: in _mesa_is_enum_format_unorm()
629 case GL_RGB8: in _mesa_is_enum_format_unorm()
630 case GL_RGB10: in _mesa_is_enum_format_unorm()
631 case GL_RGB12: in _mesa_is_enum_format_unorm()
632 case GL_RGB16: in _mesa_is_enum_format_unorm()
633 case 4: in _mesa_is_enum_format_unorm()
634 case GL_ABGR_EXT: in _mesa_is_enum_format_unorm()
635 case GL_RGBA: in _mesa_is_enum_format_unorm()
636 case GL_BGRA: in _mesa_is_enum_format_unorm()
637 case GL_SRGB_ALPHA: in _mesa_is_enum_format_unorm()
638 case GL_RGBA2: in _mesa_is_enum_format_unorm()
639 case GL_RGBA4: in _mesa_is_enum_format_unorm()
640 case GL_RGB5_A1: in _mesa_is_enum_format_unorm()
641 case GL_RGBA8: in _mesa_is_enum_format_unorm()
642 case GL_RGB10_A2: in _mesa_is_enum_format_unorm()
643 case GL_RGBA12: in _mesa_is_enum_format_unorm()
644 case GL_RGBA16: in _mesa_is_enum_format_unorm()
659 case GL_RED_SNORM: in _mesa_is_enum_format_snorm()
660 case GL_R8_SNORM: in _mesa_is_enum_format_snorm()
661 case GL_R16_SNORM: in _mesa_is_enum_format_snorm()
662 case GL_RG_SNORM: in _mesa_is_enum_format_snorm()
663 case GL_RG8_SNORM: in _mesa_is_enum_format_snorm()
664 case GL_RG16_SNORM: in _mesa_is_enum_format_snorm()
665 case GL_RGB_SNORM: in _mesa_is_enum_format_snorm()
666 case GL_RGB8_SNORM: in _mesa_is_enum_format_snorm()
667 case GL_RGB16_SNORM: in _mesa_is_enum_format_snorm()
668 case GL_RGBA_SNORM: in _mesa_is_enum_format_snorm()
669 case GL_RGBA8_SNORM: in _mesa_is_enum_format_snorm()
670 case GL_RGBA16_SNORM: in _mesa_is_enum_format_snorm()
671 case GL_ALPHA_SNORM: in _mesa_is_enum_format_snorm()
672 case GL_ALPHA8_SNORM: in _mesa_is_enum_format_snorm()
673 case GL_ALPHA16_SNORM: in _mesa_is_enum_format_snorm()
674 case GL_LUMINANCE_SNORM: in _mesa_is_enum_format_snorm()
675 case GL_LUMINANCE8_SNORM: in _mesa_is_enum_format_snorm()
676 case GL_LUMINANCE16_SNORM: in _mesa_is_enum_format_snorm()
677 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_enum_format_snorm()
678 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_is_enum_format_snorm()
679 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_is_enum_format_snorm()
680 case GL_INTENSITY_SNORM: in _mesa_is_enum_format_snorm()
681 case GL_INTENSITY8_SNORM: in _mesa_is_enum_format_snorm()
682 case GL_INTENSITY16_SNORM: in _mesa_is_enum_format_snorm()
697 case GL_RGBA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
698 case GL_RGB32UI_EXT: in _mesa_is_enum_format_unsigned_int()
699 case GL_RG32UI: in _mesa_is_enum_format_unsigned_int()
700 case GL_R32UI: in _mesa_is_enum_format_unsigned_int()
701 case GL_ALPHA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
702 case GL_INTENSITY32UI_EXT: in _mesa_is_enum_format_unsigned_int()
703 case GL_LUMINANCE32UI_EXT: in _mesa_is_enum_format_unsigned_int()
704 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_is_enum_format_unsigned_int()
705 case GL_RGBA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
706 case GL_RGB16UI_EXT: in _mesa_is_enum_format_unsigned_int()
707 case GL_RG16UI: in _mesa_is_enum_format_unsigned_int()
708 case GL_R16UI: in _mesa_is_enum_format_unsigned_int()
709 case GL_ALPHA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
710 case GL_INTENSITY16UI_EXT: in _mesa_is_enum_format_unsigned_int()
711 case GL_LUMINANCE16UI_EXT: in _mesa_is_enum_format_unsigned_int()
712 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_is_enum_format_unsigned_int()
713 case GL_RGBA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
714 case GL_RGB8UI_EXT: in _mesa_is_enum_format_unsigned_int()
715 case GL_RG8UI: in _mesa_is_enum_format_unsigned_int()
716 case GL_R8UI: in _mesa_is_enum_format_unsigned_int()
717 case GL_ALPHA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
718 case GL_INTENSITY8UI_EXT: in _mesa_is_enum_format_unsigned_int()
719 case GL_LUMINANCE8UI_EXT: in _mesa_is_enum_format_unsigned_int()
720 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_is_enum_format_unsigned_int()
721 case GL_RGB10_A2UI: in _mesa_is_enum_format_unsigned_int()
737 case GL_RED_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
738 case GL_GREEN_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
739 case GL_BLUE_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
740 case GL_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
741 case GL_RGB_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
742 case GL_RGBA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
743 case GL_BGR_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
744 case GL_BGRA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
745 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
746 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_enum_format_signed_int()
747 case GL_RG_INTEGER: in _mesa_is_enum_format_signed_int()
749 case GL_RGBA32I_EXT: in _mesa_is_enum_format_signed_int()
750 case GL_RGB32I_EXT: in _mesa_is_enum_format_signed_int()
751 case GL_RG32I: in _mesa_is_enum_format_signed_int()
752 case GL_R32I: in _mesa_is_enum_format_signed_int()
753 case GL_ALPHA32I_EXT: in _mesa_is_enum_format_signed_int()
754 case GL_INTENSITY32I_EXT: in _mesa_is_enum_format_signed_int()
755 case GL_LUMINANCE32I_EXT: in _mesa_is_enum_format_signed_int()
756 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_is_enum_format_signed_int()
757 case GL_RGBA16I_EXT: in _mesa_is_enum_format_signed_int()
758 case GL_RGB16I_EXT: in _mesa_is_enum_format_signed_int()
759 case GL_RG16I: in _mesa_is_enum_format_signed_int()
760 case GL_R16I: in _mesa_is_enum_format_signed_int()
761 case GL_ALPHA16I_EXT: in _mesa_is_enum_format_signed_int()
762 case GL_INTENSITY16I_EXT: in _mesa_is_enum_format_signed_int()
763 case GL_LUMINANCE16I_EXT: in _mesa_is_enum_format_signed_int()
764 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_is_enum_format_signed_int()
765 case GL_RGBA8I_EXT: in _mesa_is_enum_format_signed_int()
766 case GL_RGB8I_EXT: in _mesa_is_enum_format_signed_int()
767 case GL_RG8I: in _mesa_is_enum_format_signed_int()
768 case GL_R8I: in _mesa_is_enum_format_signed_int()
769 case GL_ALPHA8I_EXT: in _mesa_is_enum_format_signed_int()
770 case GL_INTENSITY8I_EXT: in _mesa_is_enum_format_signed_int()
771 case GL_LUMINANCE8I_EXT: in _mesa_is_enum_format_signed_int()
772 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_is_enum_format_signed_int()
786 case GL_COMPRESSED_RGBA_ASTC_4x4_KHR: in is_astc_2d_format()
787 case GL_COMPRESSED_RGBA_ASTC_5x4_KHR: in is_astc_2d_format()
788 case GL_COMPRESSED_RGBA_ASTC_5x5_KHR: in is_astc_2d_format()
789 case GL_COMPRESSED_RGBA_ASTC_6x5_KHR: in is_astc_2d_format()
790 case GL_COMPRESSED_RGBA_ASTC_6x6_KHR: in is_astc_2d_format()
791 case GL_COMPRESSED_RGBA_ASTC_8x5_KHR: in is_astc_2d_format()
792 case GL_COMPRESSED_RGBA_ASTC_8x6_KHR: in is_astc_2d_format()
793 case GL_COMPRESSED_RGBA_ASTC_8x8_KHR: in is_astc_2d_format()
794 case GL_COMPRESSED_RGBA_ASTC_10x5_KHR: in is_astc_2d_format()
795 case GL_COMPRESSED_RGBA_ASTC_10x6_KHR: in is_astc_2d_format()
796 case GL_COMPRESSED_RGBA_ASTC_10x8_KHR: in is_astc_2d_format()
797 case GL_COMPRESSED_RGBA_ASTC_10x10_KHR: in is_astc_2d_format()
798 case GL_COMPRESSED_RGBA_ASTC_12x10_KHR: in is_astc_2d_format()
799 case GL_COMPRESSED_RGBA_ASTC_12x12_KHR: in is_astc_2d_format()
800 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in is_astc_2d_format()
801 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in is_astc_2d_format()
802 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in is_astc_2d_format()
803 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in is_astc_2d_format()
804 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in is_astc_2d_format()
805 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in is_astc_2d_format()
806 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in is_astc_2d_format()
807 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in is_astc_2d_format()
808 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in is_astc_2d_format()
809 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in is_astc_2d_format()
810 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in is_astc_2d_format()
811 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in is_astc_2d_format()
812 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in is_astc_2d_format()
813 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in is_astc_2d_format()
827 case GL_COMPRESSED_RGBA_ASTC_3x3x3_OES: in is_astc_3d_format()
828 case GL_COMPRESSED_RGBA_ASTC_4x3x3_OES: in is_astc_3d_format()
829 case GL_COMPRESSED_RGBA_ASTC_4x4x3_OES: in is_astc_3d_format()
830 case GL_COMPRESSED_RGBA_ASTC_4x4x4_OES: in is_astc_3d_format()
831 case GL_COMPRESSED_RGBA_ASTC_5x4x4_OES: in is_astc_3d_format()
832 case GL_COMPRESSED_RGBA_ASTC_5x5x4_OES: in is_astc_3d_format()
833 case GL_COMPRESSED_RGBA_ASTC_5x5x5_OES: in is_astc_3d_format()
834 case GL_COMPRESSED_RGBA_ASTC_6x5x5_OES: in is_astc_3d_format()
835 case GL_COMPRESSED_RGBA_ASTC_6x6x5_OES: in is_astc_3d_format()
836 case GL_COMPRESSED_RGBA_ASTC_6x6x6_OES: in is_astc_3d_format()
837 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES: in is_astc_3d_format()
838 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES: in is_astc_3d_format()
839 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES: in is_astc_3d_format()
840 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES: in is_astc_3d_format()
841 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES: in is_astc_3d_format()
842 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES: in is_astc_3d_format()
843 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES: in is_astc_3d_format()
844 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES: in is_astc_3d_format()
845 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES: in is_astc_3d_format()
846 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES: in is_astc_3d_format()
870 case GL_COMPRESSED_RGB8_ETC2: in _mesa_is_etc2_format()
871 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_etc2_format()
872 case GL_COMPRESSED_RGBA8_ETC2_EAC: in _mesa_is_etc2_format()
873 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_etc2_format()
874 case GL_COMPRESSED_R11_EAC: in _mesa_is_etc2_format()
875 case GL_COMPRESSED_RG11_EAC: in _mesa_is_etc2_format()
876 case GL_COMPRESSED_SIGNED_R11_EAC: in _mesa_is_etc2_format()
877 case GL_COMPRESSED_SIGNED_RG11_EAC: in _mesa_is_etc2_format()
878 case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_etc2_format()
879 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_etc2_format()
901 case GL_UNSIGNED_INT: in _mesa_is_type_unsigned()
902 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_is_type_unsigned()
903 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_is_type_unsigned()
904 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_is_type_unsigned()
905 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_is_type_unsigned()
907 case GL_UNSIGNED_SHORT: in _mesa_is_type_unsigned()
908 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_is_type_unsigned()
909 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_is_type_unsigned()
910 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_is_type_unsigned()
911 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_is_type_unsigned()
912 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_is_type_unsigned()
913 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_is_type_unsigned()
914 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_is_type_unsigned()
915 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_is_type_unsigned()
917 case GL_UNSIGNED_BYTE: in _mesa_is_type_unsigned()
918 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_is_type_unsigned()
919 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_is_type_unsigned()
938 case GL_RED: in _mesa_is_color_format()
939 case GL_GREEN: in _mesa_is_color_format()
940 case GL_BLUE: in _mesa_is_color_format()
941 case GL_ALPHA: in _mesa_is_color_format()
942 case GL_ALPHA4: in _mesa_is_color_format()
943 case GL_ALPHA8: in _mesa_is_color_format()
944 case GL_ALPHA12: in _mesa_is_color_format()
945 case GL_ALPHA16: in _mesa_is_color_format()
946 case 1: in _mesa_is_color_format()
947 case GL_LUMINANCE: in _mesa_is_color_format()
948 case GL_LUMINANCE4: in _mesa_is_color_format()
949 case GL_LUMINANCE8: in _mesa_is_color_format()
950 case GL_LUMINANCE12: in _mesa_is_color_format()
951 case GL_LUMINANCE16: in _mesa_is_color_format()
952 case 2: in _mesa_is_color_format()
953 case GL_LUMINANCE_ALPHA: in _mesa_is_color_format()
954 case GL_LUMINANCE4_ALPHA4: in _mesa_is_color_format()
955 case GL_LUMINANCE6_ALPHA2: in _mesa_is_color_format()
956 case GL_LUMINANCE8_ALPHA8: in _mesa_is_color_format()
957 case GL_LUMINANCE12_ALPHA4: in _mesa_is_color_format()
958 case GL_LUMINANCE12_ALPHA12: in _mesa_is_color_format()
959 case GL_LUMINANCE16_ALPHA16: in _mesa_is_color_format()
960 case GL_INTENSITY: in _mesa_is_color_format()
961 case GL_INTENSITY4: in _mesa_is_color_format()
962 case GL_INTENSITY8: in _mesa_is_color_format()
963 case GL_INTENSITY12: in _mesa_is_color_format()
964 case GL_INTENSITY16: in _mesa_is_color_format()
965 case GL_R8: in _mesa_is_color_format()
966 case GL_R16: in _mesa_is_color_format()
967 case GL_RG: in _mesa_is_color_format()
968 case GL_RG8: in _mesa_is_color_format()
969 case GL_RG16: in _mesa_is_color_format()
970 case 3: in _mesa_is_color_format()
971 case GL_RGB: in _mesa_is_color_format()
972 case GL_BGR: in _mesa_is_color_format()
973 case GL_R3_G3_B2: in _mesa_is_color_format()
974 case GL_RGB4: in _mesa_is_color_format()
975 case GL_RGB5: in _mesa_is_color_format()
976 case GL_RGB565: in _mesa_is_color_format()
977 case GL_RGB8: in _mesa_is_color_format()
978 case GL_RGB10: in _mesa_is_color_format()
979 case GL_RGB12: in _mesa_is_color_format()
980 case GL_RGB16: in _mesa_is_color_format()
981 case 4: in _mesa_is_color_format()
982 case GL_ABGR_EXT: in _mesa_is_color_format()
983 case GL_RGBA: in _mesa_is_color_format()
984 case GL_BGRA: in _mesa_is_color_format()
985 case GL_RGBA2: in _mesa_is_color_format()
986 case GL_RGBA4: in _mesa_is_color_format()
987 case GL_RGB5_A1: in _mesa_is_color_format()
988 case GL_RGBA8: in _mesa_is_color_format()
989 case GL_RGB10_A2: in _mesa_is_color_format()
990 case GL_RGBA12: in _mesa_is_color_format()
991 case GL_RGBA16: in _mesa_is_color_format()
993 case GL_ALPHA16F_ARB: in _mesa_is_color_format()
994 case GL_ALPHA32F_ARB: in _mesa_is_color_format()
995 case GL_LUMINANCE16F_ARB: in _mesa_is_color_format()
996 case GL_LUMINANCE32F_ARB: in _mesa_is_color_format()
997 case GL_LUMINANCE_ALPHA16F_ARB: in _mesa_is_color_format()
998 case GL_LUMINANCE_ALPHA32F_ARB: in _mesa_is_color_format()
999 case GL_INTENSITY16F_ARB: in _mesa_is_color_format()
1000 case GL_INTENSITY32F_ARB: in _mesa_is_color_format()
1001 case GL_R16F: in _mesa_is_color_format()
1002 case GL_R32F: in _mesa_is_color_format()
1003 case GL_RG16F: in _mesa_is_color_format()
1004 case GL_RG32F: in _mesa_is_color_format()
1005 case GL_RGB16F_ARB: in _mesa_is_color_format()
1006 case GL_RGB32F_ARB: in _mesa_is_color_format()
1007 case GL_RGBA16F_ARB: in _mesa_is_color_format()
1008 case GL_RGBA32F_ARB: in _mesa_is_color_format()
1010 case GL_COMPRESSED_ALPHA: in _mesa_is_color_format()
1011 case GL_COMPRESSED_LUMINANCE: in _mesa_is_color_format()
1012 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_is_color_format()
1013 case GL_COMPRESSED_INTENSITY: in _mesa_is_color_format()
1014 case GL_COMPRESSED_RED: in _mesa_is_color_format()
1015 case GL_COMPRESSED_RG: in _mesa_is_color_format()
1016 case GL_COMPRESSED_RGB: in _mesa_is_color_format()
1017 case GL_COMPRESSED_RGBA: in _mesa_is_color_format()
1018 case GL_RGB_S3TC: in _mesa_is_color_format()
1019 case GL_RGB4_S3TC: in _mesa_is_color_format()
1020 case GL_RGBA_S3TC: in _mesa_is_color_format()
1021 case GL_RGBA4_S3TC: in _mesa_is_color_format()
1022 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: in _mesa_is_color_format()
1023 case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: in _mesa_is_color_format()
1024 case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: in _mesa_is_color_format()
1025 case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT: in _mesa_is_color_format()
1026 case GL_COMPRESSED_RGB_FXT1_3DFX: in _mesa_is_color_format()
1027 case GL_COMPRESSED_RGBA_FXT1_3DFX: in _mesa_is_color_format()
1028 case GL_SR8_EXT: in _mesa_is_color_format()
1029 case GL_SRG8_EXT: in _mesa_is_color_format()
1030 case GL_SRGB_EXT: in _mesa_is_color_format()
1031 case GL_SRGB8_EXT: in _mesa_is_color_format()
1032 case GL_SRGB_ALPHA_EXT: in _mesa_is_color_format()
1033 case GL_SRGB8_ALPHA8_EXT: in _mesa_is_color_format()
1034 case GL_SLUMINANCE_ALPHA_EXT: in _mesa_is_color_format()
1035 case GL_SLUMINANCE8_ALPHA8_EXT: in _mesa_is_color_format()
1036 case GL_SLUMINANCE_EXT: in _mesa_is_color_format()
1037 case GL_SLUMINANCE8_EXT: in _mesa_is_color_format()
1038 case GL_COMPRESSED_SRGB_EXT: in _mesa_is_color_format()
1039 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_is_color_format()
1040 case GL_COMPRESSED_SRGB_ALPHA_EXT: in _mesa_is_color_format()
1041 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_is_color_format()
1042 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_is_color_format()
1043 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_is_color_format()
1044 case GL_COMPRESSED_SLUMINANCE_EXT: in _mesa_is_color_format()
1045 case GL_COMPRESSED_SLUMINANCE_ALPHA_EXT: in _mesa_is_color_format()
1046 case GL_COMPRESSED_RED_RGTC1: in _mesa_is_color_format()
1047 case GL_COMPRESSED_SIGNED_RED_RGTC1: in _mesa_is_color_format()
1048 case GL_COMPRESSED_RG_RGTC2: in _mesa_is_color_format()
1049 case GL_COMPRESSED_SIGNED_RG_RGTC2: in _mesa_is_color_format()
1050 case GL_COMPRESSED_LUMINANCE_LATC1_EXT: in _mesa_is_color_format()
1051 case GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT: in _mesa_is_color_format()
1052 case GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT: in _mesa_is_color_format()
1053 case GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT: in _mesa_is_color_format()
1054 case GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI: in _mesa_is_color_format()
1055 case GL_ETC1_RGB8_OES: in _mesa_is_color_format()
1056 case GL_COMPRESSED_RGB8_ETC2: in _mesa_is_color_format()
1057 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_color_format()
1058 case GL_COMPRESSED_RGBA8_ETC2_EAC: in _mesa_is_color_format()
1059 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_color_format()
1060 case GL_COMPRESSED_R11_EAC: in _mesa_is_color_format()
1061 case GL_COMPRESSED_RG11_EAC: in _mesa_is_color_format()
1062 case GL_COMPRESSED_SIGNED_R11_EAC: in _mesa_is_color_format()
1063 case GL_COMPRESSED_SIGNED_RG11_EAC: in _mesa_is_color_format()
1064 case GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_color_format()
1065 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_color_format()
1066 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_is_color_format()
1067 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_is_color_format()
1068 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_is_color_format()
1069 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_is_color_format()
1070 case GL_COMPRESSED_RGBA_ASTC_4x4_KHR: in _mesa_is_color_format()
1071 case GL_COMPRESSED_RGBA_ASTC_5x4_KHR: in _mesa_is_color_format()
1072 case GL_COMPRESSED_RGBA_ASTC_5x5_KHR: in _mesa_is_color_format()
1073 case GL_COMPRESSED_RGBA_ASTC_6x5_KHR: in _mesa_is_color_format()
1074 case GL_COMPRESSED_RGBA_ASTC_6x6_KHR: in _mesa_is_color_format()
1075 case GL_COMPRESSED_RGBA_ASTC_8x5_KHR: in _mesa_is_color_format()
1076 case GL_COMPRESSED_RGBA_ASTC_8x6_KHR: in _mesa_is_color_format()
1077 case GL_COMPRESSED_RGBA_ASTC_8x8_KHR: in _mesa_is_color_format()
1078 case GL_COMPRESSED_RGBA_ASTC_10x5_KHR: in _mesa_is_color_format()
1079 case GL_COMPRESSED_RGBA_ASTC_10x6_KHR: in _mesa_is_color_format()
1080 case GL_COMPRESSED_RGBA_ASTC_10x8_KHR: in _mesa_is_color_format()
1081 case GL_COMPRESSED_RGBA_ASTC_10x10_KHR: in _mesa_is_color_format()
1082 case GL_COMPRESSED_RGBA_ASTC_12x10_KHR: in _mesa_is_color_format()
1083 case GL_COMPRESSED_RGBA_ASTC_12x12_KHR: in _mesa_is_color_format()
1084 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in _mesa_is_color_format()
1085 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in _mesa_is_color_format()
1086 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in _mesa_is_color_format()
1087 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in _mesa_is_color_format()
1088 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in _mesa_is_color_format()
1089 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in _mesa_is_color_format()
1090 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in _mesa_is_color_format()
1091 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in _mesa_is_color_format()
1092 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in _mesa_is_color_format()
1093 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in _mesa_is_color_format()
1094 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in _mesa_is_color_format()
1095 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in _mesa_is_color_format()
1096 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in _mesa_is_color_format()
1097 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in _mesa_is_color_format()
1098 case GL_ATC_RGB_AMD: in _mesa_is_color_format()
1099 case GL_ATC_RGBA_EXPLICIT_ALPHA_AMD: in _mesa_is_color_format()
1100 case GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD: in _mesa_is_color_format()
1102 case GL_RED_INTEGER_EXT: in _mesa_is_color_format()
1103 case GL_GREEN_INTEGER_EXT: in _mesa_is_color_format()
1104 case GL_BLUE_INTEGER_EXT: in _mesa_is_color_format()
1105 case GL_ALPHA_INTEGER_EXT: in _mesa_is_color_format()
1106 case GL_RGB_INTEGER_EXT: in _mesa_is_color_format()
1107 case GL_RGBA_INTEGER_EXT: in _mesa_is_color_format()
1108 case GL_BGR_INTEGER_EXT: in _mesa_is_color_format()
1109 case GL_BGRA_INTEGER_EXT: in _mesa_is_color_format()
1110 case GL_RG_INTEGER: in _mesa_is_color_format()
1111 case GL_LUMINANCE_INTEGER_EXT: in _mesa_is_color_format()
1112 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_is_color_format()
1114 case GL_RGBA32UI_EXT: in _mesa_is_color_format()
1115 case GL_RGB32UI_EXT: in _mesa_is_color_format()
1116 case GL_RG32UI: in _mesa_is_color_format()
1117 case GL_R32UI: in _mesa_is_color_format()
1118 case GL_ALPHA32UI_EXT: in _mesa_is_color_format()
1119 case GL_INTENSITY32UI_EXT: in _mesa_is_color_format()
1120 case GL_LUMINANCE32UI_EXT: in _mesa_is_color_format()
1121 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_is_color_format()
1122 case GL_RGBA16UI_EXT: in _mesa_is_color_format()
1123 case GL_RGB16UI_EXT: in _mesa_is_color_format()
1124 case GL_RG16UI: in _mesa_is_color_format()
1125 case GL_R16UI: in _mesa_is_color_format()
1126 case GL_ALPHA16UI_EXT: in _mesa_is_color_format()
1127 case GL_INTENSITY16UI_EXT: in _mesa_is_color_format()
1128 case GL_LUMINANCE16UI_EXT: in _mesa_is_color_format()
1129 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_is_color_format()
1130 case GL_RGBA8UI_EXT: in _mesa_is_color_format()
1131 case GL_RGB8UI_EXT: in _mesa_is_color_format()
1132 case GL_RG8UI: in _mesa_is_color_format()
1133 case GL_R8UI: in _mesa_is_color_format()
1134 case GL_ALPHA8UI_EXT: in _mesa_is_color_format()
1135 case GL_INTENSITY8UI_EXT: in _mesa_is_color_format()
1136 case GL_LUMINANCE8UI_EXT: in _mesa_is_color_format()
1137 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_is_color_format()
1138 case GL_RGBA32I_EXT: in _mesa_is_color_format()
1139 case GL_RGB32I_EXT: in _mesa_is_color_format()
1140 case GL_RG32I: in _mesa_is_color_format()
1141 case GL_R32I: in _mesa_is_color_format()
1142 case GL_ALPHA32I_EXT: in _mesa_is_color_format()
1143 case GL_INTENSITY32I_EXT: in _mesa_is_color_format()
1144 case GL_LUMINANCE32I_EXT: in _mesa_is_color_format()
1145 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_is_color_format()
1146 case GL_RGBA16I_EXT: in _mesa_is_color_format()
1147 case GL_RGB16I_EXT: in _mesa_is_color_format()
1148 case GL_RG16I: in _mesa_is_color_format()
1149 case GL_R16I: in _mesa_is_color_format()
1150 case GL_ALPHA16I_EXT: in _mesa_is_color_format()
1151 case GL_INTENSITY16I_EXT: in _mesa_is_color_format()
1152 case GL_LUMINANCE16I_EXT: in _mesa_is_color_format()
1153 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_is_color_format()
1154 case GL_RGBA8I_EXT: in _mesa_is_color_format()
1155 case GL_RGB8I_EXT: in _mesa_is_color_format()
1156 case GL_RG8I: in _mesa_is_color_format()
1157 case GL_R8I: in _mesa_is_color_format()
1158 case GL_ALPHA8I_EXT: in _mesa_is_color_format()
1159 case GL_INTENSITY8I_EXT: in _mesa_is_color_format()
1160 case GL_LUMINANCE8I_EXT: in _mesa_is_color_format()
1161 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_is_color_format()
1163 case GL_RED_SNORM: in _mesa_is_color_format()
1164 case GL_R8_SNORM: in _mesa_is_color_format()
1165 case GL_R16_SNORM: in _mesa_is_color_format()
1166 case GL_RG_SNORM: in _mesa_is_color_format()
1167 case GL_RG8_SNORM: in _mesa_is_color_format()
1168 case GL_RG16_SNORM: in _mesa_is_color_format()
1169 case GL_RGB_SNORM: in _mesa_is_color_format()
1170 case GL_RGB8_SNORM: in _mesa_is_color_format()
1171 case GL_RGB16_SNORM: in _mesa_is_color_format()
1172 case GL_RGBA_SNORM: in _mesa_is_color_format()
1173 case GL_RGBA8_SNORM: in _mesa_is_color_format()
1174 case GL_RGBA16_SNORM: in _mesa_is_color_format()
1175 case GL_ALPHA_SNORM: in _mesa_is_color_format()
1176 case GL_ALPHA8_SNORM: in _mesa_is_color_format()
1177 case GL_ALPHA16_SNORM: in _mesa_is_color_format()
1178 case GL_LUMINANCE_SNORM: in _mesa_is_color_format()
1179 case GL_LUMINANCE8_SNORM: in _mesa_is_color_format()
1180 case GL_LUMINANCE16_SNORM: in _mesa_is_color_format()
1181 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_is_color_format()
1182 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_is_color_format()
1183 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_is_color_format()
1184 case GL_INTENSITY_SNORM: in _mesa_is_color_format()
1185 case GL_INTENSITY8_SNORM: in _mesa_is_color_format()
1186 case GL_INTENSITY16_SNORM: in _mesa_is_color_format()
1187 case GL_RGB9_E5: in _mesa_is_color_format()
1188 case GL_R11F_G11F_B10F: in _mesa_is_color_format()
1189 case GL_RGB10_A2UI: in _mesa_is_color_format()
1191 case GL_YCBCR_MESA: /* not considered to be RGB */ in _mesa_is_color_format()
1206 case GL_DEPTH_COMPONENT: in _mesa_is_depth_format()
1207 case GL_DEPTH_COMPONENT16: in _mesa_is_depth_format()
1208 case GL_DEPTH_COMPONENT24: in _mesa_is_depth_format()
1209 case GL_DEPTH_COMPONENT32: in _mesa_is_depth_format()
1210 case GL_DEPTH_COMPONENT32F: in _mesa_is_depth_format()
1225 case GL_STENCIL_INDEX: in _mesa_is_stencil_format()
1240 case GL_YCBCR_MESA: in _mesa_is_ycbcr_format()
1255 case GL_DEPTH24_STENCIL8_EXT: in _mesa_is_depthstencil_format()
1256 case GL_DEPTH_STENCIL_EXT: in _mesa_is_depthstencil_format()
1257 case GL_DEPTH32F_STENCIL8: in _mesa_is_depthstencil_format()
1272 case GL_DEPTH_COMPONENT: in _mesa_is_depth_or_stencil_format()
1273 case GL_DEPTH_COMPONENT16: in _mesa_is_depth_or_stencil_format()
1274 case GL_DEPTH_COMPONENT24: in _mesa_is_depth_or_stencil_format()
1275 case GL_DEPTH_COMPONENT32: in _mesa_is_depth_or_stencil_format()
1276 case GL_STENCIL_INDEX: in _mesa_is_depth_or_stencil_format()
1277 case GL_STENCIL_INDEX1_EXT: in _mesa_is_depth_or_stencil_format()
1278 case GL_STENCIL_INDEX4_EXT: in _mesa_is_depth_or_stencil_format()
1279 case GL_STENCIL_INDEX8_EXT: in _mesa_is_depth_or_stencil_format()
1280 case GL_STENCIL_INDEX16_EXT: in _mesa_is_depth_or_stencil_format()
1281 case GL_DEPTH_STENCIL_EXT: in _mesa_is_depth_or_stencil_format()
1282 case GL_DEPTH24_STENCIL8_EXT: in _mesa_is_depth_or_stencil_format()
1283 case GL_DEPTH_COMPONENT32F: in _mesa_is_depth_or_stencil_format()
1284 case GL_DEPTH32F_STENCIL8: in _mesa_is_depth_or_stencil_format()
1316 case GL_RGB_S3TC: in _mesa_is_compressed_format()
1317 case GL_RGB4_S3TC: in _mesa_is_compressed_format()
1318 case GL_RGBA_S3TC: in _mesa_is_compressed_format()
1319 case GL_RGBA4_S3TC: in _mesa_is_compressed_format()
1321 case GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI: in _mesa_is_compressed_format()
1323 case GL_PALETTE4_RGB8_OES: in _mesa_is_compressed_format()
1324 case GL_PALETTE4_RGBA8_OES: in _mesa_is_compressed_format()
1325 case GL_PALETTE4_R5_G6_B5_OES: in _mesa_is_compressed_format()
1326 case GL_PALETTE4_RGBA4_OES: in _mesa_is_compressed_format()
1327 case GL_PALETTE4_RGB5_A1_OES: in _mesa_is_compressed_format()
1328 case GL_PALETTE8_RGB8_OES: in _mesa_is_compressed_format()
1329 case GL_PALETTE8_RGBA8_OES: in _mesa_is_compressed_format()
1330 case GL_PALETTE8_R5_G6_B5_OES: in _mesa_is_compressed_format()
1331 case GL_PALETTE8_RGBA4_OES: in _mesa_is_compressed_format()
1332 case GL_PALETTE8_RGB5_A1_OES: in _mesa_is_compressed_format()
1337 case MESA_FORMAT_LAYOUT_S3TC: in _mesa_is_compressed_format()
1345 case MESA_FORMAT_LAYOUT_FXT1: in _mesa_is_compressed_format()
1347 case MESA_FORMAT_LAYOUT_RGTC: in _mesa_is_compressed_format()
1350 case MESA_FORMAT_LAYOUT_LATC: in _mesa_is_compressed_format()
1352 case MESA_FORMAT_LAYOUT_ETC1: in _mesa_is_compressed_format()
1354 case MESA_FORMAT_LAYOUT_ETC2: in _mesa_is_compressed_format()
1356 case MESA_FORMAT_LAYOUT_BPTC: in _mesa_is_compressed_format()
1359 case MESA_FORMAT_LAYOUT_ASTC: in _mesa_is_compressed_format()
1361 case MESA_FORMAT_LAYOUT_ATC: in _mesa_is_compressed_format()
1377 case GL_SR8_EXT: in _mesa_is_srgb_format()
1378 case GL_SRG8_EXT: in _mesa_is_srgb_format()
1379 case GL_SRGB: in _mesa_is_srgb_format()
1380 case GL_SRGB8: in _mesa_is_srgb_format()
1381 case GL_SRGB_ALPHA: in _mesa_is_srgb_format()
1382 case GL_SRGB8_ALPHA8: in _mesa_is_srgb_format()
1383 case GL_COMPRESSED_SRGB: in _mesa_is_srgb_format()
1384 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_is_srgb_format()
1385 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_is_srgb_format()
1386 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_is_srgb_format()
1387 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_is_srgb_format()
1388 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_is_srgb_format()
1389 case GL_COMPRESSED_SRGB8_ETC2: in _mesa_is_srgb_format()
1390 case GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: in _mesa_is_srgb_format()
1391 case GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: in _mesa_is_srgb_format()
1392 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_is_srgb_format()
1393 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR: in _mesa_is_srgb_format()
1394 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR: in _mesa_is_srgb_format()
1395 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR: in _mesa_is_srgb_format()
1396 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR: in _mesa_is_srgb_format()
1397 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR: in _mesa_is_srgb_format()
1398 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR: in _mesa_is_srgb_format()
1399 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR: in _mesa_is_srgb_format()
1400 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR: in _mesa_is_srgb_format()
1401 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR: in _mesa_is_srgb_format()
1402 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR: in _mesa_is_srgb_format()
1403 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR: in _mesa_is_srgb_format()
1404 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR: in _mesa_is_srgb_format()
1405 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR: in _mesa_is_srgb_format()
1406 case GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR: in _mesa_is_srgb_format()
1422 case GL_RED_INTEGER: in _mesa_unpack_format_to_base_format()
1424 case GL_GREEN_INTEGER: in _mesa_unpack_format_to_base_format()
1426 case GL_BLUE_INTEGER: in _mesa_unpack_format_to_base_format()
1428 case GL_ALPHA_INTEGER: in _mesa_unpack_format_to_base_format()
1430 case GL_RG_INTEGER: in _mesa_unpack_format_to_base_format()
1432 case GL_RGB_INTEGER: in _mesa_unpack_format_to_base_format()
1434 case GL_RGBA_INTEGER: in _mesa_unpack_format_to_base_format()
1436 case GL_BGR_INTEGER: in _mesa_unpack_format_to_base_format()
1438 case GL_BGRA_INTEGER: in _mesa_unpack_format_to_base_format()
1440 case GL_LUMINANCE_INTEGER_EXT: in _mesa_unpack_format_to_base_format()
1442 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_unpack_format_to_base_format()
1444 case GL_RED: in _mesa_unpack_format_to_base_format()
1445 case GL_GREEN: in _mesa_unpack_format_to_base_format()
1446 case GL_BLUE: in _mesa_unpack_format_to_base_format()
1447 case GL_RG: in _mesa_unpack_format_to_base_format()
1448 case GL_RGB: in _mesa_unpack_format_to_base_format()
1449 case GL_RGBA: in _mesa_unpack_format_to_base_format()
1450 case GL_BGR: in _mesa_unpack_format_to_base_format()
1451 case GL_BGRA: in _mesa_unpack_format_to_base_format()
1452 case GL_ALPHA: in _mesa_unpack_format_to_base_format()
1453 case GL_LUMINANCE: in _mesa_unpack_format_to_base_format()
1454 case GL_LUMINANCE_ALPHA: in _mesa_unpack_format_to_base_format()
1467 case GL_RED: in _mesa_base_format_to_integer_format()
1469 case GL_GREEN: in _mesa_base_format_to_integer_format()
1471 case GL_BLUE: in _mesa_base_format_to_integer_format()
1473 case GL_RG: in _mesa_base_format_to_integer_format()
1475 case GL_RGB: in _mesa_base_format_to_integer_format()
1477 case GL_RGBA: in _mesa_base_format_to_integer_format()
1479 case GL_BGR: in _mesa_base_format_to_integer_format()
1481 case GL_BGRA: in _mesa_base_format_to_integer_format()
1483 case GL_ALPHA: in _mesa_base_format_to_integer_format()
1485 case GL_LUMINANCE: in _mesa_base_format_to_integer_format()
1487 case GL_LUMINANCE_ALPHA: in _mesa_base_format_to_integer_format()
1503 case GL_TEXTURE_RED_SIZE: in _mesa_base_format_has_channel()
1504 case GL_TEXTURE_RED_TYPE: in _mesa_base_format_has_channel()
1505 case GL_RENDERBUFFER_RED_SIZE_EXT: in _mesa_base_format_has_channel()
1506 case GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE: in _mesa_base_format_has_channel()
1507 case GL_INTERNALFORMAT_RED_SIZE: in _mesa_base_format_has_channel()
1508 case GL_INTERNALFORMAT_RED_TYPE: in _mesa_base_format_has_channel()
1516 case GL_TEXTURE_GREEN_SIZE: in _mesa_base_format_has_channel()
1517 case GL_TEXTURE_GREEN_TYPE: in _mesa_base_format_has_channel()
1518 case GL_RENDERBUFFER_GREEN_SIZE_EXT: in _mesa_base_format_has_channel()
1519 case GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: in _mesa_base_format_has_channel()
1520 case GL_INTERNALFORMAT_GREEN_SIZE: in _mesa_base_format_has_channel()
1521 case GL_INTERNALFORMAT_GREEN_TYPE: in _mesa_base_format_has_channel()
1528 case GL_TEXTURE_BLUE_SIZE: in _mesa_base_format_has_channel()
1529 case GL_TEXTURE_BLUE_TYPE: in _mesa_base_format_has_channel()
1530 case GL_RENDERBUFFER_BLUE_SIZE_EXT: in _mesa_base_format_has_channel()
1531 case GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: in _mesa_base_format_has_channel()
1532 case GL_INTERNALFORMAT_BLUE_SIZE: in _mesa_base_format_has_channel()
1533 case GL_INTERNALFORMAT_BLUE_TYPE: in _mesa_base_format_has_channel()
1539 case GL_TEXTURE_ALPHA_SIZE: in _mesa_base_format_has_channel()
1540 case GL_TEXTURE_ALPHA_TYPE: in _mesa_base_format_has_channel()
1541 case GL_RENDERBUFFER_ALPHA_SIZE_EXT: in _mesa_base_format_has_channel()
1542 case GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: in _mesa_base_format_has_channel()
1543 case GL_INTERNALFORMAT_ALPHA_SIZE: in _mesa_base_format_has_channel()
1544 case GL_INTERNALFORMAT_ALPHA_TYPE: in _mesa_base_format_has_channel()
1551 case GL_TEXTURE_LUMINANCE_SIZE: in _mesa_base_format_has_channel()
1552 case GL_TEXTURE_LUMINANCE_TYPE: in _mesa_base_format_has_channel()
1558 case GL_TEXTURE_INTENSITY_SIZE: in _mesa_base_format_has_channel()
1559 case GL_TEXTURE_INTENSITY_TYPE: in _mesa_base_format_has_channel()
1564 case GL_TEXTURE_DEPTH_SIZE: in _mesa_base_format_has_channel()
1565 case GL_TEXTURE_DEPTH_TYPE: in _mesa_base_format_has_channel()
1566 case GL_RENDERBUFFER_DEPTH_SIZE_EXT: in _mesa_base_format_has_channel()
1567 case GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: in _mesa_base_format_has_channel()
1568 case GL_INTERNALFORMAT_DEPTH_SIZE: in _mesa_base_format_has_channel()
1569 case GL_INTERNALFORMAT_DEPTH_TYPE: in _mesa_base_format_has_channel()
1575 case GL_RENDERBUFFER_STENCIL_SIZE_EXT: in _mesa_base_format_has_channel()
1576 case GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: in _mesa_base_format_has_channel()
1577 case GL_INTERNALFORMAT_STENCIL_SIZE: in _mesa_base_format_has_channel()
1578 case GL_INTERNALFORMAT_STENCIL_TYPE: in _mesa_base_format_has_channel()
1602 case GL_COMPRESSED_RED: in _mesa_generic_compressed_format_to_uncompressed_format()
1604 case GL_COMPRESSED_RG: in _mesa_generic_compressed_format_to_uncompressed_format()
1606 case GL_COMPRESSED_RGB: in _mesa_generic_compressed_format_to_uncompressed_format()
1608 case GL_COMPRESSED_RGBA: in _mesa_generic_compressed_format_to_uncompressed_format()
1610 case GL_COMPRESSED_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1612 case GL_COMPRESSED_LUMINANCE: in _mesa_generic_compressed_format_to_uncompressed_format()
1614 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1616 case GL_COMPRESSED_INTENSITY: in _mesa_generic_compressed_format_to_uncompressed_format()
1619 case GL_COMPRESSED_SRGB: in _mesa_generic_compressed_format_to_uncompressed_format()
1621 case GL_COMPRESSED_SRGB_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1623 case GL_COMPRESSED_SLUMINANCE: in _mesa_generic_compressed_format_to_uncompressed_format()
1625 case GL_COMPRESSED_SLUMINANCE_ALPHA: in _mesa_generic_compressed_format_to_uncompressed_format()
1642 case 4: in _mesa_get_nongeneric_internalformat()
1643 case GL_RGBA: in _mesa_get_nongeneric_internalformat()
1645 case 3: in _mesa_get_nongeneric_internalformat()
1646 case GL_RGB: in _mesa_get_nongeneric_internalformat()
1648 case 2: in _mesa_get_nongeneric_internalformat()
1649 case GL_LUMINANCE_ALPHA: in _mesa_get_nongeneric_internalformat()
1651 case 1: in _mesa_get_nongeneric_internalformat()
1652 case GL_LUMINANCE: in _mesa_get_nongeneric_internalformat()
1654 case GL_ALPHA: in _mesa_get_nongeneric_internalformat()
1656 case GL_INTENSITY: in _mesa_get_nongeneric_internalformat()
1660 case GL_RED: in _mesa_get_nongeneric_internalformat()
1662 case GL_RG: in _mesa_get_nongeneric_internalformat()
1666 case GL_SRGB: in _mesa_get_nongeneric_internalformat()
1668 case GL_SRGB_ALPHA: in _mesa_get_nongeneric_internalformat()
1670 case GL_SLUMINANCE: in _mesa_get_nongeneric_internalformat()
1672 case GL_SLUMINANCE_ALPHA: in _mesa_get_nongeneric_internalformat()
1676 case GL_RGBA_SNORM: in _mesa_get_nongeneric_internalformat()
1678 case GL_RGB_SNORM: in _mesa_get_nongeneric_internalformat()
1680 case GL_RG_SNORM: in _mesa_get_nongeneric_internalformat()
1682 case GL_RED_SNORM: in _mesa_get_nongeneric_internalformat()
1684 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_get_nongeneric_internalformat()
1686 case GL_LUMINANCE_SNORM: in _mesa_get_nongeneric_internalformat()
1688 case GL_ALPHA_SNORM: in _mesa_get_nongeneric_internalformat()
1690 case GL_INTENSITY_SNORM: in _mesa_get_nongeneric_internalformat()
1706 case GL_SRGB: in _mesa_get_linear_internalformat()
1708 case GL_SRGB_ALPHA: in _mesa_get_linear_internalformat()
1710 case GL_SRGB8: in _mesa_get_linear_internalformat()
1712 case GL_SRGB8_ALPHA8: in _mesa_get_linear_internalformat()
1714 case GL_SLUMINANCE8: in _mesa_get_linear_internalformat()
1716 case GL_SLUMINANCE: in _mesa_get_linear_internalformat()
1718 case GL_SLUMINANCE_ALPHA: in _mesa_get_linear_internalformat()
1720 case GL_SLUMINANCE8_ALPHA8: in _mesa_get_linear_internalformat()
1761 case GL_BITMAP: in _mesa_error_check_format_and_type()
1767 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
1768 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
1769 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
1770 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
1780 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
1781 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
1782 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
1783 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
1795 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
1796 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
1797 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
1798 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1813 case GL_UNSIGNED_INT_24_8: in _mesa_error_check_format_and_type()
1823 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_error_check_format_and_type()
1832 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_error_check_format_and_type()
1841 case GL_HALF_FLOAT_OES: in _mesa_error_check_format_and_type()
1843 case GL_RGBA: in _mesa_error_check_format_and_type()
1844 case GL_RGB: in _mesa_error_check_format_and_type()
1845 case GL_LUMINANCE_ALPHA: in _mesa_error_check_format_and_type()
1846 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
1847 case GL_ALPHA: in _mesa_error_check_format_and_type()
1849 case GL_RG: in _mesa_error_check_format_and_type()
1850 case GL_RED: in _mesa_error_check_format_and_type()
1864 case GL_COLOR_INDEX: in _mesa_error_check_format_and_type()
1865 case GL_STENCIL_INDEX: in _mesa_error_check_format_and_type()
1867 case GL_BITMAP: in _mesa_error_check_format_and_type()
1868 case GL_BYTE: in _mesa_error_check_format_and_type()
1869 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1870 case GL_SHORT: in _mesa_error_check_format_and_type()
1871 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1872 case GL_INT: in _mesa_error_check_format_and_type()
1873 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1874 case GL_FLOAT: in _mesa_error_check_format_and_type()
1875 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1881 case GL_RED: in _mesa_error_check_format_and_type()
1882 case GL_GREEN: in _mesa_error_check_format_and_type()
1883 case GL_BLUE: in _mesa_error_check_format_and_type()
1884 case GL_ALPHA: in _mesa_error_check_format_and_type()
1886 case GL_INTENSITY: in _mesa_error_check_format_and_type()
1888 case GL_LUMINANCE: in _mesa_error_check_format_and_type()
1889 case GL_LUMINANCE_ALPHA: in _mesa_error_check_format_and_type()
1890 case GL_DEPTH_COMPONENT: in _mesa_error_check_format_and_type()
1892 case GL_BYTE: in _mesa_error_check_format_and_type()
1893 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1894 case GL_SHORT: in _mesa_error_check_format_and_type()
1895 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1896 case GL_INT: in _mesa_error_check_format_and_type()
1897 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1898 case GL_FLOAT: in _mesa_error_check_format_and_type()
1899 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1905 case GL_RG: in _mesa_error_check_format_and_type()
1909 case GL_BYTE: in _mesa_error_check_format_and_type()
1910 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1911 case GL_SHORT: in _mesa_error_check_format_and_type()
1912 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1913 case GL_INT: in _mesa_error_check_format_and_type()
1914 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1915 case GL_FLOAT: in _mesa_error_check_format_and_type()
1916 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1922 case GL_RGB: in _mesa_error_check_format_and_type()
1924 case GL_BYTE: in _mesa_error_check_format_and_type()
1925 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1926 case GL_SHORT: in _mesa_error_check_format_and_type()
1927 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1928 case GL_INT: in _mesa_error_check_format_and_type()
1929 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1930 case GL_FLOAT: in _mesa_error_check_format_and_type()
1931 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
1932 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
1933 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
1934 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
1935 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1937 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1941 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_error_check_format_and_type()
1944 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_error_check_format_and_type()
1951 case GL_BGR: in _mesa_error_check_format_and_type()
1956 case GL_BYTE: in _mesa_error_check_format_and_type()
1957 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1958 case GL_SHORT: in _mesa_error_check_format_and_type()
1959 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1960 case GL_INT: in _mesa_error_check_format_and_type()
1961 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1962 case GL_FLOAT: in _mesa_error_check_format_and_type()
1963 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1969 case GL_RGBA: in _mesa_error_check_format_and_type()
1970 case GL_BGRA: in _mesa_error_check_format_and_type()
1972 case GL_BYTE: in _mesa_error_check_format_and_type()
1973 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1974 case GL_SHORT: in _mesa_error_check_format_and_type()
1975 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1976 case GL_INT: in _mesa_error_check_format_and_type()
1977 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
1978 case GL_FLOAT: in _mesa_error_check_format_and_type()
1979 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
1980 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
1981 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
1982 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
1983 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
1984 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
1985 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
1986 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1987 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
1993 case GL_ABGR_EXT: in _mesa_error_check_format_and_type()
1995 case GL_BYTE: in _mesa_error_check_format_and_type()
1996 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
1997 case GL_SHORT: in _mesa_error_check_format_and_type()
1998 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
1999 case GL_INT: in _mesa_error_check_format_and_type()
2000 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2001 case GL_FLOAT: in _mesa_error_check_format_and_type()
2002 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2003 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2004 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2005 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2006 case GL_HALF_FLOAT: in _mesa_error_check_format_and_type()
2012 case GL_YCBCR_MESA: in _mesa_error_check_format_and_type()
2021 case GL_DEPTH_STENCIL: in _mesa_error_check_format_and_type()
2031 case GL_RED_INTEGER_EXT: in _mesa_error_check_format_and_type()
2032 case GL_GREEN_INTEGER_EXT: in _mesa_error_check_format_and_type()
2033 case GL_BLUE_INTEGER_EXT: in _mesa_error_check_format_and_type()
2034 case GL_ALPHA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2035 case GL_RG_INTEGER: in _mesa_error_check_format_and_type()
2037 case GL_BYTE: in _mesa_error_check_format_and_type()
2038 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2039 case GL_SHORT: in _mesa_error_check_format_and_type()
2040 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2041 case GL_INT: in _mesa_error_check_format_and_type()
2042 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2049 case GL_RGB_INTEGER_EXT: in _mesa_error_check_format_and_type()
2051 case GL_BYTE: in _mesa_error_check_format_and_type()
2052 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2053 case GL_SHORT: in _mesa_error_check_format_and_type()
2054 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2055 case GL_INT: in _mesa_error_check_format_and_type()
2056 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2059 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_error_check_format_and_type()
2060 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_error_check_format_and_type()
2061 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_error_check_format_and_type()
2062 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_error_check_format_and_type()
2069 case GL_BGR_INTEGER_EXT: in _mesa_error_check_format_and_type()
2071 case GL_BYTE: in _mesa_error_check_format_and_type()
2072 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2073 case GL_SHORT: in _mesa_error_check_format_and_type()
2074 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2075 case GL_INT: in _mesa_error_check_format_and_type()
2076 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2084 case GL_RGBA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2085 case GL_BGRA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2087 case GL_BYTE: in _mesa_error_check_format_and_type()
2088 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2089 case GL_SHORT: in _mesa_error_check_format_and_type()
2090 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2091 case GL_INT: in _mesa_error_check_format_and_type()
2092 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2095 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_error_check_format_and_type()
2096 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_error_check_format_and_type()
2097 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_error_check_format_and_type()
2098 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_error_check_format_and_type()
2099 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_error_check_format_and_type()
2100 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_error_check_format_and_type()
2101 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_error_check_format_and_type()
2102 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2109 case GL_LUMINANCE_INTEGER_EXT: in _mesa_error_check_format_and_type()
2110 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in _mesa_error_check_format_and_type()
2112 case GL_BYTE: in _mesa_error_check_format_and_type()
2113 case GL_UNSIGNED_BYTE: in _mesa_error_check_format_and_type()
2114 case GL_SHORT: in _mesa_error_check_format_and_type()
2115 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type()
2116 case GL_INT: in _mesa_error_check_format_and_type()
2117 case GL_UNSIGNED_INT: in _mesa_error_check_format_and_type()
2144 case GL_RED: in _mesa_es_error_check_format_and_type()
2145 case GL_RG: in _mesa_es_error_check_format_and_type()
2149 case GL_ALPHA: in _mesa_es_error_check_format_and_type()
2150 case GL_LUMINANCE: in _mesa_es_error_check_format_and_type()
2151 case GL_LUMINANCE_ALPHA: in _mesa_es_error_check_format_and_type()
2157 case GL_RGB: in _mesa_es_error_check_format_and_type()
2164 case GL_RGBA: in _mesa_es_error_check_format_and_type()
2174 case GL_DEPTH_COMPONENT: in _mesa_es_error_check_format_and_type()
2181 case GL_DEPTH_STENCIL: in _mesa_es_error_check_format_and_type()
2187 case GL_BGRA_EXT: in _mesa_es_error_check_format_and_type()
2223 case GL_ALPHA: in _mesa_base_tex_format()
2224 case GL_ALPHA4: in _mesa_base_tex_format()
2225 case GL_ALPHA8: in _mesa_base_tex_format()
2226 case GL_ALPHA12: in _mesa_base_tex_format()
2227 case GL_ALPHA16: in _mesa_base_tex_format()
2229 case 1: in _mesa_base_tex_format()
2230 case GL_LUMINANCE: in _mesa_base_tex_format()
2231 case GL_LUMINANCE4: in _mesa_base_tex_format()
2232 case GL_LUMINANCE8: in _mesa_base_tex_format()
2233 case GL_LUMINANCE12: in _mesa_base_tex_format()
2234 case GL_LUMINANCE16: in _mesa_base_tex_format()
2236 case 2: in _mesa_base_tex_format()
2237 case GL_LUMINANCE_ALPHA: in _mesa_base_tex_format()
2238 case GL_LUMINANCE4_ALPHA4: in _mesa_base_tex_format()
2239 case GL_LUMINANCE6_ALPHA2: in _mesa_base_tex_format()
2240 case GL_LUMINANCE8_ALPHA8: in _mesa_base_tex_format()
2241 case GL_LUMINANCE12_ALPHA4: in _mesa_base_tex_format()
2242 case GL_LUMINANCE12_ALPHA12: in _mesa_base_tex_format()
2243 case GL_LUMINANCE16_ALPHA16: in _mesa_base_tex_format()
2245 case GL_INTENSITY: in _mesa_base_tex_format()
2246 case GL_INTENSITY4: in _mesa_base_tex_format()
2247 case GL_INTENSITY8: in _mesa_base_tex_format()
2248 case GL_INTENSITY12: in _mesa_base_tex_format()
2249 case GL_INTENSITY16: in _mesa_base_tex_format()
2251 case 3: in _mesa_base_tex_format()
2253 case GL_RGB: in _mesa_base_tex_format()
2254 case GL_R3_G3_B2: in _mesa_base_tex_format()
2255 case GL_RGB4: in _mesa_base_tex_format()
2256 case GL_RGB5: in _mesa_base_tex_format()
2257 case GL_RGB8: in _mesa_base_tex_format()
2258 case GL_RGB10: in _mesa_base_tex_format()
2259 case GL_RGB12: in _mesa_base_tex_format()
2260 case GL_RGB16: in _mesa_base_tex_format()
2262 case 4: in _mesa_base_tex_format()
2264 case GL_RGBA: in _mesa_base_tex_format()
2265 case GL_RGBA2: in _mesa_base_tex_format()
2266 case GL_RGBA4: in _mesa_base_tex_format()
2267 case GL_RGB5_A1: in _mesa_base_tex_format()
2268 case GL_RGBA8: in _mesa_base_tex_format()
2269 case GL_RGB10_A2: in _mesa_base_tex_format()
2270 case GL_RGBA12: in _mesa_base_tex_format()
2271 case GL_RGBA16: in _mesa_base_tex_format()
2273 case GL_BGRA: in _mesa_base_tex_format()
2274 case GL_BGRA8_EXT: in _mesa_base_tex_format()
2284 case GL_RGB565: in _mesa_base_tex_format()
2293 case GL_DEPTH_COMPONENT: in _mesa_base_tex_format()
2294 case GL_DEPTH_COMPONENT16: in _mesa_base_tex_format()
2295 case GL_DEPTH_COMPONENT24: in _mesa_base_tex_format()
2296 case GL_DEPTH_COMPONENT32: in _mesa_base_tex_format()
2298 case GL_DEPTH_STENCIL: in _mesa_base_tex_format()
2299 case GL_DEPTH24_STENCIL8: in _mesa_base_tex_format()
2309 case GL_STENCIL_INDEX: in _mesa_base_tex_format()
2310 case GL_STENCIL_INDEX1: in _mesa_base_tex_format()
2311 case GL_STENCIL_INDEX4: in _mesa_base_tex_format()
2312 case GL_STENCIL_INDEX8: in _mesa_base_tex_format()
2313 case GL_STENCIL_INDEX16: in _mesa_base_tex_format()
2321 case GL_COMPRESSED_ALPHA: in _mesa_base_tex_format()
2323 case GL_COMPRESSED_LUMINANCE: in _mesa_base_tex_format()
2325 case GL_COMPRESSED_LUMINANCE_ALPHA: in _mesa_base_tex_format()
2327 case GL_COMPRESSED_INTENSITY: in _mesa_base_tex_format()
2329 case GL_COMPRESSED_RGB: in _mesa_base_tex_format()
2331 case GL_COMPRESSED_RGBA: in _mesa_base_tex_format()
2357 case GL_ALPHA16F_ARB: in _mesa_base_tex_format()
2359 case GL_RGBA16F_ARB: in _mesa_base_tex_format()
2361 case GL_RGB16F_ARB: in _mesa_base_tex_format()
2363 case GL_INTENSITY16F_ARB: in _mesa_base_tex_format()
2365 case GL_LUMINANCE16F_ARB: in _mesa_base_tex_format()
2367 case GL_LUMINANCE_ALPHA16F_ARB: in _mesa_base_tex_format()
2374 case GL_ALPHA32F_ARB: in _mesa_base_tex_format()
2376 case GL_RGBA32F_ARB: in _mesa_base_tex_format()
2378 case GL_RGB32F_ARB: in _mesa_base_tex_format()
2380 case GL_INTENSITY32F_ARB: in _mesa_base_tex_format()
2382 case GL_LUMINANCE32F_ARB: in _mesa_base_tex_format()
2384 case GL_LUMINANCE_ALPHA32F_ARB: in _mesa_base_tex_format()
2391 case GL_RED_SNORM: in _mesa_base_tex_format()
2392 case GL_R8_SNORM: in _mesa_base_tex_format()
2393 case GL_R16_SNORM: in _mesa_base_tex_format()
2395 case GL_RG_SNORM: in _mesa_base_tex_format()
2396 case GL_RG8_SNORM: in _mesa_base_tex_format()
2397 case GL_RG16_SNORM: in _mesa_base_tex_format()
2399 case GL_RGB_SNORM: in _mesa_base_tex_format()
2400 case GL_RGB8_SNORM: in _mesa_base_tex_format()
2401 case GL_RGB16_SNORM: in _mesa_base_tex_format()
2403 case GL_RGBA_SNORM: in _mesa_base_tex_format()
2404 case GL_RGBA8_SNORM: in _mesa_base_tex_format()
2405 case GL_RGBA16_SNORM: in _mesa_base_tex_format()
2407 case GL_ALPHA_SNORM: in _mesa_base_tex_format()
2408 case GL_ALPHA8_SNORM: in _mesa_base_tex_format()
2409 case GL_ALPHA16_SNORM: in _mesa_base_tex_format()
2411 case GL_LUMINANCE_SNORM: in _mesa_base_tex_format()
2412 case GL_LUMINANCE8_SNORM: in _mesa_base_tex_format()
2413 case GL_LUMINANCE16_SNORM: in _mesa_base_tex_format()
2415 case GL_LUMINANCE_ALPHA_SNORM: in _mesa_base_tex_format()
2416 case GL_LUMINANCE8_ALPHA8_SNORM: in _mesa_base_tex_format()
2417 case GL_LUMINANCE16_ALPHA16_SNORM: in _mesa_base_tex_format()
2419 case GL_INTENSITY_SNORM: in _mesa_base_tex_format()
2420 case GL_INTENSITY8_SNORM: in _mesa_base_tex_format()
2421 case GL_INTENSITY16_SNORM: in _mesa_base_tex_format()
2430 case GL_SRGB_EXT: in _mesa_base_tex_format()
2431 case GL_SRGB8_EXT: in _mesa_base_tex_format()
2432 case GL_COMPRESSED_SRGB_EXT: in _mesa_base_tex_format()
2434 case GL_SRGB_ALPHA_EXT: in _mesa_base_tex_format()
2435 case GL_SRGB8_ALPHA8_EXT: in _mesa_base_tex_format()
2436 case GL_COMPRESSED_SRGB_ALPHA_EXT: in _mesa_base_tex_format()
2438 case GL_SLUMINANCE_ALPHA_EXT: in _mesa_base_tex_format()
2439 case GL_SLUMINANCE8_ALPHA8_EXT: in _mesa_base_tex_format()
2440 case GL_COMPRESSED_SLUMINANCE_ALPHA_EXT: in _mesa_base_tex_format()
2442 case GL_SLUMINANCE_EXT: in _mesa_base_tex_format()
2443 case GL_SLUMINANCE8_EXT: in _mesa_base_tex_format()
2444 case GL_COMPRESSED_SLUMINANCE_EXT: in _mesa_base_tex_format()
2453 case GL_SR8_EXT: in _mesa_base_tex_format()
2462 case GL_SRG8_EXT: in _mesa_base_tex_format()
2471 case GL_RGBA8UI_EXT: in _mesa_base_tex_format()
2472 case GL_RGBA16UI_EXT: in _mesa_base_tex_format()
2473 case GL_RGBA32UI_EXT: in _mesa_base_tex_format()
2474 case GL_RGBA8I_EXT: in _mesa_base_tex_format()
2475 case GL_RGBA16I_EXT: in _mesa_base_tex_format()
2476 case GL_RGBA32I_EXT: in _mesa_base_tex_format()
2478 case GL_RGB8UI_EXT: in _mesa_base_tex_format()
2479 case GL_RGB16UI_EXT: in _mesa_base_tex_format()
2480 case GL_RGB32UI_EXT: in _mesa_base_tex_format()
2481 case GL_RGB8I_EXT: in _mesa_base_tex_format()
2482 case GL_RGB16I_EXT: in _mesa_base_tex_format()
2483 case GL_RGB32I_EXT: in _mesa_base_tex_format()
2490 case GL_RGB10_A2UI: in _mesa_base_tex_format()
2497 case GL_ALPHA8UI_EXT: in _mesa_base_tex_format()
2498 case GL_ALPHA16UI_EXT: in _mesa_base_tex_format()
2499 case GL_ALPHA32UI_EXT: in _mesa_base_tex_format()
2500 case GL_ALPHA8I_EXT: in _mesa_base_tex_format()
2501 case GL_ALPHA16I_EXT: in _mesa_base_tex_format()
2502 case GL_ALPHA32I_EXT: in _mesa_base_tex_format()
2504 case GL_INTENSITY8UI_EXT: in _mesa_base_tex_format()
2505 case GL_INTENSITY16UI_EXT: in _mesa_base_tex_format()
2506 case GL_INTENSITY32UI_EXT: in _mesa_base_tex_format()
2507 case GL_INTENSITY8I_EXT: in _mesa_base_tex_format()
2508 case GL_INTENSITY16I_EXT: in _mesa_base_tex_format()
2509 case GL_INTENSITY32I_EXT: in _mesa_base_tex_format()
2511 case GL_LUMINANCE8UI_EXT: in _mesa_base_tex_format()
2512 case GL_LUMINANCE16UI_EXT: in _mesa_base_tex_format()
2513 case GL_LUMINANCE32UI_EXT: in _mesa_base_tex_format()
2514 case GL_LUMINANCE8I_EXT: in _mesa_base_tex_format()
2515 case GL_LUMINANCE16I_EXT: in _mesa_base_tex_format()
2516 case GL_LUMINANCE32I_EXT: in _mesa_base_tex_format()
2518 case GL_LUMINANCE_ALPHA8UI_EXT: in _mesa_base_tex_format()
2519 case GL_LUMINANCE_ALPHA16UI_EXT: in _mesa_base_tex_format()
2520 case GL_LUMINANCE_ALPHA32UI_EXT: in _mesa_base_tex_format()
2521 case GL_LUMINANCE_ALPHA8I_EXT: in _mesa_base_tex_format()
2522 case GL_LUMINANCE_ALPHA16I_EXT: in _mesa_base_tex_format()
2523 case GL_LUMINANCE_ALPHA32I_EXT: in _mesa_base_tex_format()
2532 case GL_R16F: in _mesa_base_tex_format()
2536 case GL_R32F: in _mesa_base_tex_format()
2540 case GL_R8I: in _mesa_base_tex_format()
2541 case GL_R8UI: in _mesa_base_tex_format()
2542 case GL_R16I: in _mesa_base_tex_format()
2543 case GL_R16UI: in _mesa_base_tex_format()
2544 case GL_R32I: in _mesa_base_tex_format()
2545 case GL_R32UI: in _mesa_base_tex_format()
2549 case GL_R8: in _mesa_base_tex_format()
2550 case GL_R16: in _mesa_base_tex_format()
2551 case GL_RED: in _mesa_base_tex_format()
2552 case GL_COMPRESSED_RED: in _mesa_base_tex_format()
2555 case GL_RG16F: in _mesa_base_tex_format()
2559 case GL_RG32F: in _mesa_base_tex_format()
2563 case GL_RG8I: in _mesa_base_tex_format()
2564 case GL_RG8UI: in _mesa_base_tex_format()
2565 case GL_RG16I: in _mesa_base_tex_format()
2566 case GL_RG16UI: in _mesa_base_tex_format()
2567 case GL_RG32I: in _mesa_base_tex_format()
2568 case GL_RG32UI: in _mesa_base_tex_format()
2572 case GL_RG: in _mesa_base_tex_format()
2573 case GL_RG8: in _mesa_base_tex_format()
2574 case GL_RG16: in _mesa_base_tex_format()
2575 case GL_COMPRESSED_RG: in _mesa_base_tex_format()
2584 case GL_RGB9_E5_EXT: in _mesa_base_tex_format()
2593 case GL_R11F_G11F_B10F_EXT: in _mesa_base_tex_format()
2602 case GL_DEPTH_COMPONENT32F: in _mesa_base_tex_format()
2604 case GL_DEPTH32F_STENCIL8: in _mesa_base_tex_format()
2636 case GL_UNSIGNED_BYTE: in gles_effective_internal_format_for_format_and_type()
2638 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2640 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2642 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2644 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2651 case GL_BGRA_EXT: in gles_effective_internal_format_for_format_and_type()
2652 case GL_LUMINANCE_ALPHA: in gles_effective_internal_format_for_format_and_type()
2653 case GL_LUMINANCE: in gles_effective_internal_format_for_format_and_type()
2654 case GL_ALPHA: in gles_effective_internal_format_for_format_and_type()
2659 case GL_UNSIGNED_SHORT_4_4_4_4: in gles_effective_internal_format_for_format_and_type()
2664 case GL_UNSIGNED_SHORT_5_5_5_1: in gles_effective_internal_format_for_format_and_type()
2669 case GL_UNSIGNED_SHORT_5_6_5: in gles_effective_internal_format_for_format_and_type()
2675 case GL_UNSIGNED_INT_24_8: in gles_effective_internal_format_for_format_and_type()
2680 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in gles_effective_internal_format_for_format_and_type()
2685 case GL_UNSIGNED_SHORT: in gles_effective_internal_format_for_format_and_type()
2690 case GL_UNSIGNED_INT: in gles_effective_internal_format_for_format_and_type()
2699 case GL_FLOAT: in gles_effective_internal_format_for_format_and_type()
2703 case GL_HALF_FLOAT_OES: in gles_effective_internal_format_for_format_and_type()
2705 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2706 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2707 case GL_LUMINANCE_ALPHA: in gles_effective_internal_format_for_format_and_type()
2708 case GL_LUMINANCE: in gles_effective_internal_format_for_format_and_type()
2709 case GL_ALPHA: in gles_effective_internal_format_for_format_and_type()
2710 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2711 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2715 case GL_HALF_FLOAT: in gles_effective_internal_format_for_format_and_type()
2717 case GL_RG: in gles_effective_internal_format_for_format_and_type()
2718 case GL_RED: in gles_effective_internal_format_for_format_and_type()
2724 case GL_UNSIGNED_INT_2_10_10_10_REV: in gles_effective_internal_format_for_format_and_type()
2726 case GL_RGBA: in gles_effective_internal_format_for_format_and_type()
2727 case GL_RGB: in gles_effective_internal_format_for_format_and_type()
2753 case GL_ALPHA: in _mesa_gles_check_internalformat()
2754 case GL_LUMINANCE: in _mesa_gles_check_internalformat()
2755 case GL_LUMINANCE_ALPHA: in _mesa_gles_check_internalformat()
2756 case GL_RGB: in _mesa_gles_check_internalformat()
2757 case GL_RGBA: in _mesa_gles_check_internalformat()
2760 case GL_DEPTH_COMPONENT: in _mesa_gles_check_internalformat()
2763 case GL_BGRA: in _mesa_gles_check_internalformat()
2766 case GL_RGB565: in _mesa_gles_check_internalformat()
2767 case GL_RGB8: in _mesa_gles_check_internalformat()
2768 case GL_RGBA4: in _mesa_gles_check_internalformat()
2769 case GL_RGB5_A1: in _mesa_gles_check_internalformat()
2770 case GL_RGBA8: in _mesa_gles_check_internalformat()
2771 case GL_DEPTH_COMPONENT16: in _mesa_gles_check_internalformat()
2772 case GL_DEPTH_COMPONENT24: in _mesa_gles_check_internalformat()
2773 case GL_DEPTH_COMPONENT32: in _mesa_gles_check_internalformat()
2774 case GL_DEPTH24_STENCIL8: in _mesa_gles_check_internalformat()
2775 case GL_RGB10_EXT: in _mesa_gles_check_internalformat()
2776 case GL_RGB10_A2_EXT: in _mesa_gles_check_internalformat()
2777 case GL_ALPHA8: in _mesa_gles_check_internalformat()
2778 case GL_LUMINANCE8: in _mesa_gles_check_internalformat()
2779 case GL_LUMINANCE8_ALPHA8: in _mesa_gles_check_internalformat()
2780 case GL_LUMINANCE4_ALPHA4: in _mesa_gles_check_internalformat()
2783 case GL_R8: in _mesa_gles_check_internalformat()
2784 case GL_RG8: in _mesa_gles_check_internalformat()
2785 case GL_RED: in _mesa_gles_check_internalformat()
2786 case GL_RG: in _mesa_gles_check_internalformat()
2792 case GL_STENCIL_INDEX8: in _mesa_gles_check_internalformat()
2797 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_gles_check_internalformat()
2798 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_gles_check_internalformat()
2799 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_gles_check_internalformat()
2800 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_gles_check_internalformat()
2805 case GL_COMPRESSED_RED_RGTC1: in _mesa_gles_check_internalformat()
2806 case GL_COMPRESSED_SIGNED_RED_RGTC1: in _mesa_gles_check_internalformat()
2807 case GL_COMPRESSED_RED_GREEN_RGTC2_EXT: in _mesa_gles_check_internalformat()
2808 case GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: in _mesa_gles_check_internalformat()
2813 case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2814 case GL_COMPRESSED_RGBA_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2815 case GL_COMPRESSED_RGBA_S3TC_DXT3_EXT: in _mesa_gles_check_internalformat()
2816 case GL_COMPRESSED_RGBA_S3TC_DXT5_EXT: in _mesa_gles_check_internalformat()
2821 case GL_COMPRESSED_SRGB_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2822 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT: in _mesa_gles_check_internalformat()
2823 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT: in _mesa_gles_check_internalformat()
2824 case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: in _mesa_gles_check_internalformat()
2829 case GL_R16: in _mesa_gles_check_internalformat()
2830 case GL_RG16: in _mesa_gles_check_internalformat()
2831 case GL_RGB16: in _mesa_gles_check_internalformat()
2832 case GL_RGBA16: in _mesa_gles_check_internalformat()
2837 case GL_R16_SNORM: in _mesa_gles_check_internalformat()
2838 case GL_RG16_SNORM: in _mesa_gles_check_internalformat()
2839 case GL_RGB16_SNORM: in _mesa_gles_check_internalformat()
2840 case GL_RGBA16_SNORM: in _mesa_gles_check_internalformat()
2846 case GL_SR8_EXT: in _mesa_gles_check_internalformat()
2851 case GL_SRG8_EXT: in _mesa_gles_check_internalformat()
2857 case GL_SRGB8_ALPHA8: in _mesa_gles_check_internalformat()
2858 case GL_RGBA8_SNORM: in _mesa_gles_check_internalformat()
2859 case GL_RGBA16F: in _mesa_gles_check_internalformat()
2860 case GL_RGBA32F: in _mesa_gles_check_internalformat()
2861 case GL_RGBA8UI: in _mesa_gles_check_internalformat()
2862 case GL_RGBA8I: in _mesa_gles_check_internalformat()
2863 case GL_RGBA16UI: in _mesa_gles_check_internalformat()
2864 case GL_RGBA16I: in _mesa_gles_check_internalformat()
2865 case GL_RGBA32UI: in _mesa_gles_check_internalformat()
2866 case GL_RGBA32I: in _mesa_gles_check_internalformat()
2867 case GL_RGB10_A2UI: in _mesa_gles_check_internalformat()
2868 case GL_SRGB8: in _mesa_gles_check_internalformat()
2869 case GL_RGB8_SNORM: in _mesa_gles_check_internalformat()
2870 case GL_R11F_G11F_B10F: in _mesa_gles_check_internalformat()
2871 case GL_RGB9_E5: in _mesa_gles_check_internalformat()
2872 case GL_RGB16F: in _mesa_gles_check_internalformat()
2873 case GL_RGB32F: in _mesa_gles_check_internalformat()
2874 case GL_RGB8UI: in _mesa_gles_check_internalformat()
2875 case GL_RGB8I: in _mesa_gles_check_internalformat()
2876 case GL_RGB16UI: in _mesa_gles_check_internalformat()
2877 case GL_RGB16I: in _mesa_gles_check_internalformat()
2878 case GL_RGB32UI: in _mesa_gles_check_internalformat()
2879 case GL_RGB32I: in _mesa_gles_check_internalformat()
2880 case GL_RG8_SNORM: in _mesa_gles_check_internalformat()
2881 case GL_RG16F: in _mesa_gles_check_internalformat()
2882 case GL_RG32F: in _mesa_gles_check_internalformat()
2883 case GL_RG8UI: in _mesa_gles_check_internalformat()
2884 case GL_RG8I: in _mesa_gles_check_internalformat()
2885 case GL_RG16UI: in _mesa_gles_check_internalformat()
2886 case GL_RG16I: in _mesa_gles_check_internalformat()
2887 case GL_RG32UI: in _mesa_gles_check_internalformat()
2888 case GL_RG32I: in _mesa_gles_check_internalformat()
2889 case GL_R8_SNORM: in _mesa_gles_check_internalformat()
2890 case GL_R16F: in _mesa_gles_check_internalformat()
2891 case GL_R32F: in _mesa_gles_check_internalformat()
2892 case GL_R8UI: in _mesa_gles_check_internalformat()
2893 case GL_R8I: in _mesa_gles_check_internalformat()
2894 case GL_R16UI: in _mesa_gles_check_internalformat()
2895 case GL_R16I: in _mesa_gles_check_internalformat()
2896 case GL_R32UI: in _mesa_gles_check_internalformat()
2897 case GL_R32I: in _mesa_gles_check_internalformat()
2898 case GL_DEPTH_COMPONENT32F: in _mesa_gles_check_internalformat()
2899 case GL_DEPTH32F_STENCIL8: in _mesa_gles_check_internalformat()
2904 case GL_BGRA8_EXT: { in _mesa_gles_check_internalformat()
2995 case GL_BGRA_EXT: in _mesa_gles_error_check_format_and_type()
3004 case GL_BGR_EXT: in _mesa_gles_error_check_format_and_type()
3011 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3013 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3015 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3016 case GL_RGBA8: in _mesa_gles_error_check_format_and_type()
3017 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3018 case GL_RGBA4: in _mesa_gles_error_check_format_and_type()
3020 case GL_SRGB8_ALPHA8_EXT: in _mesa_gles_error_check_format_and_type()
3024 case GL_COMPRESSED_RGBA_BPTC_UNORM: in _mesa_gles_error_check_format_and_type()
3025 case GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM: in _mesa_gles_error_check_format_and_type()
3032 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3037 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3042 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3047 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_gles_error_check_format_and_type()
3049 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3050 case GL_RGBA4: in _mesa_gles_error_check_format_and_type()
3057 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_gles_error_check_format_and_type()
3059 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3060 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3067 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3069 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3070 case GL_RGB10_A2: in _mesa_gles_error_check_format_and_type()
3071 case GL_RGB5_A1: in _mesa_gles_error_check_format_and_type()
3080 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3085 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3087 case GL_RGBA16F: in _mesa_gles_error_check_format_and_type()
3088 case GL_RGBA32F: in _mesa_gles_error_check_format_and_type()
3092 case GL_RGBA: in _mesa_gles_error_check_format_and_type()
3101 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3110 case GL_RGBA_INTEGER: in _mesa_gles_error_check_format_and_type()
3114 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3119 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3124 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3129 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3134 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3139 case GL_INT: in _mesa_gles_error_check_format_and_type()
3144 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3154 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3156 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3158 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3159 case GL_RGB8: in _mesa_gles_error_check_format_and_type()
3160 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3162 case GL_SRGB8: in _mesa_gles_error_check_format_and_type()
3171 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3176 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3181 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3186 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_gles_error_check_format_and_type()
3188 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3189 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3196 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_gles_error_check_format_and_type()
3201 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_gles_error_check_format_and_type()
3206 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3210 case GL_RGB16F: in _mesa_gles_error_check_format_and_type()
3211 case GL_R11F_G11F_B10F: in _mesa_gles_error_check_format_and_type()
3212 case GL_RGB9_E5: in _mesa_gles_error_check_format_and_type()
3219 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3221 case GL_RGB16F: in _mesa_gles_error_check_format_and_type()
3222 case GL_RGB32F: in _mesa_gles_error_check_format_and_type()
3223 case GL_R11F_G11F_B10F: in _mesa_gles_error_check_format_and_type()
3224 case GL_RGB9_E5: in _mesa_gles_error_check_format_and_type()
3228 case GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: in _mesa_gles_error_check_format_and_type()
3229 case GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: in _mesa_gles_error_check_format_and_type()
3231 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3240 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3245 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_gles_error_check_format_and_type()
3247 case GL_RGB: in _mesa_gles_error_check_format_and_type()
3248 case GL_RGB10: in _mesa_gles_error_check_format_and_type()
3249 case GL_RGB8: in _mesa_gles_error_check_format_and_type()
3250 case GL_RGB565: in _mesa_gles_error_check_format_and_type()
3268 case GL_RGB_INTEGER: in _mesa_gles_error_check_format_and_type()
3272 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3277 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3282 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3287 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3292 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3297 case GL_INT: in _mesa_gles_error_check_format_and_type()
3307 case GL_RG: in _mesa_gles_error_check_format_and_type()
3311 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3318 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3324 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3329 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3334 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3335 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3337 case GL_RG16F: in _mesa_gles_error_check_format_and_type()
3341 case GL_RG: in _mesa_gles_error_check_format_and_type()
3350 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3352 case GL_RG16F: in _mesa_gles_error_check_format_and_type()
3353 case GL_RG32F: in _mesa_gles_error_check_format_and_type()
3355 case GL_RG: in _mesa_gles_error_check_format_and_type()
3369 case GL_RG_INTEGER: in _mesa_gles_error_check_format_and_type()
3373 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3378 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3383 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3388 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3393 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3398 case GL_INT: in _mesa_gles_error_check_format_and_type()
3408 case GL_RED: in _mesa_gles_error_check_format_and_type()
3412 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3420 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3426 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3431 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3436 case GL_HALF_FLOAT: in _mesa_gles_error_check_format_and_type()
3437 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3439 case GL_R16F: in _mesa_gles_error_check_format_and_type()
3443 case GL_RG: in _mesa_gles_error_check_format_and_type()
3444 case GL_RED: in _mesa_gles_error_check_format_and_type()
3453 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3455 case GL_R16F: in _mesa_gles_error_check_format_and_type()
3456 case GL_R32F: in _mesa_gles_error_check_format_and_type()
3458 case GL_RED: in _mesa_gles_error_check_format_and_type()
3472 case GL_RED_INTEGER: in _mesa_gles_error_check_format_and_type()
3476 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3481 case GL_BYTE: in _mesa_gles_error_check_format_and_type()
3486 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3491 case GL_SHORT: in _mesa_gles_error_check_format_and_type()
3496 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3501 case GL_INT: in _mesa_gles_error_check_format_and_type()
3511 case GL_DEPTH_COMPONENT: in _mesa_gles_error_check_format_and_type()
3513 case GL_UNSIGNED_SHORT: in _mesa_gles_error_check_format_and_type()
3519 case GL_UNSIGNED_INT: in _mesa_gles_error_check_format_and_type()
3521 case GL_DEPTH_COMPONENT: in _mesa_gles_error_check_format_and_type()
3522 case GL_DEPTH_COMPONENT16: in _mesa_gles_error_check_format_and_type()
3523 case GL_DEPTH_COMPONENT24: in _mesa_gles_error_check_format_and_type()
3530 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3540 case GL_DEPTH_STENCIL: in _mesa_gles_error_check_format_and_type()
3542 case GL_UNSIGNED_INT_24_8: in _mesa_gles_error_check_format_and_type()
3548 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_gles_error_check_format_and_type()
3558 case GL_STENCIL_INDEX: in _mesa_gles_error_check_format_and_type()
3565 case GL_ALPHA: in _mesa_gles_error_check_format_and_type()
3566 case GL_LUMINANCE: in _mesa_gles_error_check_format_and_type()
3567 case GL_LUMINANCE_ALPHA: in _mesa_gles_error_check_format_and_type()
3569 case GL_FLOAT: in _mesa_gles_error_check_format_and_type()
3573 case GL_HALF_FLOAT_OES: in _mesa_gles_error_check_format_and_type()
3577 case GL_UNSIGNED_BYTE: in _mesa_gles_error_check_format_and_type()
3609 case GL_RGBA: in get_swizzle_from_gl_format()
3610 case GL_RGBA_INTEGER_EXT: in get_swizzle_from_gl_format()
3613 case GL_BGRA: in get_swizzle_from_gl_format()
3614 case GL_BGRA_INTEGER_EXT: in get_swizzle_from_gl_format()
3617 case GL_ABGR_EXT: in get_swizzle_from_gl_format()
3620 case GL_RGB: in get_swizzle_from_gl_format()
3621 case GL_RGB_INTEGER_EXT: in get_swizzle_from_gl_format()
3624 case GL_BGR: in get_swizzle_from_gl_format()
3625 case GL_BGR_INTEGER_EXT: in get_swizzle_from_gl_format()
3628 case GL_LUMINANCE_ALPHA: in get_swizzle_from_gl_format()
3629 case GL_LUMINANCE_ALPHA_INTEGER_EXT: in get_swizzle_from_gl_format()
3632 case GL_RG: in get_swizzle_from_gl_format()
3633 case GL_RG_INTEGER: in get_swizzle_from_gl_format()
3636 case GL_RED: in get_swizzle_from_gl_format()
3637 case GL_RED_INTEGER_EXT: in get_swizzle_from_gl_format()
3640 case GL_GREEN: in get_swizzle_from_gl_format()
3641 case GL_GREEN_INTEGER_EXT: in get_swizzle_from_gl_format()
3644 case GL_BLUE: in get_swizzle_from_gl_format()
3645 case GL_BLUE_INTEGER_EXT: in get_swizzle_from_gl_format()
3648 case GL_ALPHA: in get_swizzle_from_gl_format()
3649 case GL_ALPHA_INTEGER_EXT: in get_swizzle_from_gl_format()
3652 case GL_LUMINANCE: in get_swizzle_from_gl_format()
3653 case GL_LUMINANCE_INTEGER_EXT: in get_swizzle_from_gl_format()
3656 case GL_INTENSITY: in get_swizzle_from_gl_format()
3659 case GL_DEPTH_COMPONENT: in get_swizzle_from_gl_format()
3662 case GL_STENCIL_INDEX: in get_swizzle_from_gl_format()
3674 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_swap_bytes_in_type_enum()
3677 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_swap_bytes_in_type_enum()
3680 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_swap_bytes_in_type_enum()
3683 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_swap_bytes_in_type_enum()
3686 case GL_BYTE: in _mesa_swap_bytes_in_type_enum()
3687 case GL_UNSIGNED_BYTE: in _mesa_swap_bytes_in_type_enum()
3729 case GL_UNSIGNED_BYTE: in _mesa_format_from_format_and_type()
3732 case GL_BYTE: in _mesa_format_from_format_and_type()
3736 case GL_UNSIGNED_SHORT: in _mesa_format_from_format_and_type()
3739 case GL_SHORT: in _mesa_format_from_format_and_type()
3743 case GL_UNSIGNED_INT: in _mesa_format_from_format_and_type()
3746 case GL_INT: in _mesa_format_from_format_and_type()
3750 case GL_HALF_FLOAT: in _mesa_format_from_format_and_type()
3751 case GL_HALF_FLOAT_OES: in _mesa_format_from_format_and_type()
3756 case GL_FLOAT: in _mesa_format_from_format_and_type()
3776 case GL_DEPTH_COMPONENT: in _mesa_format_from_format_and_type()
3779 case GL_STENCIL_INDEX: in _mesa_format_from_format_and_type()
3800 case GL_UNSIGNED_SHORT_5_6_5: in _mesa_format_from_format_and_type()
3808 case GL_UNSIGNED_SHORT_5_6_5_REV: in _mesa_format_from_format_and_type()
3816 case GL_UNSIGNED_SHORT_4_4_4_4: in _mesa_format_from_format_and_type()
3828 case GL_UNSIGNED_SHORT_4_4_4_4_REV: in _mesa_format_from_format_and_type()
3840 case GL_UNSIGNED_SHORT_5_5_5_1: in _mesa_format_from_format_and_type()
3850 case GL_UNSIGNED_SHORT_1_5_5_5_REV: in _mesa_format_from_format_and_type()
3860 case GL_UNSIGNED_BYTE_3_3_2: in _mesa_format_from_format_and_type()
3866 case GL_UNSIGNED_BYTE_2_3_3_REV: in _mesa_format_from_format_and_type()
3872 case GL_UNSIGNED_INT_5_9_9_9_REV: in _mesa_format_from_format_and_type()
3876 case GL_UNSIGNED_INT_10_10_10_2: in _mesa_format_from_format_and_type()
3886 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_format_from_format_and_type()
3898 case GL_UNSIGNED_INT_8_8_8_8: in _mesa_format_from_format_and_type()
3910 case GL_UNSIGNED_INT_8_8_8_8_REV: in _mesa_format_from_format_and_type()
3922 case GL_UNSIGNED_SHORT_8_8_MESA: in _mesa_format_from_format_and_type()
3926 case GL_UNSIGNED_SHORT_8_8_REV_MESA: in _mesa_format_from_format_and_type()
3930 case GL_UNSIGNED_INT_10F_11F_11F_REV: in _mesa_format_from_format_and_type()
3934 case GL_FLOAT: in _mesa_format_from_format_and_type()
3938 case GL_UNSIGNED_INT: in _mesa_format_from_format_and_type()
3942 case GL_UNSIGNED_SHORT: in _mesa_format_from_format_and_type()
3946 case GL_UNSIGNED_INT_24_8: in _mesa_format_from_format_and_type()
3952 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: in _mesa_format_from_format_and_type()
3966 * format in that case. in _mesa_format_from_format_and_type()
3995 case GL_R8: in _mesa_is_es3_color_renderable()
3996 case GL_RG8: in _mesa_is_es3_color_renderable()
3997 case GL_RGB8: in _mesa_is_es3_color_renderable()
3998 case GL_RGB565: in _mesa_is_es3_color_renderable()
3999 case GL_RGBA4: in _mesa_is_es3_color_renderable()
4000 case GL_RGB5_A1: in _mesa_is_es3_color_renderable()
4001 case GL_RGBA8: in _mesa_is_es3_color_renderable()
4002 case GL_RGB10_A2: in _mesa_is_es3_color_renderable()
4003 case GL_RGB10_A2UI: in _mesa_is_es3_color_renderable()
4004 case GL_SRGB8_ALPHA8: in _mesa_is_es3_color_renderable()
4005 case GL_R11F_G11F_B10F: in _mesa_is_es3_color_renderable()
4006 case GL_R8I: in _mesa_is_es3_color_renderable()
4007 case GL_R8UI: in _mesa_is_es3_color_renderable()
4008 case GL_R16I: in _mesa_is_es3_color_renderable()
4009 case GL_R16UI: in _mesa_is_es3_color_renderable()
4010 case GL_R32I: in _mesa_is_es3_color_renderable()
4011 case GL_R32UI: in _mesa_is_es3_color_renderable()
4012 case GL_RG8I: in _mesa_is_es3_color_renderable()
4013 case GL_RG8UI: in _mesa_is_es3_color_renderable()
4014 case GL_RG16I: in _mesa_is_es3_color_renderable()
4015 case GL_RG16UI: in _mesa_is_es3_color_renderable()
4016 case GL_RG32I: in _mesa_is_es3_color_renderable()
4017 case GL_RG32UI: in _mesa_is_es3_color_renderable()
4018 case GL_RGBA8I: in _mesa_is_es3_color_renderable()
4019 case GL_RGBA8UI: in _mesa_is_es3_color_renderable()
4020 case GL_RGBA16I: in _mesa_is_es3_color_renderable()
4021 case GL_RGBA16UI: in _mesa_is_es3_color_renderable()
4022 case GL_RGBA32I: in _mesa_is_es3_color_renderable()
4023 case GL_RGBA32UI: in _mesa_is_es3_color_renderable()
4025 case GL_R16F: in _mesa_is_es3_color_renderable()
4026 case GL_RG16F: in _mesa_is_es3_color_renderable()
4027 case GL_RGB16F: in _mesa_is_es3_color_renderable()
4028 case GL_RGBA16F: in _mesa_is_es3_color_renderable()
4030 case GL_R32F: in _mesa_is_es3_color_renderable()
4031 case GL_RG32F: in _mesa_is_es3_color_renderable()
4032 case GL_RGBA32F: in _mesa_is_es3_color_renderable()
4034 case GL_R16: in _mesa_is_es3_color_renderable()
4035 case GL_RG16: in _mesa_is_es3_color_renderable()
4036 case GL_RGBA16: in _mesa_is_es3_color_renderable()
4038 case GL_R8_SNORM: in _mesa_is_es3_color_renderable()
4039 case GL_RG8_SNORM: in _mesa_is_es3_color_renderable()
4040 case GL_RGBA8_SNORM: in _mesa_is_es3_color_renderable()
4042 case GL_R16_SNORM: in _mesa_is_es3_color_renderable()
4043 case GL_RG16_SNORM: in _mesa_is_es3_color_renderable()
4044 case GL_RGBA16_SNORM: in _mesa_is_es3_color_renderable()
4047 case GL_BGRA: in _mesa_is_es3_color_renderable()
4050 case GL_BGRA8_EXT: in _mesa_is_es3_color_renderable()
4068 case GL_R8: in _mesa_is_es3_texture_filterable()
4069 case GL_R8_SNORM: in _mesa_is_es3_texture_filterable()
4070 case GL_RG8: in _mesa_is_es3_texture_filterable()
4071 case GL_RG8_SNORM: in _mesa_is_es3_texture_filterable()
4072 case GL_RGB8: in _mesa_is_es3_texture_filterable()
4073 case GL_RGB8_SNORM: in _mesa_is_es3_texture_filterable()
4074 case GL_RGB565: in _mesa_is_es3_texture_filterable()
4075 case GL_RGBA4: in _mesa_is_es3_texture_filterable()
4076 case GL_RGB5_A1: in _mesa_is_es3_texture_filterable()
4077 case GL_RGBA8: in _mesa_is_es3_texture_filterable()
4078 case GL_RGBA8_SNORM: in _mesa_is_es3_texture_filterable()
4079 case GL_RGB10_A2: in _mesa_is_es3_texture_filterable()
4080 case GL_SRGB8: in _mesa_is_es3_texture_filterable()
4081 case GL_SRGB8_ALPHA8: in _mesa_is_es3_texture_filterable()
4082 case GL_R16F: in _mesa_is_es3_texture_filterable()
4083 case GL_RG16F: in _mesa_is_es3_texture_filterable()
4084 case GL_RGB16F: in _mesa_is_es3_texture_filterable()
4085 case GL_RGBA16F: in _mesa_is_es3_texture_filterable()
4086 case GL_R11F_G11F_B10F: in _mesa_is_es3_texture_filterable()
4087 case GL_RGB9_E5: in _mesa_is_es3_texture_filterable()
4089 case GL_R16: in _mesa_is_es3_texture_filterable()
4090 case GL_R16_SNORM: in _mesa_is_es3_texture_filterable()
4091 case GL_RG16: in _mesa_is_es3_texture_filterable()
4092 case GL_RG16_SNORM: in _mesa_is_es3_texture_filterable()
4093 case GL_RGB16: in _mesa_is_es3_texture_filterable()
4094 case GL_RGB16_SNORM: in _mesa_is_es3_texture_filterable()
4095 case GL_RGBA16: in _mesa_is_es3_texture_filterable()
4096 case GL_RGBA16_SNORM: in _mesa_is_es3_texture_filterable()
4098 case GL_R32F: in _mesa_is_es3_texture_filterable()
4099 case GL_RG32F: in _mesa_is_es3_texture_filterable()
4100 case GL_RGB32F: in _mesa_is_es3_texture_filterable()
4101 case GL_RGBA32F: in _mesa_is_es3_texture_filterable()
4112 case GL_BGRA: in _mesa_is_es3_texture_filterable()
4115 case GL_BGRA8_EXT: in _mesa_is_es3_texture_filterable()