summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/NV_vdpau_interop.xml
blob: 0b19e1a85f6602e1578a871f2ff5ec5bbd1641a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0"?>
<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">

<OpenGLAPI>

<category name="GL_NV_vdpau_interop" number="396">

    <function name="VDPAUInitNV" offset="assign">
	<param name="vdpDevice" type="const GLvoid *"/>
	<param name="getProcAddress" type="const GLvoid *"/>
    </function>

    <function name="VDPAUFiniNV" offset="assign"/>

    <function name="VDPAURegisterVideoSurfaceNV" offset="assign">
        <return type="GLintptr"/>
	<param name="vdpSurface" type="const GLvoid *"/>
	<param name="target" type="GLenum"/>
	<param name="numTextureNames" type="GLsizei"/>
	<param name="textureNames" type="const GLuint *"/>
    </function>

    <function name="VDPAURegisterOutputSurfaceNV" offset="assign">
        <return type="GLintptr"/>
	<param name="vdpSurface" type="const GLvoid *"/>
	<param name="target" type="GLenum"/>
	<param name="numTextureNames" type="GLsizei"/>
	<param name="textureNames" type="const GLuint *"/>
    </function>

    <function name="VDPAUIsSurfaceNV" offset="assign">
        <return type="GLboolean"/>
	<param name="surface" type="GLintptr"/>
    </function>

    <function name="VDPAUUnregisterSurfaceNV" offset="assign">
	<param name="surface" type="GLintptr"/>
    </function>

    <function name="VDPAUGetSurfaceivNV" offset="assign">
	<param name="surface" type="GLintptr"/>
	<param name="pname" type="GLenum"/>
	<param name="bufSize" type="GLsizei"/>
	<param name="length" type="GLsizei *"/>
	<param name="values" type="GLint *"/>
    </function>

    <function name="VDPAUSurfaceAccessNV" offset="assign">
	<param name="surface" type="GLintptr"/>
	<param name="access" type="GLenum"/>
    </function>

    <function name="VDPAUMapSurfacesNV" offset="assign">
	<param name="numSurfaces" type="GLsizei"/>
	<param name="surfaces" type="const GLintptr *"/>
    </function>

    <function name="VDPAUUnmapSurfacesNV" offset="assign">
	<param name="numSurfaces" type="GLsizei"/>
	<param name="surfaces" type="const GLintptr *"/>
    </function>

    <enum name="SURFACE_STATE_NV"      value="0x86EB"/>
    <enum name="SURFACE_REGISTERED_NV" value="0x86FD"/>
    <enum name="SURFACE_MAPPED_NV"     value="0x8700"/>
    <enum name="WRITE_DISCARD_NV"      value="0x88BE"/>

</category>

</OpenGLAPI>