summaryrefslogtreecommitdiff
path: root/src/mapi/glapi/gen/EXT_transform_feedback.xml
blob: e4b310ec3623bda93b7074632deae21763fafe1d (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
<?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" alias="BindBufferRange">
    <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" alias="BindBufferBase">
    <param name="target" type="GLenum"/>
    <param name="index" type="GLuint"/>
    <param name="buffer" type="GLuint"/>
  </function>

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

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

  <function name="TransformFeedbackVaryingsEXT" alias="TransformFeedbackVaryings">
    <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" alias="GetTransformFeedbackVarying">
    <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>


<category name="GL_ARB_transform_feedback2" number="93">

  <enum name="TRANSFORM_FEEDBACK"                  value="0x8E22"/>
  <enum name="TRANSFORM_FEEDBACK_BUFFER_PAUSED"    value="0x8E23"/>
  <enum name="TRANSFORM_FEEDBACK_BUFFER_ACTIVE"    value="0x8E24"/>
  <enum name="TRANSFORM_FEEDBACK_BINDING"          value="0x8E25"/>

  <function name="BindTransformFeedback" offset="assign" es2="3.0">
    <param name="target" type="GLenum"/>
    <param name="id" type="GLuint"/>
  </function>

  <function name="DeleteTransformFeedbacks" offset="assign" es2="3.0">
    <param name="n" type="GLsizei"/>
    <param name="ids" type="const GLuint *"/>
  </function>

  <function name="GenTransformFeedbacks" offset="assign" es2="3.0">
    <param name="n" type="GLsizei"/>
    <param name="ids" type="GLuint *"/>
  </function>

  <function name="IsTransformFeedback" offset="assign" es2="3.0">
    <param name="id" type="GLuint"/>
    <return type="GLboolean"/>
  </function>

  <function name="PauseTransformFeedback" offset="assign" es2="3.0">
  </function>

  <function name="ResumeTransformFeedback" offset="assign" es2="3.0">
  </function>

  <function name="DrawTransformFeedback" offset="assign" exec="dynamic">
    <param name="mode" type="GLenum"/>
    <param name="id" type="GLuint"/>
  </function>

</category>
 
</OpenGLAPI>