Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. <?xml version="1.0"?>
  2. <!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
  3.  
  4. <!-- OpenGL + OpenGL ES -->
  5.  
  6. <OpenGLAPI>
  7.  
  8. <xi:include href="gl_API.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
  9.  
  10. <!-- these can be moved to gl_API.xml -->
  11. <xi:include href="OES_fixed_point.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
  12. <xi:include href="OES_single_precision.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
  13.  
  14. <category name="es1.0">
  15.     <!-- from GL_OES_fixed_point -->
  16.     <enum name="FIXED"                                    value="0x140C"/>
  17.  
  18.     <type name="fixed"   size="4"                                    />
  19.     <type name="clampx"  size="4"                                    />
  20.  
  21.     <function name="AlphaFuncx" es1="1.0" desktop="false">
  22.         <param name="func" type="GLenum"/>
  23.         <param name="ref" type="GLclampx"/>
  24.     </function>
  25.  
  26.     <function name="ClearColorx" es1="1.0" desktop="false">
  27.         <param name="red" type="GLclampx"/>
  28.         <param name="green" type="GLclampx"/>
  29.         <param name="blue" type="GLclampx"/>
  30.         <param name="alpha" type="GLclampx"/>
  31.     </function>
  32.  
  33.     <function name="ClearDepthx" es1="1.0" desktop="false">
  34.         <param name="depth" type="GLclampx"/>
  35.     </function>
  36.  
  37.     <function name="Color4x" es1="1.0" desktop="false">
  38.         <param name="red" type="GLfixed"/>
  39.         <param name="green" type="GLfixed"/>
  40.         <param name="blue" type="GLfixed"/>
  41.         <param name="alpha" type="GLfixed"/>
  42.     </function>
  43.  
  44.     <function name="DepthRangex" es1="1.0" desktop="false">
  45.         <param name="zNear" type="GLclampx"/>
  46.         <param name="zFar" type="GLclampx"/>
  47.     </function>
  48.  
  49.     <function name="Fogx" es1="1.0" desktop="false">
  50.         <param name="pname" type="GLenum"/>
  51.         <param name="param" type="GLfixed"/>
  52.     </function>
  53.  
  54.     <function name="Fogxv" es1="1.0" desktop="false">
  55.         <param name="pname" type="GLenum"/>
  56.         <param name="params" type="const GLfixed *" variable_param="pname"/>
  57.     </function>
  58.  
  59.     <function name="Frustumx" es1="1.0" desktop="false">
  60.         <param name="left" type="GLfixed"/>
  61.         <param name="right" type="GLfixed"/>
  62.         <param name="bottom" type="GLfixed"/>
  63.         <param name="top" type="GLfixed"/>
  64.         <param name="zNear" type="GLfixed"/>
  65.         <param name="zFar" type="GLfixed"/>
  66.     </function>
  67.  
  68.     <function name="LightModelx" es1="1.0" desktop="false">
  69.         <param name="pname" type="GLenum"/>
  70.         <param name="param" type="GLfixed"/>
  71.     </function>
  72.  
  73.     <function name="LightModelxv" es1="1.0" desktop="false">
  74.         <param name="pname" type="GLenum"/>
  75.         <param name="params" type="const GLfixed *" variable_param="pname"/>
  76.     </function>
  77.  
  78.     <function name="Lightx" es1="1.0" desktop="false">
  79.         <param name="light" type="GLenum"/>
  80.         <param name="pname" type="GLenum"/>
  81.         <param name="param" type="GLfixed"/>
  82.     </function>
  83.  
  84.     <function name="Lightxv" es1="1.0" desktop="false">
  85.         <param name="light" type="GLenum"/>
  86.         <param name="pname" type="GLenum"/>
  87.         <param name="params" type="const GLfixed *" variable_param="pname"/>
  88.     </function>
  89.  
  90.     <function name="LineWidthx" es1="1.0" desktop="false">
  91.         <param name="width" type="GLfixed"/>
  92.     </function>
  93.  
  94.     <function name="LoadMatrixx" es1="1.0" desktop="false">
  95.         <param name="m" type="const GLfixed *" count="16"/>
  96.     </function>
  97.  
  98.     <function name="Materialx" es1="1.0" desktop="false">
  99.         <param name="face" type="GLenum"/>
  100.         <param name="pname" type="GLenum"/>
  101.         <param name="param" type="GLfixed"/>
  102.     </function>
  103.  
  104.     <function name="Materialxv" es1="1.0" desktop="false">
  105.         <param name="face" type="GLenum"/>
  106.         <param name="pname" type="GLenum"/>
  107.         <param name="params" type="const GLfixed *" variable_param="pname"/>
  108.     </function>
  109.  
  110.     <function name="MultMatrixx" es1="1.0" desktop="false">
  111.         <param name="m" type="const GLfixed *" count="16"/>
  112.     </function>
  113.  
  114.     <function name="MultiTexCoord4x" es1="1.0" desktop="false">
  115.         <param name="target" type="GLenum"/>
  116.         <param name="s" type="GLfixed"/>
  117.         <param name="t" type="GLfixed"/>
  118.         <param name="r" type="GLfixed"/>
  119.         <param name="q" type="GLfixed"/>
  120.     </function>
  121.  
  122.     <function name="Normal3x" es1="1.0" desktop="false">
  123.         <param name="nx" type="GLfixed"/>
  124.         <param name="ny" type="GLfixed"/>
  125.         <param name="nz" type="GLfixed"/>
  126.     </function>
  127.  
  128.     <function name="Orthox" es1="1.0" desktop="false">
  129.         <param name="left" type="GLfixed"/>
  130.         <param name="right" type="GLfixed"/>
  131.         <param name="bottom" type="GLfixed"/>
  132.         <param name="top" type="GLfixed"/>
  133.         <param name="zNear" type="GLfixed"/>
  134.         <param name="zFar" type="GLfixed"/>
  135.     </function>
  136.  
  137.     <function name="PointSizex" es1="1.0" desktop="false">
  138.         <param name="size" type="GLfixed"/>
  139.     </function>
  140.  
  141.     <function name="PolygonOffsetx" es1="1.0" desktop="false">
  142.         <param name="factor" type="GLfixed"/>
  143.         <param name="units" type="GLfixed"/>
  144.     </function>
  145.  
  146.     <function name="Rotatex" es1="1.0" desktop="false">
  147.         <param name="angle" type="GLfixed"/>
  148.         <param name="x" type="GLfixed"/>
  149.         <param name="y" type="GLfixed"/>
  150.         <param name="z" type="GLfixed"/>
  151.     </function>
  152.  
  153.     <function name="SampleCoveragex" es1="1.0" desktop="false">
  154.         <param name="value" type="GLclampx"/>
  155.         <param name="invert" type="GLboolean"/>
  156.     </function>
  157.  
  158.     <function name="Scalex" es1="1.0" desktop="false">
  159.         <param name="x" type="GLfixed"/>
  160.         <param name="y" type="GLfixed"/>
  161.         <param name="z" type="GLfixed"/>
  162.     </function>
  163.  
  164.     <function name="TexEnvx" es1="1.0" desktop="false">
  165.         <param name="target" type="GLenum"/>
  166.         <param name="pname" type="GLenum"/>
  167.         <param name="param" type="GLfixed"/>
  168.     </function>
  169.  
  170.     <function name="TexEnvxv" es1="1.0" desktop="false">
  171.         <param name="target" type="GLenum"/>
  172.         <param name="pname" type="GLenum"/>
  173.         <param name="params" type="const GLfixed *" variable_param="pname"/>
  174.     </function>
  175.  
  176.     <function name="TexParameterx" es1="1.0" desktop="false">
  177.         <param name="target" type="GLenum"/>
  178.         <param name="pname" type="GLenum"/>
  179.         <param name="param" type="GLfixed"/>
  180.     </function>
  181.  
  182.     <function name="Translatex" es1="1.0" desktop="false">
  183.         <param name="x" type="GLfixed"/>
  184.         <param name="y" type="GLfixed"/>
  185.         <param name="z" type="GLfixed"/>
  186.     </function>
  187.  
  188.     <!-- from GL_OES_single_precision -->
  189.     <function name="Frustumf" es1="1.0" desktop="false">
  190.         <param name="left" type="GLfloat"/>
  191.         <param name="right" type="GLfloat"/>
  192.         <param name="bottom" type="GLfloat"/>
  193.         <param name="top" type="GLfloat"/>
  194.         <param name="zNear" type="GLfloat"/>
  195.         <param name="zFar" type="GLfloat"/>
  196.     </function>
  197.  
  198.     <function name="Orthof" es1="1.0" desktop="false">
  199.         <param name="left" type="GLfloat"/>
  200.         <param name="right" type="GLfloat"/>
  201.         <param name="bottom" type="GLfloat"/>
  202.         <param name="top" type="GLfloat"/>
  203.         <param name="zNear" type="GLfloat"/>
  204.         <param name="zFar" type="GLfloat"/>
  205.     </function>
  206. </category>
  207.  
  208. <category name="es1.1">
  209.     <!-- from GL_OES_fixed_point -->
  210.     <function name="ClipPlanex" es1="1.1" desktop="false">
  211.         <param name="plane" type="GLenum"/>
  212.         <param name="equation" type="const GLfixed *" count="4"/>
  213.     </function>
  214.  
  215.     <function name="GetClipPlanex" es1="1.1">
  216.         <param name="plane" type="GLenum"/>
  217.         <param name="equation" type="GLfixed *" output="true" count="4"/>
  218.     </function>
  219.  
  220.     <function name="GetFixedv" es1="1.1" desktop="false">
  221.         <param name="pname" type="GLenum"/>
  222.         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
  223.     </function>
  224.  
  225.     <function name="GetLightxv" es1="1.1" desktop="false">
  226.         <param name="light" type="GLenum"/>
  227.         <param name="pname" type="GLenum"/>
  228.         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
  229.     </function>
  230.  
  231.     <function name="GetMaterialxv" es1="1.1" desktop="false">
  232.         <param name="face" type="GLenum"/>
  233.         <param name="pname" type="GLenum"/>
  234.         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
  235.     </function>
  236.  
  237.     <function name="GetTexEnvxv" es1="1.1" desktop="false">
  238.         <param name="target" type="GLenum"/>
  239.         <param name="pname" type="GLenum"/>
  240.         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
  241.     </function>
  242.  
  243.     <function name="GetTexParameterxv" es1="1.1" desktop="false">
  244.         <param name="target" type="GLenum"/>
  245.         <param name="pname" type="GLenum"/>
  246.         <param name="params" type="GLfixed *" output="true" variable_param="pname"/>
  247.     </function>
  248.  
  249.     <function name="PointParameterx" es1="1.1" desktop="false">
  250.         <param name="pname" type="GLenum"/>
  251.         <param name="param" type="GLfixed"/>
  252.     </function>
  253.  
  254.     <function name="PointParameterxv" es1="1.1" desktop="false">
  255.         <param name="pname" type="GLenum"/>
  256.         <param name="params" type="const GLfixed *"/>
  257.     </function>
  258.  
  259.     <function name="TexParameterxv" es1="1.1" desktop="false">
  260.         <param name="target" type="GLenum"/>
  261.         <param name="pname" type="GLenum"/>
  262.         <param name="params" type="const GLfixed *" variable_param="pname"/>
  263.     </function>
  264.  
  265.     <!-- from GL_OES_single_precision -->
  266.     <function name="ClipPlanef" es1="1.1" desktop="false">
  267.         <param name="plane" type="GLenum"/>
  268.         <param name="equation" type="const GLfloat *" count="4"/>
  269.     </function>
  270.  
  271.     <function name="GetClipPlanef" es1="1.1">
  272.         <param name="plane" type="GLenum"/>
  273.         <param name="equation" type="GLfloat *" output="true" count="4"/>
  274.     </function>
  275. </category>
  276.  
  277. <category name="es2.0">
  278.     <!-- enums missing from GL_ARB_framebuffer_object and GL_EXT_framebuffer_object -->
  279.     <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS"            value="0x8CD9"/>
  280.     <enum name="RGB565"                                       value="0x8D62"/>
  281. </category>
  282.  
  283. <xi:include href="es_EXT.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
  284.  
  285. </OpenGLAPI>
  286.