mirror of https://github.com/mosra/magnum.git
Browse Source
This is also the first time they just stopped bothering and introduced a name that is neither in the official gl.xml nor in the google-private ANGLE-specific gl.xml. So yeah, gotta make my own gl.xml. I wonder how other people do this. Do they just type out the headers themselves? Or what's the process for this fucking trash fire these days??pull/650/head
7 changed files with 154 additions and 19 deletions
@ -0,0 +1,42 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<registry> |
||||||
|
<comment> |
||||||
|
This contains signatures of functions that are in WebGL 1 but not in ES |
||||||
|
and (of course) gl.xml doesn't bother adding any WebGL-specific special |
||||||
|
case. |
||||||
|
</comment> |
||||||
|
|
||||||
|
<!-- SECTION: GL command definitions. --> |
||||||
|
<commands namespace="GL"> |
||||||
|
<!-- Copied from gl_angle_ext.xml with the suffix changed --> |
||||||
|
<command> |
||||||
|
<proto>void <name>glPolygonModeWEBGL</name></proto> |
||||||
|
<param group="TriangleFace"><ptype>GLenum</ptype> <name>face</name></param> |
||||||
|
<param group="PolygonMode"><ptype>GLenum</ptype> <name>mode</name></param> |
||||||
|
</command> |
||||||
|
</commands> |
||||||
|
|
||||||
|
<!-- SECTION: extension interface definitions. --> |
||||||
|
<extensions> |
||||||
|
<!-- WEBGL extension interface definitions, which are basically just |
||||||
|
from ANGLE's gl_angle_ext.xml with the suffix changed --> |
||||||
|
<extension name="GL_WEBGL_polygon_mode" supported='gles2'> |
||||||
|
<require> |
||||||
|
<enum name="GL_POLYGON_MODE_WEBGL"/> |
||||||
|
<enum name="GL_LINE_WEBGL"/> |
||||||
|
<enum name="GL_FILL_WEBGL"/> |
||||||
|
<enum name="GL_POLYGON_OFFSET_LINE_WEBGL"/> |
||||||
|
<command name="glPolygonModeWEBGL"/> |
||||||
|
</require> |
||||||
|
</extension> |
||||||
|
</extensions> |
||||||
|
|
||||||
|
<!-- SECTION: GL enumerant (token) definitions. --> |
||||||
|
<enums namespace="GL" vendor="ANGLE"> |
||||||
|
<!-- Copied from gl_angle_ext.xml with the suffix changed --> |
||||||
|
<enum value="0x0B40" name="GL_POLYGON_MODE_WEBGL" group="GetPName"/> |
||||||
|
<enum value="0x1B01" name="GL_LINE_WEBGL" group="PolygonMode"/> |
||||||
|
<enum value="0x1B02" name="GL_FILL_WEBGL" group="PolygonMode"/> |
||||||
|
<enum value="0x2A02" name="GL_POLYGON_OFFSET_LINE_WEBGL" group="GetPName,EnableCap"/> |
||||||
|
</enums> |
||||||
|
</registry> |
||||||
Loading…
Reference in new issue