Lines Matching refs:formatMap
613 static FormatMap formatMap; in getFormatStr() local
614 if (formatMap.empty()) in getFormatStr()
616 formatMap[GL_GREEN] = "GL_GREEN"; in getFormatStr()
617 formatMap[GL_BLUE] = "GL_BLUE"; in getFormatStr()
618 formatMap[GL_GREEN_INTEGER] = "GL_GREEN_INTEGER"; in getFormatStr()
619 formatMap[GL_BLUE_INTEGER] = "GL_BLUE_INTEGER"; in getFormatStr()
620 formatMap[GL_BGR] = "GL_BGR"; in getFormatStr()
621 formatMap[GL_BGR_INTEGER] = "GL_BGR_INTEGER"; in getFormatStr()
622 formatMap[GL_BGRA_INTEGER] = "GL_BGRA_INTEGER"; in getFormatStr()
623 formatMap[GL_R3_G3_B2] = "GL_R3_G3_B2"; in getFormatStr()
624 formatMap[GL_RGB4] = "GL_RGB4"; in getFormatStr()
625 formatMap[GL_RGB5] = "GL_RGB5"; in getFormatStr()
626 formatMap[GL_RGB12] = "GL_RGB12"; in getFormatStr()
627 formatMap[GL_RGBA2] = "GL_RGBA2"; in getFormatStr()
628 formatMap[GL_RGBA12] = "GL_RGBA12"; in getFormatStr()
629 formatMap[GL_COMPRESSED_RED] = "GL_COMPRESSED_RED"; in getFormatStr()
630 formatMap[GL_COMPRESSED_RG] = "GL_COMPRESSED_RG"; in getFormatStr()
631 formatMap[GL_COMPRESSED_RGB] = "GL_COMPRESSED_RGB"; in getFormatStr()
632 formatMap[GL_COMPRESSED_RGBA] = "GL_COMPRESSED_RGBA"; in getFormatStr()
633 formatMap[GL_COMPRESSED_SRGB] = "GL_COMPRESSED_SRGB"; in getFormatStr()
634 formatMap[GL_COMPRESSED_SRGB_ALPHA] = "GL_COMPRESSED_SRGB_ALPHA"; in getFormatStr()
635 formatMap[GL_COMPRESSED_RED_RGTC1] = "GL_COMPRESSED_RED_RGTC1"; in getFormatStr()
636 formatMap[GL_COMPRESSED_SIGNED_RED_RGTC1] = "GL_COMPRESSED_SIGNED_RED_RGTC1"; in getFormatStr()
637 formatMap[GL_COMPRESSED_RG_RGTC2] = "GL_COMPRESSED_RG_RGTC2"; in getFormatStr()
638 formatMap[GL_COMPRESSED_SIGNED_RG_RGTC2] = "GL_COMPRESSED_SIGNED_RG_RGTC2"; in getFormatStr()
639 formatMap[GL_STENCIL_INDEX] = "GL_STENCIL_INDEX"; in getFormatStr()
642 FormatMap::iterator it = formatMap.find(format); in getFormatStr()
643 if (it == formatMap.end()) in getFormatStr()