summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/gen/EXT_transform_feedback.xml
blob: abbed9b25b367fc57d3da24ad36ad8fd05bc5438 (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<!-- Note: no GLX protocol info yet. -->


<OpenGLAPI>

<category name="GL_EXT_transform_feedback" number="352">

  <enum name="TRANSFORM_FEEDBACK_BUFFER_EXT"                  value="0x8C8E"/>
  <enum name="TRANSFORM_FEEDBACK_BUFFER_START_EXT"            value="0x8C84"/>
  <enum name="TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT"             value="0x8C85"/>
  <enum name="TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT"          value="0x8C8F"/>
  <enum name="INTERLEAVED_ATTRIBS_EXT"                        value="0x8C8C"/>
  <enum name="SEPARATE_ATTRIBS_EXT"                           value="0x8C8D"/>
  <enum name="PRIMITIVES_GENERATED_EXT"                       value="0x8C87"/>
  <enum name="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT"      value="0x8C88"/>
  <enum name="RASTERIZER_DISCARD_EXT"                         value="0x8C89"/>
  <enum name="MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT" value="0x8C8A"/>
  <enum name="MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT"    value="0x8C8B"/>
  <enum name="MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT" value="0x8C80"/>
  <enum name="TRANSFORM_FEEDBACK_VARYINGS_EXT"                value="0x8C83"/>
  <enum name="TRANSFORM_FEEDBACK_BUFFER_MODE_EXT"             value="0x8C7F"/>
  <enum name="TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT"      value="0x8C76"/>

  <function name="BindBufferRangeEXT" offset="assign">
    <param name="target" type="GLenum"/>
    <param name="index" type="GLuint"/>
    <param name="buffer" type="GLuint"/>
    <param name="offset" type="GLintptr"/>
    <param name="size" type="GLsizeiptr"/>
  </function>

  <function name="BindBufferOffsetEXT" offset="assign">
    <param name="target" type="GLenum"/>
    <param name="index" type="GLuint"/>
    <param name="buffer" type="GLuint"/>
    <param name="offset" type="GLintptr"/>
  </function>

  <function name="BindBufferBaseEXT" offset="assign">
    <param name="target" type="GLenum"/>
    <param name="index" type="GLuint"/>
    <param name="buffer" type="GLuint"/>
  </function>

  <function name="BeginTransformFeedbackEXT" offset="assign">
    <param name="mode" type="GLenum"/>
  </function>

  <function name="EndTransformFeedbackEXT" offset="assign">
  </function>

  <function name="TransformFeedbackVaryingsEXT" offset="assign">
    <param name="program" type="GLuint"/>
    <param name="count" type="GLsizei"/>
    <param name="varyings" type="const char **"/>
    <param name="bufferMode" type="GLenum"/>
  </function>

  <function name="GetTransformFeedbackVaryingEXT" offset="assign">
    <param name="program" type="GLuint"/>
    <param name="index" type="GLuint"/>
    <param name="bufSize" type="GLsizei"/>
    <param name="length" type="GLsizei *"/>
    <param name="size" type="GLsizei *"/>
    <param name="type" type="GLenum *"/>
    <param name="name" type="GLchar *"/>
  </function>

  <!-- Note: the glGetIntegerIndexedvEXT() and glGetBooleanIndexedvEXT
       functions are defined in the EXT_draw_buffers2.xml file -->

</category>


<!-- Note: these 3.0 entrypoints might get moved to a new file -->

<category name="3.0">

  <function name="BindBufferRange" alias="BindBufferRangeEXT">
    <param name="target" type="GLenum"/>
    <param name="index" type="GLuint"/>
    <param name="buffer" type="GLuint"/>
    <param name="offset" type="GLintptr"/>
    <param name="size" type="GLsizeiptr"/>
  </function>

  <function name="BindBufferBase" alias="BindBufferBaseEXT">
    <param name="target" type="GLenum"/>
    <param name="index" type="GLuint"/>
    <param name="buffer" type="GLuint"/>
  </function>

  <function name="BeginTransformFeedback" alias="BeginTransformFeedbackEXT">
    <param name="mode" type="GLenum"/>
  </function>

  <function name="EndTransformFeedback" alias="EndTransformFeedbackEXT">
  </function>

  <function name="TransformFeedbackVaryings" alias="TransformFeedbackVaryingsEXT">
    <param name="program" type="GLuint"/>
    <param name="count" type="GLsizei"/>
    <param name="varyings" type="const char **"/>
    <param name="bufferMode" type="GLenum"/>
  </function>

  <function name="GetTransformFeedbackVarying" alias="GetTransformFeedbackVaryingEXT">
    <param name="program" type="GLuint"/>
    <param name="index" type="GLuint"/>
    <param name="bufSize" type="GLsizei"/>
    <param name="length" type="GLsizei *"/>
    <param name="size" type="GLsizei *"/>
    <param name="type" type="GLenum *"/>
    <param name="name" type="GLchar *"/>
  </function>

</category>


</OpenGLAPI>