1/* WARNING: This is auto-generated file. Do not modify, since changes will 2 * be lost! Modify the generating script instead. 3 * 4 * Generated from Khronos GL API description (gl.xml) revision 7ac9c857db1e3a6065485e4e2144151f48a4f1c4. 5 */ 6 7int getBasicQueryNumArgsOut (int pname) 8{ 9 switch(pname) 10 { 11 case GL_VIEWPORT: return 4; 12 case GL_DEPTH_RANGE: return 2; 13 case GL_SCISSOR_BOX: return 4; 14 case GL_COLOR_WRITEMASK: return 4; 15 case GL_ALIASED_POINT_SIZE_RANGE: return 2; 16 case GL_ALIASED_LINE_WIDTH_RANGE: return 2; 17 case GL_MAX_VIEWPORT_DIMS: return 2; 18 case GL_MAX_COMPUTE_WORK_GROUP_COUNT: return 3; 19 case GL_MAX_COMPUTE_WORK_GROUP_SIZE: return 3; 20 case GL_PRIMITIVE_BOUNDING_BOX_EXT: return 8; 21 default: return 1; 22 } 23} 24 25int getIndexedQueryNumArgsOut (int pname) 26{ 27 switch(pname) 28 { 29 case GL_COLOR_WRITEMASK: return 4; 30 default: return 1; 31 } 32} 33 34int getAttributeQueryNumArgsOut (int pname) 35{ 36 switch(pname) 37 { 38 case GL_CURRENT_VERTEX_ATTRIB: return 4; 39 default: return 1; 40 } 41} 42 43int getProgramQueryNumArgsOut (int pname) 44{ 45 switch(pname) 46 { 47 case GL_COMPUTE_WORK_GROUP_SIZE: return 3; 48 default: return 1; 49 } 50} 51 52int getTextureParamQueryNumArgsOut (int pname) 53{ 54 switch(pname) 55 { 56 case GL_TEXTURE_BORDER_COLOR: return 4; 57 default: return 1; 58 } 59} 60