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