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