1bf215546Sopenharmony_ci<?xml version="1.0"?>
2bf215546Sopenharmony_ci<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3bf215546Sopenharmony_ci
4bf215546Sopenharmony_ci<OpenGLAPI>
5bf215546Sopenharmony_ci<category name="GL_EXT_framebuffer_object" number="310">
6bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_EXT"                          value="0x8D40"/>
7bf215546Sopenharmony_ci    <enum name="RENDERBUFFER_EXT"                         value="0x8D41"/>
8bf215546Sopenharmony_ci    <enum name="RENDERBUFFER_WIDTH_EXT"                   value="0x8D42"/>
9bf215546Sopenharmony_ci    <enum name="RENDERBUFFER_HEIGHT_EXT"                  value="0x8D43"/>
10bf215546Sopenharmony_ci    <enum name="RENDERBUFFER_INTERNAL_FORMAT_EXT"         value="0x8D44"/>
11bf215546Sopenharmony_ci    <enum name="STENCIL_INDEX1_EXT"                       value="0x8D46"/>
12bf215546Sopenharmony_ci    <enum name="STENCIL_INDEX4_EXT"                       value="0x8D47"/>
13bf215546Sopenharmony_ci    <enum name="STENCIL_INDEX8_EXT"                       value="0x8D48"/>
14bf215546Sopenharmony_ci    <enum name="STENCIL_INDEX16_EXT"                      value="0x8D49"/>
15bf215546Sopenharmony_ci
16bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT"   count="1" value="0x8CD0">
17bf215546Sopenharmony_ci        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
18bf215546Sopenharmony_ci    </enum>
19bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT"   count="1" value="0x8CD1">
20bf215546Sopenharmony_ci        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
21bf215546Sopenharmony_ci    </enum>
22bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT" count="1" value="0x8CD2">
23bf215546Sopenharmony_ci        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
24bf215546Sopenharmony_ci    </enum>
25bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT" count="1" value="0x8CD3">
26bf215546Sopenharmony_ci        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
27bf215546Sopenharmony_ci    </enum>
28bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT"    count="1" value="0x8CD4">
29bf215546Sopenharmony_ci        <size name="GetFramebufferAttachmentParameteriv" mode="get"/>
30bf215546Sopenharmony_ci    </enum>
31bf215546Sopenharmony_ci
32bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT0_EXT"                    value="0x8CE0"/>
33bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT1_EXT"                    value="0x8CE1"/>
34bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT2_EXT"                    value="0x8CE2"/>
35bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT3_EXT"                    value="0x8CE3"/>
36bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT4_EXT"                    value="0x8CE4"/>
37bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT5_EXT"                    value="0x8CE5"/>
38bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT6_EXT"                    value="0x8CE6"/>
39bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT7_EXT"                    value="0x8CE7"/>
40bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT8_EXT"                    value="0x8CE8"/>
41bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT9_EXT"                    value="0x8CE9"/>
42bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT10_EXT"                   value="0x8CEA"/>
43bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT11_EXT"                   value="0x8CEB"/>
44bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT12_EXT"                   value="0x8CEC"/>
45bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT13_EXT"                   value="0x8CED"/>
46bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT14_EXT"                   value="0x8CEE"/>
47bf215546Sopenharmony_ci    <enum name="COLOR_ATTACHMENT15_EXT"                   value="0x8CEF"/>
48bf215546Sopenharmony_ci    <enum name="DEPTH_ATTACHMENT_EXT"                     value="0x8D00"/>
49bf215546Sopenharmony_ci    <enum name="STENCIL_ATTACHMENT_EXT"                   value="0x8D20"/>
50bf215546Sopenharmony_ci
51bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_COMPLETE_EXT"                 value="0x8CD5"/>
52bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT"    value="0x8CD6"/>
53bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT"   value="0x8CD7"/>
54bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT"    value="0x8CD9"/>
55bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_FORMATS_EXT"       value="0x8CDA"/>
56bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT"   value="0x8CDB"/>
57bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT"   value="0x8CDC"/>
58bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_UNSUPPORTED_EXT"              value="0x8CDD"/>
59bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_BINDING_EXT"        count="1" value="0x8CA6">
60bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
61bf215546Sopenharmony_ci    </enum>
62bf215546Sopenharmony_ci    <enum name="RENDERBUFFER_BINDING_EXT"       count="1" value="0x8CA7">
63bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
64bf215546Sopenharmony_ci    </enum>
65bf215546Sopenharmony_ci    <enum name="MAX_COLOR_ATTACHMENTS_EXT"      count="1" value="0x8CDF">
66bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
67bf215546Sopenharmony_ci    </enum>
68bf215546Sopenharmony_ci    <enum name="MAX_RENDERBUFFER_SIZE_EXT"      count="1" value="0x84E8">
69bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
70bf215546Sopenharmony_ci    </enum>
71bf215546Sopenharmony_ci    <enum name="INVALID_FRAMEBUFFER_OPERATION_EXT"        value="0x0506"/>
72bf215546Sopenharmony_ci
73bf215546Sopenharmony_ci    <function name="IsRenderbufferEXT" alias="IsRenderbuffer">
74bf215546Sopenharmony_ci        <param name="renderbuffer" type="GLuint"/>
75bf215546Sopenharmony_ci	<return type="GLboolean"/>
76bf215546Sopenharmony_ci    </function>
77bf215546Sopenharmony_ci
78bf215546Sopenharmony_ci    <function name="BindRenderbufferEXT">
79bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
80bf215546Sopenharmony_ci        <param name="renderbuffer" type="GLuint"/>
81bf215546Sopenharmony_ci        <glx rop="4316"/>
82bf215546Sopenharmony_ci    </function>
83bf215546Sopenharmony_ci
84bf215546Sopenharmony_ci    <function name="DeleteRenderbuffersEXT" alias="DeleteRenderbuffers">
85bf215546Sopenharmony_ci        <param name="n" type="GLsizei"/>
86bf215546Sopenharmony_ci        <param name="renderbuffers" type="const GLuint *"/>
87bf215546Sopenharmony_ci    </function>
88bf215546Sopenharmony_ci
89bf215546Sopenharmony_ci    <function name="GenRenderbuffersEXT" alias="GenRenderbuffers">
90bf215546Sopenharmony_ci        <param name="n" type="GLsizei"/>
91bf215546Sopenharmony_ci        <param name="renderbuffers" type="GLuint *"/>
92bf215546Sopenharmony_ci    </function>
93bf215546Sopenharmony_ci
94bf215546Sopenharmony_ci    <function name="RenderbufferStorageEXT" alias="RenderbufferStorage">
95bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
96bf215546Sopenharmony_ci        <param name="internalformat" type="GLenum"/>
97bf215546Sopenharmony_ci        <param name="width" type="GLsizei"/>
98bf215546Sopenharmony_ci        <param name="height" type="GLsizei"/>
99bf215546Sopenharmony_ci    </function>
100bf215546Sopenharmony_ci
101bf215546Sopenharmony_ci    <function name="GetRenderbufferParameterivEXT" alias="GetRenderbufferParameteriv">
102bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
103bf215546Sopenharmony_ci        <param name="pname" type="GLenum"/>
104bf215546Sopenharmony_ci        <param name="params" type="GLint *"/>
105bf215546Sopenharmony_ci    </function>
106bf215546Sopenharmony_ci
107bf215546Sopenharmony_ci    <function name="IsFramebufferEXT" alias="IsFramebuffer">
108bf215546Sopenharmony_ci        <param name="framebuffer" type="GLuint"/>
109bf215546Sopenharmony_ci	<return type="GLboolean"/>
110bf215546Sopenharmony_ci    </function>
111bf215546Sopenharmony_ci
112bf215546Sopenharmony_ci    <function name="BindFramebufferEXT">
113bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
114bf215546Sopenharmony_ci        <param name="framebuffer" type="GLuint"/>
115bf215546Sopenharmony_ci        <glx rop="4319"/>
116bf215546Sopenharmony_ci    </function>
117bf215546Sopenharmony_ci
118bf215546Sopenharmony_ci    <function name="DeleteFramebuffersEXT" alias="DeleteFramebuffers">
119bf215546Sopenharmony_ci        <param name="n" type="GLsizei"/>
120bf215546Sopenharmony_ci        <param name="framebuffers" type="const GLuint *"/>
121bf215546Sopenharmony_ci    </function>
122bf215546Sopenharmony_ci
123bf215546Sopenharmony_ci    <function name="GenFramebuffersEXT" alias="GenFramebuffers">
124bf215546Sopenharmony_ci        <param name="n" type="GLsizei"/>
125bf215546Sopenharmony_ci        <param name="framebuffers" type="GLuint *"/>
126bf215546Sopenharmony_ci    </function>
127bf215546Sopenharmony_ci
128bf215546Sopenharmony_ci    <function name="CheckFramebufferStatusEXT" alias="CheckFramebufferStatus">
129bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
130bf215546Sopenharmony_ci	<return type="GLenum"/>
131bf215546Sopenharmony_ci    </function>
132bf215546Sopenharmony_ci
133bf215546Sopenharmony_ci    <function name="FramebufferTexture1DEXT" alias="FramebufferTexture1D">
134bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
135bf215546Sopenharmony_ci        <param name="attachment" type="GLenum"/>
136bf215546Sopenharmony_ci        <param name="textarget" type="GLenum"/>
137bf215546Sopenharmony_ci        <param name="texture" type="GLuint"/>
138bf215546Sopenharmony_ci        <param name="level" type="GLint"/>
139bf215546Sopenharmony_ci    </function>
140bf215546Sopenharmony_ci
141bf215546Sopenharmony_ci    <function name="FramebufferTexture2DEXT" alias="FramebufferTexture2D">
142bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
143bf215546Sopenharmony_ci        <param name="attachment" type="GLenum"/>
144bf215546Sopenharmony_ci        <param name="textarget" type="GLenum"/>
145bf215546Sopenharmony_ci        <param name="texture" type="GLuint"/>
146bf215546Sopenharmony_ci        <param name="level" type="GLint"/>
147bf215546Sopenharmony_ci    </function>
148bf215546Sopenharmony_ci
149bf215546Sopenharmony_ci    <function name="FramebufferTexture3DEXT" alias="FramebufferTexture3D">
150bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
151bf215546Sopenharmony_ci        <param name="attachment" type="GLenum"/>
152bf215546Sopenharmony_ci        <param name="textarget" type="GLenum"/>
153bf215546Sopenharmony_ci        <param name="texture" type="GLuint"/>
154bf215546Sopenharmony_ci        <param name="level" type="GLint"/>
155bf215546Sopenharmony_ci        <param name="zoffset" type="GLint"/>
156bf215546Sopenharmony_ci    </function>
157bf215546Sopenharmony_ci
158bf215546Sopenharmony_ci    <function name="FramebufferRenderbufferEXT" alias="FramebufferRenderbuffer">
159bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
160bf215546Sopenharmony_ci        <param name="attachment" type="GLenum"/>
161bf215546Sopenharmony_ci        <param name="renderbuffertarget" type="GLenum"/>
162bf215546Sopenharmony_ci        <param name="renderbuffer" type="GLuint"/>
163bf215546Sopenharmony_ci    </function>
164bf215546Sopenharmony_ci
165bf215546Sopenharmony_ci    <function name="GetFramebufferAttachmentParameterivEXT" alias="GetFramebufferAttachmentParameteriv">
166bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
167bf215546Sopenharmony_ci        <param name="attachment" type="GLenum"/>
168bf215546Sopenharmony_ci        <param name="pname" type="GLenum"/>
169bf215546Sopenharmony_ci        <param name="params" type="GLint *"/>
170bf215546Sopenharmony_ci    </function>
171bf215546Sopenharmony_ci
172bf215546Sopenharmony_ci    <function name="GenerateMipmapEXT" alias="GenerateMipmap">
173bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
174bf215546Sopenharmony_ci    </function>
175bf215546Sopenharmony_ci</category>
176bf215546Sopenharmony_ci
177bf215546Sopenharmony_ci<category name="GL_EXT_framebuffer_blit" number="316">
178bf215546Sopenharmony_ci    <enum name="READ_FRAMEBUFFER_EXT" value="0x8CA8"/>
179bf215546Sopenharmony_ci    <enum name="DRAW_FRAMEBUFFER_EXT" value="0x8CA9"/>
180bf215546Sopenharmony_ci    <enum name="DRAW_FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CA6">
181bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
182bf215546Sopenharmony_ci    </enum>
183bf215546Sopenharmony_ci    <enum name="READ_FRAMEBUFFER_BINDING_EXT" count="1" value="0x8CAA">
184bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
185bf215546Sopenharmony_ci    </enum>
186bf215546Sopenharmony_ci    <function name="BlitFramebufferEXT" alias="BlitFramebuffer">
187bf215546Sopenharmony_ci        <param name="srcX0" type="GLint"/>
188bf215546Sopenharmony_ci        <param name="srcY0" type="GLint"/>
189bf215546Sopenharmony_ci        <param name="srcX1" type="GLint"/>
190bf215546Sopenharmony_ci        <param name="srcY1" type="GLint"/>
191bf215546Sopenharmony_ci        <param name="dstX0" type="GLint"/>
192bf215546Sopenharmony_ci        <param name="dstY0" type="GLint"/>
193bf215546Sopenharmony_ci        <param name="dstX1" type="GLint"/>
194bf215546Sopenharmony_ci        <param name="dstY1" type="GLint"/>
195bf215546Sopenharmony_ci        <param name="mask" type="GLbitfield"/>
196bf215546Sopenharmony_ci        <param name="filter" type="GLenum"/>
197bf215546Sopenharmony_ci    </function>
198bf215546Sopenharmony_ci</category>
199bf215546Sopenharmony_ci
200bf215546Sopenharmony_ci<category name="GL_EXT_framebuffer_multisample" number="317">
201bf215546Sopenharmony_ci    <enum name="RENDERBUFFER_SAMPLES_EXT"                  value="0x8CAB"/>
202bf215546Sopenharmony_ci    <enum name="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT"    value="0x8D56"/>
203bf215546Sopenharmony_ci    <enum name="MAX_SAMPLES_EXT"                 count="1" value="0x8D57">
204bf215546Sopenharmony_ci        <size name="Get" mode="get"/>
205bf215546Sopenharmony_ci    </enum>
206bf215546Sopenharmony_ci
207bf215546Sopenharmony_ci    <function name="RenderbufferStorageMultisampleEXT" alias="RenderbufferStorageMultisample">
208bf215546Sopenharmony_ci        <param name="target" type="GLenum"/>
209bf215546Sopenharmony_ci        <param name="samples" type="GLsizei"/>
210bf215546Sopenharmony_ci        <param name="internalformat" type="GLenum"/>
211bf215546Sopenharmony_ci        <param name="width" type="GLsizei"/>
212bf215546Sopenharmony_ci        <param name="height" type="GLsizei"/>
213bf215546Sopenharmony_ci    </function>
214bf215546Sopenharmony_ci</category>
215bf215546Sopenharmony_ci
216bf215546Sopenharmony_ci</OpenGLAPI>
217