test_texcomp

changeset 2:31d30a9c4491 tip

more compressed format strings
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 09 Jan 2018 08:45:44 +0200
parents ed40258af7ad
children
files main.c
diffstat 1 files changed, 38 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/main.c	Tue Jan 09 08:43:16 2018 +0200
     1.2 +++ b/main.c	Tue Jan 09 08:45:44 2018 +0200
     1.3 @@ -294,6 +294,44 @@
     1.4  	case 0x8C4D: return "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT";
     1.5  	case 0x8C4E: return "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT";
     1.6  	case 0x8C4F: return "GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT";
     1.7 +	case 0x8B90: return "GL_PALETTE4_RGB8_OES";
     1.8 +	case 0x8B91: return "GL_PALETTE4_RGBA8_OES";
     1.9 +	case 0x8B92: return "GL_PALETTE4_R5_G6_B5_OES";
    1.10 +	case 0x8B93: return "GL_PALETTE4_RGBA4_OES";
    1.11 +	case 0x8B94: return "GL_PALETTE4_RGB5_A1_OES";
    1.12 +	case 0x8B95: return "GL_PALETTE8_RGB8_OES";
    1.13 +	case 0x8B96: return "GL_PALETTE8_RGBA8_OES";
    1.14 +	case 0x8B97: return "GL_PALETTE8_R5_G6_B5_OES";
    1.15 +	case 0x8B98: return "GL_PALETTE8_RGBA4_OES";
    1.16 +	case 0x8B99: return "GL_PALETTE8_RGB5_A1_OES";
    1.17 +	case 0x93B0: return "GL_COMPRESSED_RGBA_ASTC_4";
    1.18 +	case 0x93B1: return "GL_COMPRESSED_RGBA_ASTC_5";
    1.19 +	case 0x93B2: return "GL_COMPRESSED_RGBA_ASTC_5";
    1.20 +	case 0x93B3: return "GL_COMPRESSED_RGBA_ASTC_6";
    1.21 +	case 0x93B4: return "GL_COMPRESSED_RGBA_ASTC_6";
    1.22 +	case 0x93B5: return "GL_COMPRESSED_RGBA_ASTC_8";
    1.23 +	case 0x93B6: return "GL_COMPRESSED_RGBA_ASTC_8";
    1.24 +	case 0x93B7: return "GL_COMPRESSED_RGBA_ASTC_8";
    1.25 +	case 0x93B8: return "GL_COMPRESSED_RGBA_ASTC_10";
    1.26 +	case 0x93B9: return "GL_COMPRESSED_RGBA_ASTC_10";
    1.27 +	case 0x93BA: return "GL_COMPRESSED_RGBA_ASTC_10";
    1.28 +	case 0x93BB: return "GL_COMPRESSED_RGBA_ASTC_10";
    1.29 +	case 0x93BC: return "GL_COMPRESSED_RGBA_ASTC_12";
    1.30 +	case 0x93BD: return "GL_COMPRESSED_RGBA_ASTC_12";
    1.31 +	case 0x93D0: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4";
    1.32 +	case 0x93D1: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5";
    1.33 +	case 0x93D2: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5";
    1.34 +	case 0x93D3: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6";
    1.35 +	case 0x93D4: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6";
    1.36 +	case 0x93D5: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8";
    1.37 +	case 0x93D6: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8";
    1.38 +	case 0x93D7: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8";
    1.39 +	case 0x93D8: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10";
    1.40 +	case 0x93D9: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10";
    1.41 +	case 0x93DA: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10";
    1.42 +	case 0x93DB: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10";
    1.43 +	case 0x93DC: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12";
    1.44 +	case 0x93DD: return "GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12";
    1.45  	default:
    1.46  		break;
    1.47  	}