1<?xml version="1.0"?>
2<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
3
4<OpenGLAPI>
5
6<category name="GL_NV_vdpau_interop" number="396">
7
8    <function name="VDPAUInitNV">
9	<param name="vdpDevice" type="const GLvoid *"/>
10	<param name="getProcAddress" type="const GLvoid *"/>
11    </function>
12
13    <function name="VDPAUFiniNV"/>
14
15    <function name="VDPAURegisterVideoSurfaceNV">
16        <return type="GLintptr"/>
17	<param name="vdpSurface" type="const GLvoid *"/>
18	<param name="target" type="GLenum"/>
19	<param name="numTextureNames" type="GLsizei"/>
20	<param name="textureNames" type="const GLuint *"/>
21    </function>
22
23    <function name="VDPAURegisterOutputSurfaceNV">
24        <return type="GLintptr"/>
25	<param name="vdpSurface" type="const GLvoid *"/>
26	<param name="target" type="GLenum"/>
27	<param name="numTextureNames" type="GLsizei"/>
28	<param name="textureNames" type="const GLuint *"/>
29    </function>
30
31    <function name="VDPAUIsSurfaceNV">
32        <return type="GLboolean"/>
33	<param name="surface" type="GLintptr"/>
34    </function>
35
36    <function name="VDPAUUnregisterSurfaceNV">
37	<param name="surface" type="GLintptr"/>
38    </function>
39
40    <function name="VDPAUGetSurfaceivNV">
41	<param name="surface" type="GLintptr"/>
42	<param name="pname" type="GLenum"/>
43	<param name="bufSize" type="GLsizei"/>
44	<param name="length" type="GLsizei *"/>
45	<param name="values" type="GLint *"/>
46    </function>
47
48    <function name="VDPAUSurfaceAccessNV">
49	<param name="surface" type="GLintptr"/>
50	<param name="access" type="GLenum"/>
51    </function>
52
53    <function name="VDPAUMapSurfacesNV">
54	<param name="numSurfaces" type="GLsizei"/>
55	<param name="surfaces" type="const GLintptr *" count="numSurfaces"/>
56    </function>
57
58    <function name="VDPAUUnmapSurfacesNV">
59	<param name="numSurfaces" type="GLsizei"/>
60	<param name="surfaces" type="const GLintptr *" count="numSurfaces"/>
61    </function>
62
63    <enum name="SURFACE_STATE_NV"      value="0x86EB"/>
64    <enum name="SURFACE_REGISTERED_NV" value="0x86FD"/>
65    <enum name="SURFACE_MAPPED_NV"     value="0x8700"/>
66    <enum name="WRITE_DISCARD_NV"      value="0x88BE"/>
67
68</category>
69
70</OpenGLAPI>
71