From: Keith Whitwell Date: Mon, 7 Feb 2005 11:00:32 +0000 (+0000) Subject: More texture enums (Andreas Stenglein) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d621b3bdd0ca43e5ba2ae8b4471fcf716decc78;p=mesa.git More texture enums (Andreas Stenglein) --- diff --git a/src/mesa/main/enums.c b/src/mesa/main/enums.c index 895796ebac0..8f61187a3da 100644 --- a/src/mesa/main/enums.c +++ b/src/mesa/main/enums.c @@ -578,6 +578,43 @@ static enum_elt all_enums[] = { "GL_MAX_3D_TEXTURE_SIZE", 0x8073 }, { "GL_TEXTURE_BINDING_3D", 0x806A }, + /* GL 1.3 texturing */ + { "GL_TEXTURE0", 0x84C0 }, + { "GL_TEXTURE1", 0x84C1 }, + { "GL_TEXTURE2", 0x84C2 }, + { "GL_TEXTURE3", 0x84C3 }, + { "GL_TEXTURE4", 0x84C4 }, + { "GL_TEXTURE5", 0x84C5 }, + { "GL_TEXTURE6", 0x84C6 }, + { "GL_TEXTURE7", 0x84C7 }, + { "GL_TEXTURE8", 0x84C8 }, + { "GL_TEXTURE9", 0x84C9 }, + { "GL_TEXTURE10", 0x84CA }, + { "GL_TEXTURE11", 0x84CB }, + { "GL_TEXTURE12", 0x84CC }, + { "GL_TEXTURE13", 0x84CD }, + { "GL_TEXTURE14", 0x84CE }, + { "GL_TEXTURE15", 0x84CF }, + { "GL_TEXTURE16", 0x84D0 }, + { "GL_TEXTURE17", 0x84D1 }, + { "GL_TEXTURE18", 0x84D2 }, + { "GL_TEXTURE19", 0x84D3 }, + { "GL_TEXTURE20", 0x84D4 }, + { "GL_TEXTURE21", 0x84D5 }, + { "GL_TEXTURE22", 0x84D6 }, + { "GL_TEXTURE23", 0x84D7 }, + { "GL_TEXTURE24", 0x84D8 }, + { "GL_TEXTURE25", 0x84D9 }, + { "GL_TEXTURE26", 0x84DA }, + { "GL_TEXTURE27", 0x84DB }, + { "GL_TEXTURE28", 0x84DC }, + { "GL_TEXTURE29", 0x84DD }, + { "GL_TEXTURE30", 0x84DE }, + { "GL_TEXTURE31", 0x84DF }, + { "GL_ACTIVE_TEXTURE", 0x84E0 }, + { "GL_CLIENT_ACTIVE_TEXTURE", 0x84E1 }, + { "GL_MAX_TEXTURE_UNITS", 0x84E2 }, + /* Internal texture formats (GL 1.1) */ { "GL_ALPHA4", 0x803B }, { "GL_ALPHA8", 0x803C }, @@ -761,16 +798,6 @@ static enum_elt all_enums[] = { "GL_TEXTURE_BASE_LEVEL", 0x813C }, { "GL_TEXTURE_MAX_LEVEL", 0x813D }, - { "GL_TEXTURE0_ARB", 0x84C0 }, - { "GL_TEXTURE1_ARB", 0x84C1 }, - { "GL_TEXTURE2_ARB", 0x84C2 }, - { "GL_TEXTURE3_ARB", 0x84C3 }, - { "GL_TEXTURE4_ARB", 0x84C4 }, - { "GL_TEXTURE5_ARB", 0x84C5 }, - { "GL_ACTIVE_TEXTURE_ARB", 0x84E0 }, - { "GL_CLIENT_ACTIVE_TEXTURE_ARB", 0x84E1 }, - { "GL_MAX_TEXTURE_UNITS_ARB", 0x84E2 }, - { "GL_OCCLUSION_TEST_HP", 0x8165 }, { "GL_OCCLUSION_TEST_RESULT_HP", 0x8166 },