Updated strong-types for asynchronous queries, query objects and time

queries according to OpenGL 4.4 spec, section 4.2.
This commit is contained in:
Stefanos A. 2013-10-22 14:00:01 +02:00
parent 9685f6e2f0
commit cfa4f230c5
2 changed files with 15 additions and 1 deletions

View file

@ -2109,6 +2109,7 @@
<enum name="GetQueryObjectParam">
<token name="QUERY_RESULT" value="0x8866" />
<token name="QUERY_RESULT_AVAILABLE" value="0x8867" />
<token name="QUERY_RESULT_NO_WAIT" value="0x9194" />
</enum>
<enum name="GetQueryParam">
<token name="CURRENT_QUERY" value="0x8865" />
@ -2455,7 +2456,8 @@
<token name="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN" value="0x8C88" />
<use enum="ARB_occlusion_query2" token="ANY_SAMPLES_PASSED" />
<use enum="VERSION_3_3" token="TIME_ELAPSED" />
<use enum="VERSION_3_3" token="TIMESTAMP" />
<use enum="VERSION_3_3" token="TIMESTAMP" /> <!-- only valid in GetQuery -->
<use enum="VERSION_4_3" token="ANY_SAMPLES_PASSED_CONSERVATIVE" />
</enum>
<enum name="ReadBufferMode">
<use enum="ARB_framebuffer_object" token="COLOR_ATTACHMENT0" />

View file

@ -19173,6 +19173,10 @@ namespace OpenTK.Graphics.OpenGL
/// </summary>
QueryBufferBindingAmd = ((int)0x9193) ,
/// <summary>
/// Original was GL_QUERY_RESULT_NO_WAIT = 0x9194
/// </summary>
QueryResultNoWait = ((int)0x9194) ,
/// <summary>
/// Original was GL_QUERY_RESULT_NO_WAIT_AMD = 0x9194
/// </summary>
QueryResultNoWaitAmd = ((int)0x9194) ,
@ -38384,6 +38388,10 @@ namespace OpenTK.Graphics.OpenGL
/// Original was GL_QUERY_RESULT_AVAILABLE = 0x8867
/// </summary>
QueryResultAvailable = ((int)0x8867) ,
/// <summary>
/// Original was GL_QUERY_RESULT_NO_WAIT = 0x9194
/// </summary>
QueryResultNoWait = ((int)0x9194) ,
}
/// <summary>
@ -47992,6 +48000,10 @@ namespace OpenTK.Graphics.OpenGL
/// </summary>
TransformFeedbackPrimitivesWritten = ((int)0x8C88) ,
/// <summary>
/// Original was GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 0x8D6A
/// </summary>
AnySamplesPassedConservative = ((int)0x8D6A) ,
/// <summary>
/// Original was GL_TIMESTAMP = 0x8E28
/// </summary>
Timestamp = ((int)0x8E28) ,