Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
60d79236
Commit
60d79236
authored
Apr 23, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Update to the current OpenGL spec.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
29839b7f
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
286 additions
and
73 deletions
+286
-73
make_opengl
dlls/opengl32/make_opengl
+15
-2
opengl_ext.c
dlls/opengl32/opengl_ext.c
+158
-38
opengl_norm.c
dlls/opengl32/opengl_norm.c
+42
-12
wgl.h
include/wine/wgl.h
+43
-8
wgl_driver.h
include/wine/wgl_driver.h
+28
-13
No files found.
dlls/opengl32/make_opengl
View file @
60d79236
...
...
@@ -143,6 +143,17 @@ my %remap_types =
"HGLRC"
=>
"struct wgl_context *"
,
"HPBUFFERARB"
=>
"struct wgl_pbuffer *"
,
);
my
%
khronos_types
=
(
"khronos_int8_t"
=>
"signed char"
,
"khronos_uint8_t"
=>
"unsigned char"
,
"khronos_int16_t"
=>
"short"
,
"khronos_uint16_t"
=>
"unsigned short"
,
"khronos_int32_t"
=>
"int"
,
"khronos_uint32_t"
=>
"unsigned int"
,
"khronos_float_t"
=>
"float"
,
);
#
# Used to convert some types
#
...
...
@@ -318,7 +329,7 @@ if ($version eq "1.0") {
# Fetch the registry files
#
my
$url
=
"https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry"
;
my
$commit
=
"
9929a7296ffdbd9c17125e1aa319cde78d1032e6
"
;
my
$commit
=
"
03e1bfb87c4664d34dc7822fb591841eec747094
"
;
-
f
"gl-$commit.xml"
||
system
"wget"
,
"-O"
,
"gl-$commit.xml"
,
"$url/$commit/xml/gl.xml"
||
die
"cannot download gl.xml"
;
-
f
"wgl-$commit.xml"
||
system
"wget"
,
"-O"
,
"wgl-$commit.xml"
,
"$url/$commit/xml/wgl.xml"
||
die
"cannot download wgl.xml"
;
...
...
@@ -647,7 +658,9 @@ print HEADER "#endif\n\n";
foreach
(
@gl_types
)
{
printf
HEADER
$gl_types
{
$_
}
->
textContent
()
.
"\n"
;
my
$type
=
$gl_types
{
$_
}
->
textContent
();
foreach
my
$t
(
keys
%
khronos_types
)
{
$type
=~
s/\s(\Q$t\E)\s/ $khronos_types{$t} /
;
}
printf
HEADER
$type
.
"\n"
;
}
print
HEADER
"\n"
;
...
...
dlls/opengl32/opengl_ext.c
View file @
60d79236
...
...
@@ -8,7 +8,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
opengl
);
const
int
extension_registry_size
=
26
79
;
const
int
extension_registry_size
=
26
94
;
static
void
WINAPI
glAccumxOES
(
GLenum
op
,
GLfixed
value
)
{
...
...
@@ -143,6 +143,20 @@ static void WINAPI glArrayObjectATI( GLenum array, GLint size, GLenum type, GLsi
funcs
->
ext
.
p_glArrayObjectATI
(
array
,
size
,
type
,
stride
,
buffer
,
offset
);
}
static
GLuint
WINAPI
glAsyncCopyBufferSubDataNVX
(
GLsizei
waitSemaphoreCount
,
const
GLuint
*
waitSemaphoreArray
,
const
GLuint64
*
fenceValueArray
,
GLuint
readGpu
,
GLbitfield
writeGpuMask
,
GLuint
readBuffer
,
GLuint
writeBuffer
,
GLintptr
readOffset
,
GLintptr
writeOffset
,
GLsizeiptr
size
,
GLsizei
signalSemaphoreCount
,
const
GLuint
*
signalSemaphoreArray
,
const
GLuint64
*
signalValueArray
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %p, %p, %d, %d, %d, %d, %ld, %ld, %ld, %d, %p, %p)
\n
"
,
waitSemaphoreCount
,
waitSemaphoreArray
,
fenceValueArray
,
readGpu
,
writeGpuMask
,
readBuffer
,
writeBuffer
,
readOffset
,
writeOffset
,
size
,
signalSemaphoreCount
,
signalSemaphoreArray
,
signalValueArray
);
return
funcs
->
ext
.
p_glAsyncCopyBufferSubDataNVX
(
waitSemaphoreCount
,
waitSemaphoreArray
,
fenceValueArray
,
readGpu
,
writeGpuMask
,
readBuffer
,
writeBuffer
,
readOffset
,
writeOffset
,
size
,
signalSemaphoreCount
,
signalSemaphoreArray
,
signalValueArray
);
}
static
GLuint
WINAPI
glAsyncCopyImageSubDataNVX
(
GLsizei
waitSemaphoreCount
,
const
GLuint
*
waitSemaphoreArray
,
const
GLuint64
*
waitValueArray
,
GLuint
srcGpu
,
GLbitfield
dstGpuMask
,
GLuint
srcName
,
GLenum
srcTarget
,
GLint
srcLevel
,
GLint
srcX
,
GLint
srcY
,
GLint
srcZ
,
GLuint
dstName
,
GLenum
dstTarget
,
GLint
dstLevel
,
GLint
dstX
,
GLint
dstY
,
GLint
dstZ
,
GLsizei
srcWidth
,
GLsizei
srcHeight
,
GLsizei
srcDepth
,
GLsizei
signalSemaphoreCount
,
const
GLuint
*
signalSemaphoreArray
,
const
GLuint64
*
signalValueArray
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %p, %p, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p, %p)
\n
"
,
waitSemaphoreCount
,
waitSemaphoreArray
,
waitValueArray
,
srcGpu
,
dstGpuMask
,
srcName
,
srcTarget
,
srcLevel
,
srcX
,
srcY
,
srcZ
,
dstName
,
dstTarget
,
dstLevel
,
dstX
,
dstY
,
dstZ
,
srcWidth
,
srcHeight
,
srcDepth
,
signalSemaphoreCount
,
signalSemaphoreArray
,
signalValueArray
);
return
funcs
->
ext
.
p_glAsyncCopyImageSubDataNVX
(
waitSemaphoreCount
,
waitSemaphoreArray
,
waitValueArray
,
srcGpu
,
dstGpuMask
,
srcName
,
srcTarget
,
srcLevel
,
srcX
,
srcY
,
srcZ
,
dstName
,
dstTarget
,
dstLevel
,
dstX
,
dstY
,
dstZ
,
srcWidth
,
srcHeight
,
srcDepth
,
signalSemaphoreCount
,
signalSemaphoreArray
,
signalValueArray
);
}
static
void
WINAPI
glAsyncMarkerSGIX
(
GLuint
marker
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -1221,6 +1235,13 @@ static void WINAPI glClientAttribDefaultEXT( GLbitfield mask )
funcs
->
ext
.
p_glClientAttribDefaultEXT
(
mask
);
}
static
void
WINAPI
glClientWaitSemaphoreui64NVX
(
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %p, %p)
\n
"
,
fenceObjectCount
,
semaphoreArray
,
fenceValueArray
);
funcs
->
ext
.
p_glClientWaitSemaphoreui64NVX
(
fenceObjectCount
,
semaphoreArray
,
fenceValueArray
);
}
static
GLenum
WINAPI
glClientWaitSync
(
GLsync
sync
,
GLbitfield
flags
,
GLuint64
timeout
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -2222,6 +2243,13 @@ static void WINAPI glCreateProgramPipelines( GLsizei n, GLuint *pipelines )
funcs
->
ext
.
p_glCreateProgramPipelines
(
n
,
pipelines
);
}
static
GLuint
WINAPI
glCreateProgressFenceNVX
(
void
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"()
\n
"
);
return
funcs
->
ext
.
p_glCreateProgressFenceNVX
();
}
static
void
WINAPI
glCreateQueries
(
GLenum
target
,
GLsizei
n
,
GLuint
*
ids
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -2677,6 +2705,13 @@ static void WINAPI glDepthBoundsdNV( GLdouble zmin, GLdouble zmax )
funcs
->
ext
.
p_glDepthBoundsdNV
(
zmin
,
zmax
);
}
static
void
WINAPI
glDepthRangeArraydvNV
(
GLuint
first
,
GLsizei
count
,
const
GLdouble
*
v
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %p)
\n
"
,
first
,
count
,
v
);
funcs
->
ext
.
p_glDepthRangeArraydvNV
(
first
,
count
,
v
);
}
static
void
WINAPI
glDepthRangeArrayv
(
GLuint
first
,
GLsizei
count
,
const
GLdouble
*
v
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -2691,6 +2726,13 @@ static void WINAPI glDepthRangeIndexed( GLuint index, GLdouble n, GLdouble f )
funcs
->
ext
.
p_glDepthRangeIndexed
(
index
,
n
,
f
);
}
static
void
WINAPI
glDepthRangeIndexeddNV
(
GLuint
index
,
GLdouble
n
,
GLdouble
f
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %f, %f)
\n
"
,
index
,
n
,
f
);
funcs
->
ext
.
p_glDepthRangeIndexeddNV
(
index
,
n
,
f
);
}
static
void
WINAPI
glDepthRangedNV
(
GLdouble
zNear
,
GLdouble
zFar
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -3776,6 +3818,13 @@ static void WINAPI glFramebufferParameteri( GLenum target, GLenum pname, GLint p
funcs
->
ext
.
p_glFramebufferParameteri
(
target
,
pname
,
param
);
}
static
void
WINAPI
glFramebufferParameteriMESA
(
GLenum
target
,
GLenum
pname
,
GLint
param
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d)
\n
"
,
target
,
pname
,
param
);
funcs
->
ext
.
p_glFramebufferParameteriMESA
(
target
,
pname
,
param
);
}
static
void
WINAPI
glFramebufferReadBufferEXT
(
GLuint
framebuffer
,
GLenum
mode
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -4203,18 +4252,18 @@ static void WINAPI glGetActiveAttribARB( GLhandleARB programObj, GLuint index, G
funcs
->
ext
.
p_glGetActiveAttribARB
(
programObj
,
index
,
maxLength
,
length
,
size
,
type
,
name
);
}
static
void
WINAPI
glGetActiveSubroutineName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
s
ize
,
GLsizei
*
length
,
GLchar
*
name
)
static
void
WINAPI
glGetActiveSubroutineName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
S
ize
,
GLsizei
*
length
,
GLchar
*
name
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %p, %p)
\n
"
,
program
,
shadertype
,
index
,
buf
s
ize
,
length
,
name
);
funcs
->
ext
.
p_glGetActiveSubroutineName
(
program
,
shadertype
,
index
,
buf
s
ize
,
length
,
name
);
TRACE
(
"(%d, %d, %d, %d, %p, %p)
\n
"
,
program
,
shadertype
,
index
,
buf
S
ize
,
length
,
name
);
funcs
->
ext
.
p_glGetActiveSubroutineName
(
program
,
shadertype
,
index
,
buf
S
ize
,
length
,
name
);
}
static
void
WINAPI
glGetActiveSubroutineUniformName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
s
ize
,
GLsizei
*
length
,
GLchar
*
name
)
static
void
WINAPI
glGetActiveSubroutineUniformName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
S
ize
,
GLsizei
*
length
,
GLchar
*
name
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %p, %p)
\n
"
,
program
,
shadertype
,
index
,
buf
s
ize
,
length
,
name
);
funcs
->
ext
.
p_glGetActiveSubroutineUniformName
(
program
,
shadertype
,
index
,
buf
s
ize
,
length
,
name
);
TRACE
(
"(%d, %d, %d, %d, %p, %p)
\n
"
,
program
,
shadertype
,
index
,
buf
S
ize
,
length
,
name
);
funcs
->
ext
.
p_glGetActiveSubroutineUniformName
(
program
,
shadertype
,
index
,
buf
S
ize
,
length
,
name
);
}
static
void
WINAPI
glGetActiveSubroutineUniformiv
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLenum
pname
,
GLint
*
values
)
...
...
@@ -4595,11 +4644,11 @@ static void WINAPI glGetConvolutionParameterxvOES( GLenum target, GLenum pname,
funcs
->
ext
.
p_glGetConvolutionParameterxvOES
(
target
,
pname
,
params
);
}
static
void
WINAPI
glGetCoverageModulationTableNV
(
GLsizei
buf
s
ize
,
GLfloat
*
v
)
static
void
WINAPI
glGetCoverageModulationTableNV
(
GLsizei
buf
S
ize
,
GLfloat
*
v
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %p)
\n
"
,
buf
s
ize
,
v
);
funcs
->
ext
.
p_glGetCoverageModulationTableNV
(
buf
s
ize
,
v
);
TRACE
(
"(%d, %p)
\n
"
,
buf
S
ize
,
v
);
funcs
->
ext
.
p_glGetCoverageModulationTableNV
(
buf
S
ize
,
v
);
}
static
GLuint
WINAPI
glGetDebugMessageLog
(
GLuint
count
,
GLsizei
bufSize
,
GLenum
*
sources
,
GLenum
*
types
,
GLuint
*
ids
,
GLenum
*
severities
,
GLsizei
*
lengths
,
GLchar
*
messageLog
)
...
...
@@ -4609,11 +4658,11 @@ static GLuint WINAPI glGetDebugMessageLog( GLuint count, GLsizei bufSize, GLenum
return
funcs
->
ext
.
p_glGetDebugMessageLog
(
count
,
bufSize
,
sources
,
types
,
ids
,
severities
,
lengths
,
messageLog
);
}
static
GLuint
WINAPI
glGetDebugMessageLogAMD
(
GLuint
count
,
GLsizei
buf
s
ize
,
GLenum
*
categories
,
GLuint
*
severities
,
GLuint
*
ids
,
GLsizei
*
lengths
,
GLchar
*
message
)
static
GLuint
WINAPI
glGetDebugMessageLogAMD
(
GLuint
count
,
GLsizei
buf
S
ize
,
GLenum
*
categories
,
GLuint
*
severities
,
GLuint
*
ids
,
GLsizei
*
lengths
,
GLchar
*
message
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %p, %p, %p, %p, %p)
\n
"
,
count
,
buf
s
ize
,
categories
,
severities
,
ids
,
lengths
,
message
);
return
funcs
->
ext
.
p_glGetDebugMessageLogAMD
(
count
,
buf
s
ize
,
categories
,
severities
,
ids
,
lengths
,
message
);
TRACE
(
"(%d, %d, %p, %p, %p, %p, %p)
\n
"
,
count
,
buf
S
ize
,
categories
,
severities
,
ids
,
lengths
,
message
);
return
funcs
->
ext
.
p_glGetDebugMessageLogAMD
(
count
,
buf
S
ize
,
categories
,
severities
,
ids
,
lengths
,
message
);
}
static
GLuint
WINAPI
glGetDebugMessageLogARB
(
GLuint
count
,
GLsizei
bufSize
,
GLenum
*
sources
,
GLenum
*
types
,
GLuint
*
ids
,
GLenum
*
severities
,
GLsizei
*
lengths
,
GLchar
*
messageLog
)
...
...
@@ -4798,6 +4847,13 @@ static void WINAPI glGetFramebufferParameterivEXT( GLuint framebuffer, GLenum pn
funcs
->
ext
.
p_glGetFramebufferParameterivEXT
(
framebuffer
,
pname
,
params
);
}
static
void
WINAPI
glGetFramebufferParameterivMESA
(
GLenum
target
,
GLenum
pname
,
GLint
*
params
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %p)
\n
"
,
target
,
pname
,
params
);
funcs
->
ext
.
p_glGetFramebufferParameterivMESA
(
target
,
pname
,
params
);
}
static
GLenum
WINAPI
glGetGraphicsResetStatus
(
void
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -4952,25 +5008,25 @@ static void WINAPI glGetIntegerui64vNV( GLenum value, GLuint64EXT *result )
funcs
->
ext
.
p_glGetIntegerui64vNV
(
value
,
result
);
}
static
void
WINAPI
glGetInternalformatSampleivNV
(
GLenum
target
,
GLenum
internalformat
,
GLsizei
samples
,
GLenum
pname
,
GLsizei
bufSize
,
GLint
*
params
)
static
void
WINAPI
glGetInternalformatSampleivNV
(
GLenum
target
,
GLenum
internalformat
,
GLsizei
samples
,
GLenum
pname
,
GLsizei
count
,
GLint
*
params
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %d, %p)
\n
"
,
target
,
internalformat
,
samples
,
pname
,
bufSize
,
params
);
funcs
->
ext
.
p_glGetInternalformatSampleivNV
(
target
,
internalformat
,
samples
,
pname
,
bufSize
,
params
);
TRACE
(
"(%d, %d, %d, %d, %d, %p)
\n
"
,
target
,
internalformat
,
samples
,
pname
,
count
,
params
);
funcs
->
ext
.
p_glGetInternalformatSampleivNV
(
target
,
internalformat
,
samples
,
pname
,
count
,
params
);
}
static
void
WINAPI
glGetInternalformati64v
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
bufSize
,
GLint64
*
params
)
static
void
WINAPI
glGetInternalformati64v
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
count
,
GLint64
*
params
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %p)
\n
"
,
target
,
internalformat
,
pname
,
bufSize
,
params
);
funcs
->
ext
.
p_glGetInternalformati64v
(
target
,
internalformat
,
pname
,
bufSize
,
params
);
TRACE
(
"(%d, %d, %d, %d, %p)
\n
"
,
target
,
internalformat
,
pname
,
count
,
params
);
funcs
->
ext
.
p_glGetInternalformati64v
(
target
,
internalformat
,
pname
,
count
,
params
);
}
static
void
WINAPI
glGetInternalformativ
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
bufSize
,
GLint
*
params
)
static
void
WINAPI
glGetInternalformativ
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
count
,
GLint
*
params
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %p)
\n
"
,
target
,
internalformat
,
pname
,
bufSize
,
params
);
funcs
->
ext
.
p_glGetInternalformativ
(
target
,
internalformat
,
pname
,
bufSize
,
params
);
TRACE
(
"(%d, %d, %d, %d, %p)
\n
"
,
target
,
internalformat
,
pname
,
count
,
params
);
funcs
->
ext
.
p_glGetInternalformativ
(
target
,
internalformat
,
pname
,
count
,
params
);
}
static
void
WINAPI
glGetInvariantBooleanvEXT
(
GLuint
id
,
GLenum
value
,
GLboolean
*
data
)
...
...
@@ -5841,18 +5897,18 @@ static void WINAPI glGetProgramResourceName( GLuint program, GLenum programInter
funcs
->
ext
.
p_glGetProgramResourceName
(
program
,
programInterface
,
index
,
bufSize
,
length
,
name
);
}
static
void
WINAPI
glGetProgramResourcefvNV
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLfloat
*
params
)
static
void
WINAPI
glGetProgramResourcefvNV
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
count
,
GLsizei
*
length
,
GLfloat
*
params
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %p, %d, %p, %p)
\n
"
,
program
,
programInterface
,
index
,
propCount
,
props
,
bufSize
,
length
,
params
);
funcs
->
ext
.
p_glGetProgramResourcefvNV
(
program
,
programInterface
,
index
,
propCount
,
props
,
bufSize
,
length
,
params
);
TRACE
(
"(%d, %d, %d, %d, %p, %d, %p, %p)
\n
"
,
program
,
programInterface
,
index
,
propCount
,
props
,
count
,
length
,
params
);
funcs
->
ext
.
p_glGetProgramResourcefvNV
(
program
,
programInterface
,
index
,
propCount
,
props
,
count
,
length
,
params
);
}
static
void
WINAPI
glGetProgramResourceiv
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
params
)
static
void
WINAPI
glGetProgramResourceiv
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
params
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %d, %p, %d, %p, %p)
\n
"
,
program
,
programInterface
,
index
,
propCount
,
props
,
bufSize
,
length
,
params
);
funcs
->
ext
.
p_glGetProgramResourceiv
(
program
,
programInterface
,
index
,
propCount
,
props
,
bufSize
,
length
,
params
);
TRACE
(
"(%d, %d, %d, %d, %p, %d, %p, %p)
\n
"
,
program
,
programInterface
,
index
,
propCount
,
props
,
count
,
length
,
params
);
funcs
->
ext
.
p_glGetProgramResourceiv
(
program
,
programInterface
,
index
,
propCount
,
props
,
count
,
length
,
params
);
}
static
void
WINAPI
glGetProgramStageiv
(
GLuint
program
,
GLenum
shadertype
,
GLenum
pname
,
GLint
*
values
)
...
...
@@ -6149,11 +6205,11 @@ static GLint WINAPI glGetSubroutineUniformLocation( GLuint program, GLenum shade
return
funcs
->
ext
.
p_glGetSubroutineUniformLocation
(
program
,
shadertype
,
name
);
}
static
void
WINAPI
glGetSynciv
(
GLsync
sync
,
GLenum
pname
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
values
)
static
void
WINAPI
glGetSynciv
(
GLsync
sync
,
GLenum
pname
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
values
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%p, %d, %d, %p, %p)
\n
"
,
sync
,
pname
,
bufSize
,
length
,
values
);
funcs
->
ext
.
p_glGetSynciv
(
sync
,
pname
,
bufSize
,
length
,
values
);
TRACE
(
"(%p, %d, %d, %p, %p)
\n
"
,
sync
,
pname
,
count
,
length
,
values
);
funcs
->
ext
.
p_glGetSynciv
(
sync
,
pname
,
count
,
length
,
values
);
}
static
void
WINAPI
glGetTexBumpParameterfvATI
(
GLenum
pname
,
GLfloat
*
param
)
...
...
@@ -9810,6 +9866,27 @@ static void WINAPI glMulticastGetQueryObjectuivNV( GLuint gpu, GLuint id, GLenum
funcs
->
ext
.
p_glMulticastGetQueryObjectuivNV
(
gpu
,
id
,
pname
,
params
);
}
static
void
WINAPI
glMulticastScissorArrayvNVX
(
GLuint
gpu
,
GLuint
first
,
GLsizei
count
,
const
GLint
*
v
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %p)
\n
"
,
gpu
,
first
,
count
,
v
);
funcs
->
ext
.
p_glMulticastScissorArrayvNVX
(
gpu
,
first
,
count
,
v
);
}
static
void
WINAPI
glMulticastViewportArrayvNVX
(
GLuint
gpu
,
GLuint
first
,
GLsizei
count
,
const
GLfloat
*
v
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %p)
\n
"
,
gpu
,
first
,
count
,
v
);
funcs
->
ext
.
p_glMulticastViewportArrayvNVX
(
gpu
,
first
,
count
,
v
);
}
static
void
WINAPI
glMulticastViewportPositionWScaleNVX
(
GLuint
gpu
,
GLuint
index
,
GLfloat
xcoeff
,
GLfloat
ycoeff
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %f, %f)
\n
"
,
gpu
,
index
,
xcoeff
,
ycoeff
);
funcs
->
ext
.
p_glMulticastViewportPositionWScaleNVX
(
gpu
,
index
,
xcoeff
,
ycoeff
);
}
static
void
WINAPI
glMulticastWaitSyncNV
(
GLuint
signalGpu
,
GLbitfield
waitGpuMask
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -12211,11 +12288,11 @@ static void WINAPI glQueryObjectParameteruiAMD( GLenum target, GLuint id, GLenum
funcs
->
ext
.
p_glQueryObjectParameteruiAMD
(
target
,
id
,
pname
,
param
);
}
static
GLint
WINAPI
glQueryResourceNV
(
GLenum
queryType
,
GLint
tagId
,
GLuint
bufSize
,
GLint
*
buffer
)
static
GLint
WINAPI
glQueryResourceNV
(
GLenum
queryType
,
GLint
tagId
,
GLuint
count
,
GLint
*
buffer
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %d, %p)
\n
"
,
queryType
,
tagId
,
bufSize
,
buffer
);
return
funcs
->
ext
.
p_glQueryResourceNV
(
queryType
,
tagId
,
bufSize
,
buffer
);
TRACE
(
"(%d, %d, %d, %p)
\n
"
,
queryType
,
tagId
,
count
,
buffer
);
return
funcs
->
ext
.
p_glQueryResourceNV
(
queryType
,
tagId
,
count
,
buffer
);
}
static
void
WINAPI
glQueryResourceTagNV
(
GLint
tagId
,
const
GLchar
*
tagString
)
...
...
@@ -13226,6 +13303,13 @@ static void WINAPI glSignalSemaphoreEXT( GLuint semaphore, GLuint numBufferBarri
funcs
->
ext
.
p_glSignalSemaphoreEXT
(
semaphore
,
numBufferBarriers
,
buffers
,
numTextureBarriers
,
textures
,
dstLayouts
);
}
static
void
WINAPI
glSignalSemaphoreui64NVX
(
GLuint
signalGpu
,
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %p, %p)
\n
"
,
signalGpu
,
fenceObjectCount
,
semaphoreArray
,
fenceValueArray
);
funcs
->
ext
.
p_glSignalSemaphoreui64NVX
(
signalGpu
,
fenceObjectCount
,
semaphoreArray
,
fenceValueArray
);
}
static
void
WINAPI
glSignalVkFenceNV
(
GLuint64
vkFence
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -15557,6 +15641,13 @@ static void WINAPI glUpdateObjectBufferATI( GLuint buffer, GLuint offset, GLsize
funcs
->
ext
.
p_glUpdateObjectBufferATI
(
buffer
,
offset
,
size
,
pointer
,
preserve
);
}
static
void
WINAPI
glUploadGpuMaskNVX
(
GLbitfield
mask
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d)
\n
"
,
mask
);
funcs
->
ext
.
p_glUploadGpuMaskNVX
(
mask
);
}
static
void
WINAPI
glUseProgram
(
GLuint
program
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -15592,11 +15683,11 @@ static void WINAPI glVDPAUFiniNV(void)
funcs
->
ext
.
p_glVDPAUFiniNV
();
}
static
void
WINAPI
glVDPAUGetSurfaceivNV
(
GLvdpauSurfaceNV
surface
,
GLenum
pname
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
values
)
static
void
WINAPI
glVDPAUGetSurfaceivNV
(
GLvdpauSurfaceNV
surface
,
GLenum
pname
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
values
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%ld, %d, %d, %p, %p)
\n
"
,
surface
,
pname
,
bufSize
,
length
,
values
);
funcs
->
ext
.
p_glVDPAUGetSurfaceivNV
(
surface
,
pname
,
bufSize
,
length
,
values
);
TRACE
(
"(%ld, %d, %d, %p, %p)
\n
"
,
surface
,
pname
,
count
,
length
,
values
);
funcs
->
ext
.
p_glVDPAUGetSurfaceivNV
(
surface
,
pname
,
count
,
length
,
values
);
}
static
void
WINAPI
glVDPAUInitNV
(
const
void
*
vdpDevice
,
const
void
*
getProcAddress
)
...
...
@@ -15634,6 +15725,13 @@ static GLvdpauSurfaceNV WINAPI glVDPAURegisterVideoSurfaceNV( const void *vdpSur
return
funcs
->
ext
.
p_glVDPAURegisterVideoSurfaceNV
(
vdpSurface
,
target
,
numTextureNames
,
textureNames
);
}
static
GLvdpauSurfaceNV
WINAPI
glVDPAURegisterVideoSurfaceWithPictureStructureNV
(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
,
GLboolean
isFrameStructure
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%p, %d, %d, %p, %d)
\n
"
,
vdpSurface
,
target
,
numTextureNames
,
textureNames
,
isFrameStructure
);
return
funcs
->
ext
.
p_glVDPAURegisterVideoSurfaceWithPictureStructureNV
(
vdpSurface
,
target
,
numTextureNames
,
textureNames
,
isFrameStructure
);
}
static
void
WINAPI
glVDPAUSurfaceAccessNV
(
GLvdpauSurfaceNV
surface
,
GLenum
access
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -18070,6 +18168,13 @@ static void WINAPI glWaitSemaphoreEXT( GLuint semaphore, GLuint numBufferBarrier
funcs
->
ext
.
p_glWaitSemaphoreEXT
(
semaphore
,
numBufferBarriers
,
buffers
,
numTextureBarriers
,
textures
,
srcLayouts
);
}
static
void
WINAPI
glWaitSemaphoreui64NVX
(
GLuint
waitGpu
,
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
TRACE
(
"(%d, %d, %p, %p)
\n
"
,
waitGpu
,
fenceObjectCount
,
semaphoreArray
,
fenceValueArray
);
funcs
->
ext
.
p_glWaitSemaphoreui64NVX
(
waitGpu
,
fenceObjectCount
,
semaphoreArray
,
fenceValueArray
);
}
static
void
WINAPI
glWaitSync
(
GLsync
sync
,
GLbitfield
flags
,
GLuint64
timeout
)
{
const
struct
opengl_funcs
*
funcs
=
NtCurrentTeb
()
->
glTable
;
...
...
@@ -18681,7 +18786,7 @@ extern int WINAPI wglReleasePbufferDCARB( HPBUFFERARB hPbuffer, HDC hDC ) DECLSP
extern
BOOL
WINAPI
wglReleaseTexImageARB
(
HPBUFFERARB
hPbuffer
,
int
iBuffer
)
DECLSPEC_HIDDEN
;
extern
BOOL
WINAPI
wglSetPbufferAttribARB
(
HPBUFFERARB
hPbuffer
,
const
int
*
piAttribList
)
DECLSPEC_HIDDEN
;
const
OpenGL_extension
extension_registry
[
26
79
]
=
{
const
OpenGL_extension
extension_registry
[
26
94
]
=
{
{
"glAccumxOES"
,
"GL_OES_fixed_point"
,
glAccumxOES
},
{
"glAcquireKeyedMutexWin32EXT"
,
"GL_EXT_win32_keyed_mutex"
,
glAcquireKeyedMutexWin32EXT
},
{
"glActiveProgramEXT"
,
"GL_EXT_separate_shader_objects"
,
glActiveProgramEXT
},
...
...
@@ -18701,6 +18806,8 @@ const OpenGL_extension extension_registry[2679] = {
{
"glAreTexturesResidentEXT"
,
"GL_EXT_texture_object"
,
glAreTexturesResidentEXT
},
{
"glArrayElementEXT"
,
"GL_EXT_vertex_array"
,
glArrayElementEXT
},
{
"glArrayObjectATI"
,
"GL_ATI_vertex_array_object"
,
glArrayObjectATI
},
{
"glAsyncCopyBufferSubDataNVX"
,
"GL_NVX_gpu_multicast2"
,
glAsyncCopyBufferSubDataNVX
},
{
"glAsyncCopyImageSubDataNVX"
,
"GL_NVX_gpu_multicast2"
,
glAsyncCopyImageSubDataNVX
},
{
"glAsyncMarkerSGIX"
,
"GL_SGIX_async"
,
glAsyncMarkerSGIX
},
{
"glAttachObjectARB"
,
"GL_ARB_shader_objects"
,
glAttachObjectARB
},
{
"glAttachShader"
,
"GL_VERSION_2_0"
,
glAttachShader
},
...
...
@@ -18855,6 +18962,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glClientActiveTextureARB"
,
"GL_ARB_multitexture"
,
glClientActiveTextureARB
},
{
"glClientActiveVertexStreamATI"
,
"GL_ATI_vertex_streams"
,
glClientActiveVertexStreamATI
},
{
"glClientAttribDefaultEXT"
,
"GL_EXT_direct_state_access"
,
glClientAttribDefaultEXT
},
{
"glClientWaitSemaphoreui64NVX"
,
"GL_NVX_progress_fence"
,
glClientWaitSemaphoreui64NVX
},
{
"glClientWaitSync"
,
"GL_ARB_sync GL_VERSION_3_2"
,
glClientWaitSync
},
{
"glClipControl"
,
"GL_ARB_clip_control GL_VERSION_4_5"
,
glClipControl
},
{
"glClipPlanefOES"
,
"GL_OES_single_precision"
,
glClipPlanefOES
},
...
...
@@ -18998,6 +19106,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glCreateProgram"
,
"GL_VERSION_2_0"
,
glCreateProgram
},
{
"glCreateProgramObjectARB"
,
"GL_ARB_shader_objects"
,
glCreateProgramObjectARB
},
{
"glCreateProgramPipelines"
,
"GL_ARB_direct_state_access GL_VERSION_4_5"
,
glCreateProgramPipelines
},
{
"glCreateProgressFenceNVX"
,
"GL_NVX_progress_fence"
,
glCreateProgressFenceNVX
},
{
"glCreateQueries"
,
"GL_ARB_direct_state_access GL_VERSION_4_5"
,
glCreateQueries
},
{
"glCreateRenderbuffers"
,
"GL_ARB_direct_state_access GL_VERSION_4_5"
,
glCreateRenderbuffers
},
{
"glCreateSamplers"
,
"GL_ARB_direct_state_access GL_VERSION_4_5"
,
glCreateSamplers
},
...
...
@@ -19066,8 +19175,10 @@ const OpenGL_extension extension_registry[2679] = {
{
"glDeleteVertexShaderEXT"
,
"GL_EXT_vertex_shader"
,
glDeleteVertexShaderEXT
},
{
"glDepthBoundsEXT"
,
"GL_EXT_depth_bounds_test"
,
glDepthBoundsEXT
},
{
"glDepthBoundsdNV"
,
"GL_NV_depth_buffer_float"
,
glDepthBoundsdNV
},
{
"glDepthRangeArraydvNV"
,
"GL_ARB_viewport_array"
,
glDepthRangeArraydvNV
},
{
"glDepthRangeArrayv"
,
"GL_ARB_viewport_array GL_VERSION_4_1"
,
glDepthRangeArrayv
},
{
"glDepthRangeIndexed"
,
"GL_ARB_viewport_array GL_VERSION_4_1"
,
glDepthRangeIndexed
},
{
"glDepthRangeIndexeddNV"
,
"GL_ARB_viewport_array"
,
glDepthRangeIndexeddNV
},
{
"glDepthRangedNV"
,
"GL_NV_depth_buffer_float"
,
glDepthRangedNV
},
{
"glDepthRangef"
,
"GL_ARB_ES2_compatibility GL_VERSION_4_1"
,
glDepthRangef
},
{
"glDepthRangefOES"
,
"GL_OES_single_precision"
,
glDepthRangefOES
},
...
...
@@ -19223,6 +19334,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glFramebufferDrawBuffersEXT"
,
"GL_EXT_direct_state_access"
,
glFramebufferDrawBuffersEXT
},
{
"glFramebufferFetchBarrierEXT"
,
"GL_EXT_shader_framebuffer_fetch_non_coherent"
,
glFramebufferFetchBarrierEXT
},
{
"glFramebufferParameteri"
,
"GL_ARB_framebuffer_no_attachments GL_VERSION_4_3"
,
glFramebufferParameteri
},
{
"glFramebufferParameteriMESA"
,
"GL_MESA_framebuffer_flip_y"
,
glFramebufferParameteriMESA
},
{
"glFramebufferReadBufferEXT"
,
"GL_EXT_direct_state_access"
,
glFramebufferReadBufferEXT
},
{
"glFramebufferRenderbuffer"
,
"GL_ARB_framebuffer_object GL_VERSION_3_0"
,
glFramebufferRenderbuffer
},
{
"glFramebufferRenderbufferEXT"
,
"GL_EXT_framebuffer_object"
,
glFramebufferRenderbufferEXT
},
...
...
@@ -19369,6 +19481,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glGetFramebufferParameterfvAMD"
,
"GL_AMD_framebuffer_sample_positions"
,
glGetFramebufferParameterfvAMD
},
{
"glGetFramebufferParameteriv"
,
"GL_ARB_framebuffer_no_attachments GL_VERSION_4_3"
,
glGetFramebufferParameteriv
},
{
"glGetFramebufferParameterivEXT"
,
"GL_EXT_direct_state_access"
,
glGetFramebufferParameterivEXT
},
{
"glGetFramebufferParameterivMESA"
,
"GL_MESA_framebuffer_flip_y"
,
glGetFramebufferParameterivMESA
},
{
"glGetGraphicsResetStatus"
,
"GL_KHR_robustness GL_VERSION_4_5"
,
glGetGraphicsResetStatus
},
{
"glGetGraphicsResetStatusARB"
,
"GL_ARB_robustness"
,
glGetGraphicsResetStatusARB
},
{
"glGetHandleARB"
,
"GL_ARB_shader_objects"
,
glGetHandleARB
},
...
...
@@ -20086,6 +20199,9 @@ const OpenGL_extension extension_registry[2679] = {
{
"glMulticastGetQueryObjectivNV"
,
"GL_NV_gpu_multicast"
,
glMulticastGetQueryObjectivNV
},
{
"glMulticastGetQueryObjectui64vNV"
,
"GL_NV_gpu_multicast"
,
glMulticastGetQueryObjectui64vNV
},
{
"glMulticastGetQueryObjectuivNV"
,
"GL_NV_gpu_multicast"
,
glMulticastGetQueryObjectuivNV
},
{
"glMulticastScissorArrayvNVX"
,
"GL_NVX_gpu_multicast2"
,
glMulticastScissorArrayvNVX
},
{
"glMulticastViewportArrayvNVX"
,
"GL_NVX_gpu_multicast2"
,
glMulticastViewportArrayvNVX
},
{
"glMulticastViewportPositionWScaleNVX"
,
"GL_NVX_gpu_multicast2"
,
glMulticastViewportPositionWScaleNVX
},
{
"glMulticastWaitSyncNV"
,
"GL_NV_gpu_multicast"
,
glMulticastWaitSyncNV
},
{
"glNamedBufferAttachMemoryNV"
,
"GL_NV_memory_attachment"
,
glNamedBufferAttachMemoryNV
},
{
"glNamedBufferData"
,
"GL_ARB_direct_state_access GL_VERSION_4_5"
,
glNamedBufferData
},
...
...
@@ -20574,6 +20690,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glShadingRateSampleOrderNV"
,
"GL_NV_shading_rate_image"
,
glShadingRateSampleOrderNV
},
{
"glSharpenTexFuncSGIS"
,
"GL_SGIS_sharpen_texture"
,
glSharpenTexFuncSGIS
},
{
"glSignalSemaphoreEXT"
,
"GL_EXT_semaphore"
,
glSignalSemaphoreEXT
},
{
"glSignalSemaphoreui64NVX"
,
"GL_NVX_progress_fence"
,
glSignalSemaphoreui64NVX
},
{
"glSignalVkFenceNV"
,
"GL_NV_draw_vulkan_image"
,
glSignalVkFenceNV
},
{
"glSignalVkSemaphoreNV"
,
"GL_NV_draw_vulkan_image"
,
glSignalVkSemaphoreNV
},
{
"glSpecializeShader"
,
"GL_VERSION_4_6"
,
glSpecializeShader
},
...
...
@@ -20907,6 +21024,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glUnmapObjectBufferATI"
,
"GL_ATI_map_object_buffer"
,
glUnmapObjectBufferATI
},
{
"glUnmapTexture2DINTEL"
,
"GL_INTEL_map_texture"
,
glUnmapTexture2DINTEL
},
{
"glUpdateObjectBufferATI"
,
"GL_ATI_vertex_array_object"
,
glUpdateObjectBufferATI
},
{
"glUploadGpuMaskNVX"
,
"GL_NVX_gpu_multicast2"
,
glUploadGpuMaskNVX
},
{
"glUseProgram"
,
"GL_VERSION_2_0"
,
glUseProgram
},
{
"glUseProgramObjectARB"
,
"GL_ARB_shader_objects"
,
glUseProgramObjectARB
},
{
"glUseProgramStages"
,
"GL_ARB_separate_shader_objects GL_VERSION_4_1"
,
glUseProgramStages
},
...
...
@@ -20918,6 +21036,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glVDPAUMapSurfacesNV"
,
"GL_NV_vdpau_interop"
,
glVDPAUMapSurfacesNV
},
{
"glVDPAURegisterOutputSurfaceNV"
,
"GL_NV_vdpau_interop"
,
glVDPAURegisterOutputSurfaceNV
},
{
"glVDPAURegisterVideoSurfaceNV"
,
"GL_NV_vdpau_interop"
,
glVDPAURegisterVideoSurfaceNV
},
{
"glVDPAURegisterVideoSurfaceWithPictureStructureNV"
,
"GL_NV_vdpau_interop2"
,
glVDPAURegisterVideoSurfaceWithPictureStructureNV
},
{
"glVDPAUSurfaceAccessNV"
,
"GL_NV_vdpau_interop"
,
glVDPAUSurfaceAccessNV
},
{
"glVDPAUUnmapSurfacesNV"
,
"GL_NV_vdpau_interop"
,
glVDPAUUnmapSurfacesNV
},
{
"glVDPAUUnregisterSurfaceNV"
,
"GL_NV_vdpau_interop"
,
glVDPAUUnregisterSurfaceNV
},
...
...
@@ -21266,6 +21385,7 @@ const OpenGL_extension extension_registry[2679] = {
{
"glViewportPositionWScaleNV"
,
"GL_NV_clip_space_w_scaling"
,
glViewportPositionWScaleNV
},
{
"glViewportSwizzleNV"
,
"GL_NV_viewport_swizzle"
,
glViewportSwizzleNV
},
{
"glWaitSemaphoreEXT"
,
"GL_EXT_semaphore"
,
glWaitSemaphoreEXT
},
{
"glWaitSemaphoreui64NVX"
,
"GL_NVX_progress_fence"
,
glWaitSemaphoreui64NVX
},
{
"glWaitSync"
,
"GL_ARB_sync GL_VERSION_3_2"
,
glWaitSync
},
{
"glWaitVkSemaphoreNV"
,
"GL_NV_draw_vulkan_image"
,
glWaitVkSemaphoreNV
},
{
"glWeightPathsNV"
,
"GL_NV_path_rendering"
,
glWeightPathsNV
},
...
...
dlls/opengl32/opengl_norm.c
View file @
60d79236
...
...
@@ -2711,6 +2711,8 @@ static GLboolean null_glAreProgramsResidentNV( GLsizei n, const GLuint *programs
static
GLboolean
null_glAreTexturesResidentEXT
(
GLsizei
n
,
const
GLuint
*
textures
,
GLboolean
*
residences
)
{
return
0
;
}
static
void
null_glArrayElementEXT
(
GLint
i
)
{
}
static
void
null_glArrayObjectATI
(
GLenum
array
,
GLint
size
,
GLenum
type
,
GLsizei
stride
,
GLuint
buffer
,
GLuint
offset
)
{
}
static
GLuint
null_glAsyncCopyBufferSubDataNVX
(
GLsizei
waitSemaphoreCount
,
const
GLuint
*
waitSemaphoreArray
,
const
GLuint64
*
fenceValueArray
,
GLuint
readGpu
,
GLbitfield
writeGpuMask
,
GLuint
readBuffer
,
GLuint
writeBuffer
,
GLintptr
readOffset
,
GLintptr
writeOffset
,
GLsizeiptr
size
,
GLsizei
signalSemaphoreCount
,
const
GLuint
*
signalSemaphoreArray
,
const
GLuint64
*
signalValueArray
)
{
return
0
;
}
static
GLuint
null_glAsyncCopyImageSubDataNVX
(
GLsizei
waitSemaphoreCount
,
const
GLuint
*
waitSemaphoreArray
,
const
GLuint64
*
waitValueArray
,
GLuint
srcGpu
,
GLbitfield
dstGpuMask
,
GLuint
srcName
,
GLenum
srcTarget
,
GLint
srcLevel
,
GLint
srcX
,
GLint
srcY
,
GLint
srcZ
,
GLuint
dstName
,
GLenum
dstTarget
,
GLint
dstLevel
,
GLint
dstX
,
GLint
dstY
,
GLint
dstZ
,
GLsizei
srcWidth
,
GLsizei
srcHeight
,
GLsizei
srcDepth
,
GLsizei
signalSemaphoreCount
,
const
GLuint
*
signalSemaphoreArray
,
const
GLuint64
*
signalValueArray
)
{
return
0
;
}
static
void
null_glAsyncMarkerSGIX
(
GLuint
marker
)
{
}
static
void
null_glAttachObjectARB
(
GLhandleARB
containerObj
,
GLhandleARB
obj
)
{
}
static
void
null_glAttachShader
(
GLuint
program
,
GLuint
shader
)
{
}
...
...
@@ -2865,6 +2867,7 @@ static void null_glClientActiveTexture( GLenum texture ) { }
static
void
null_glClientActiveTextureARB
(
GLenum
texture
)
{
}
static
void
null_glClientActiveVertexStreamATI
(
GLenum
stream
)
{
}
static
void
null_glClientAttribDefaultEXT
(
GLbitfield
mask
)
{
}
static
void
null_glClientWaitSemaphoreui64NVX
(
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
)
{
}
static
GLenum
null_glClientWaitSync
(
GLsync
sync
,
GLbitfield
flags
,
GLuint64
timeout
)
{
return
0
;
}
static
void
null_glClipControl
(
GLenum
origin
,
GLenum
depth
)
{
}
static
void
null_glClipPlanefOES
(
GLenum
plane
,
const
GLfloat
*
equation
)
{
}
...
...
@@ -3008,6 +3011,7 @@ static void null_glCreatePerfQueryINTEL( GLuint queryId, GLuint *queryHandle ) {
static
GLuint
null_glCreateProgram
(
void
)
{
return
0
;
}
static
GLhandleARB
null_glCreateProgramObjectARB
(
void
)
{
return
0
;
}
static
void
null_glCreateProgramPipelines
(
GLsizei
n
,
GLuint
*
pipelines
)
{
}
static
GLuint
null_glCreateProgressFenceNVX
(
void
)
{
return
0
;
}
static
void
null_glCreateQueries
(
GLenum
target
,
GLsizei
n
,
GLuint
*
ids
)
{
}
static
void
null_glCreateRenderbuffers
(
GLsizei
n
,
GLuint
*
renderbuffers
)
{
}
static
void
null_glCreateSamplers
(
GLsizei
n
,
GLuint
*
samplers
)
{
}
...
...
@@ -3076,8 +3080,10 @@ static void null_glDeleteVertexArraysAPPLE( GLsizei n, const GLuint *arrays ) {
static
void
null_glDeleteVertexShaderEXT
(
GLuint
id
)
{
}
static
void
null_glDepthBoundsEXT
(
GLclampd
zmin
,
GLclampd
zmax
)
{
}
static
void
null_glDepthBoundsdNV
(
GLdouble
zmin
,
GLdouble
zmax
)
{
}
static
void
null_glDepthRangeArraydvNV
(
GLuint
first
,
GLsizei
count
,
const
GLdouble
*
v
)
{
}
static
void
null_glDepthRangeArrayv
(
GLuint
first
,
GLsizei
count
,
const
GLdouble
*
v
)
{
}
static
void
null_glDepthRangeIndexed
(
GLuint
index
,
GLdouble
n
,
GLdouble
f
)
{
}
static
void
null_glDepthRangeIndexeddNV
(
GLuint
index
,
GLdouble
n
,
GLdouble
f
)
{
}
static
void
null_glDepthRangedNV
(
GLdouble
zNear
,
GLdouble
zFar
)
{
}
static
void
null_glDepthRangef
(
GLfloat
n
,
GLfloat
f
)
{
}
static
void
null_glDepthRangefOES
(
GLclampf
n
,
GLclampf
f
)
{
}
...
...
@@ -3233,6 +3239,7 @@ static void null_glFramebufferDrawBufferEXT( GLuint framebuffer, GLenum mode ) {
static
void
null_glFramebufferDrawBuffersEXT
(
GLuint
framebuffer
,
GLsizei
n
,
const
GLenum
*
bufs
)
{
}
static
void
null_glFramebufferFetchBarrierEXT
(
void
)
{
}
static
void
null_glFramebufferParameteri
(
GLenum
target
,
GLenum
pname
,
GLint
param
)
{
}
static
void
null_glFramebufferParameteriMESA
(
GLenum
target
,
GLenum
pname
,
GLint
param
)
{
}
static
void
null_glFramebufferReadBufferEXT
(
GLuint
framebuffer
,
GLenum
mode
)
{
}
static
void
null_glFramebufferRenderbuffer
(
GLenum
target
,
GLenum
attachment
,
GLenum
renderbuffertarget
,
GLuint
renderbuffer
)
{
}
static
void
null_glFramebufferRenderbufferEXT
(
GLenum
target
,
GLenum
attachment
,
GLenum
renderbuffertarget
,
GLuint
renderbuffer
)
{
}
...
...
@@ -3294,8 +3301,8 @@ static void null_glGenerateTextureMipmapEXT( GLuint texture, GLenum target ) { }
static
void
null_glGetActiveAtomicCounterBufferiv
(
GLuint
program
,
GLuint
bufferIndex
,
GLenum
pname
,
GLint
*
params
)
{
}
static
void
null_glGetActiveAttrib
(
GLuint
program
,
GLuint
index
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLchar
*
name
)
{
}
static
void
null_glGetActiveAttribARB
(
GLhandleARB
programObj
,
GLuint
index
,
GLsizei
maxLength
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLcharARB
*
name
)
{
}
static
void
null_glGetActiveSubroutineName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
s
ize
,
GLsizei
*
length
,
GLchar
*
name
)
{
}
static
void
null_glGetActiveSubroutineUniformName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
s
ize
,
GLsizei
*
length
,
GLchar
*
name
)
{
}
static
void
null_glGetActiveSubroutineName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
S
ize
,
GLsizei
*
length
,
GLchar
*
name
)
{
}
static
void
null_glGetActiveSubroutineUniformName
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
S
ize
,
GLsizei
*
length
,
GLchar
*
name
)
{
}
static
void
null_glGetActiveSubroutineUniformiv
(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLenum
pname
,
GLint
*
values
)
{
}
static
void
null_glGetActiveUniform
(
GLuint
program
,
GLuint
index
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLchar
*
name
)
{
}
static
void
null_glGetActiveUniformARB
(
GLhandleARB
programObj
,
GLuint
index
,
GLsizei
maxLength
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLcharARB
*
name
)
{
}
...
...
@@ -3350,9 +3357,9 @@ static void null_glGetConvolutionParameterfvEXT( GLenum target, GLenum pname, GL
static
void
null_glGetConvolutionParameteriv
(
GLenum
target
,
GLenum
pname
,
GLint
*
params
)
{
}
static
void
null_glGetConvolutionParameterivEXT
(
GLenum
target
,
GLenum
pname
,
GLint
*
params
)
{
}
static
void
null_glGetConvolutionParameterxvOES
(
GLenum
target
,
GLenum
pname
,
GLfixed
*
params
)
{
}
static
void
null_glGetCoverageModulationTableNV
(
GLsizei
buf
s
ize
,
GLfloat
*
v
)
{
}
static
void
null_glGetCoverageModulationTableNV
(
GLsizei
buf
S
ize
,
GLfloat
*
v
)
{
}
static
GLuint
null_glGetDebugMessageLog
(
GLuint
count
,
GLsizei
bufSize
,
GLenum
*
sources
,
GLenum
*
types
,
GLuint
*
ids
,
GLenum
*
severities
,
GLsizei
*
lengths
,
GLchar
*
messageLog
)
{
return
0
;
}
static
GLuint
null_glGetDebugMessageLogAMD
(
GLuint
count
,
GLsizei
buf
s
ize
,
GLenum
*
categories
,
GLuint
*
severities
,
GLuint
*
ids
,
GLsizei
*
lengths
,
GLchar
*
message
)
{
return
0
;
}
static
GLuint
null_glGetDebugMessageLogAMD
(
GLuint
count
,
GLsizei
buf
S
ize
,
GLenum
*
categories
,
GLuint
*
severities
,
GLuint
*
ids
,
GLsizei
*
lengths
,
GLchar
*
message
)
{
return
0
;
}
static
GLuint
null_glGetDebugMessageLogARB
(
GLuint
count
,
GLsizei
bufSize
,
GLenum
*
sources
,
GLenum
*
types
,
GLuint
*
ids
,
GLenum
*
severities
,
GLsizei
*
lengths
,
GLchar
*
messageLog
)
{
return
0
;
}
static
void
null_glGetDetailTexFuncSGIS
(
GLenum
target
,
GLfloat
*
points
)
{
}
static
void
null_glGetDoubleIndexedvEXT
(
GLenum
target
,
GLuint
index
,
GLdouble
*
data
)
{
}
...
...
@@ -3379,6 +3386,7 @@ static void null_glGetFramebufferAttachmentParameterivEXT( GLenum target, GLenum
static
void
null_glGetFramebufferParameterfvAMD
(
GLenum
target
,
GLenum
pname
,
GLuint
numsamples
,
GLuint
pixelindex
,
GLsizei
size
,
GLfloat
*
values
)
{
}
static
void
null_glGetFramebufferParameteriv
(
GLenum
target
,
GLenum
pname
,
GLint
*
params
)
{
}
static
void
null_glGetFramebufferParameterivEXT
(
GLuint
framebuffer
,
GLenum
pname
,
GLint
*
params
)
{
}
static
void
null_glGetFramebufferParameterivMESA
(
GLenum
target
,
GLenum
pname
,
GLint
*
params
)
{
}
static
GLenum
null_glGetGraphicsResetStatus
(
void
)
{
return
0
;
}
static
GLenum
null_glGetGraphicsResetStatusARB
(
void
)
{
return
0
;
}
static
GLhandleARB
null_glGetHandleARB
(
GLenum
pname
)
{
return
0
;
}
...
...
@@ -3401,9 +3409,9 @@ static void null_glGetIntegerIndexedvEXT( GLenum target, GLuint index, GLint *da
static
void
null_glGetIntegeri_v
(
GLenum
target
,
GLuint
index
,
GLint
*
data
)
{
}
static
void
null_glGetIntegerui64i_vNV
(
GLenum
value
,
GLuint
index
,
GLuint64EXT
*
result
)
{
}
static
void
null_glGetIntegerui64vNV
(
GLenum
value
,
GLuint64EXT
*
result
)
{
}
static
void
null_glGetInternalformatSampleivNV
(
GLenum
target
,
GLenum
internalformat
,
GLsizei
samples
,
GLenum
pname
,
GLsizei
bufSize
,
GLint
*
params
)
{
}
static
void
null_glGetInternalformati64v
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
bufSize
,
GLint64
*
params
)
{
}
static
void
null_glGetInternalformativ
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
bufSize
,
GLint
*
params
)
{
}
static
void
null_glGetInternalformatSampleivNV
(
GLenum
target
,
GLenum
internalformat
,
GLsizei
samples
,
GLenum
pname
,
GLsizei
count
,
GLint
*
params
)
{
}
static
void
null_glGetInternalformati64v
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
count
,
GLint64
*
params
)
{
}
static
void
null_glGetInternalformativ
(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
count
,
GLint
*
params
)
{
}
static
void
null_glGetInvariantBooleanvEXT
(
GLuint
id
,
GLenum
value
,
GLboolean
*
data
)
{
}
static
void
null_glGetInvariantFloatvEXT
(
GLuint
id
,
GLenum
value
,
GLfloat
*
data
)
{
}
static
void
null_glGetInvariantIntegervEXT
(
GLuint
id
,
GLenum
value
,
GLint
*
data
)
{
}
...
...
@@ -3528,8 +3536,8 @@ static GLuint null_glGetProgramResourceIndex( GLuint program, GLenum programInte
static
GLint
null_glGetProgramResourceLocation
(
GLuint
program
,
GLenum
programInterface
,
const
GLchar
*
name
)
{
return
0
;
}
static
GLint
null_glGetProgramResourceLocationIndex
(
GLuint
program
,
GLenum
programInterface
,
const
GLchar
*
name
)
{
return
0
;
}
static
void
null_glGetProgramResourceName
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLchar
*
name
)
{
}
static
void
null_glGetProgramResourcefvNV
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLfloat
*
params
)
{
}
static
void
null_glGetProgramResourceiv
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
params
)
{
}
static
void
null_glGetProgramResourcefvNV
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
count
,
GLsizei
*
length
,
GLfloat
*
params
)
{
}
static
void
null_glGetProgramResourceiv
(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
params
)
{
}
static
void
null_glGetProgramStageiv
(
GLuint
program
,
GLenum
shadertype
,
GLenum
pname
,
GLint
*
values
)
{
}
static
void
null_glGetProgramStringARB
(
GLenum
target
,
GLenum
pname
,
void
*
string
)
{
}
static
void
null_glGetProgramStringNV
(
GLuint
id
,
GLenum
pname
,
GLubyte
*
program
)
{
}
...
...
@@ -3573,7 +3581,7 @@ static GLushort null_glGetStageIndexNV( GLenum shadertype ) { return 0; }
static
const
GLubyte
*
null_glGetStringi
(
GLenum
name
,
GLuint
index
)
{
return
0
;
}
static
GLuint
null_glGetSubroutineIndex
(
GLuint
program
,
GLenum
shadertype
,
const
GLchar
*
name
)
{
return
0
;
}
static
GLint
null_glGetSubroutineUniformLocation
(
GLuint
program
,
GLenum
shadertype
,
const
GLchar
*
name
)
{
return
0
;
}
static
void
null_glGetSynciv
(
GLsync
sync
,
GLenum
pname
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
values
)
{
}
static
void
null_glGetSynciv
(
GLsync
sync
,
GLenum
pname
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
values
)
{
}
static
void
null_glGetTexBumpParameterfvATI
(
GLenum
pname
,
GLfloat
*
param
)
{
}
static
void
null_glGetTexBumpParameterivATI
(
GLenum
pname
,
GLint
*
param
)
{
}
static
void
null_glGetTexEnvxvOES
(
GLenum
target
,
GLenum
pname
,
GLfixed
*
params
)
{
}
...
...
@@ -4096,6 +4104,9 @@ static void null_glMulticastGetQueryObjecti64vNV( GLuint gpu, GLuint id, GLenum
static
void
null_glMulticastGetQueryObjectivNV
(
GLuint
gpu
,
GLuint
id
,
GLenum
pname
,
GLint
*
params
)
{
}
static
void
null_glMulticastGetQueryObjectui64vNV
(
GLuint
gpu
,
GLuint
id
,
GLenum
pname
,
GLuint64
*
params
)
{
}
static
void
null_glMulticastGetQueryObjectuivNV
(
GLuint
gpu
,
GLuint
id
,
GLenum
pname
,
GLuint
*
params
)
{
}
static
void
null_glMulticastScissorArrayvNVX
(
GLuint
gpu
,
GLuint
first
,
GLsizei
count
,
const
GLint
*
v
)
{
}
static
void
null_glMulticastViewportArrayvNVX
(
GLuint
gpu
,
GLuint
first
,
GLsizei
count
,
const
GLfloat
*
v
)
{
}
static
void
null_glMulticastViewportPositionWScaleNVX
(
GLuint
gpu
,
GLuint
index
,
GLfloat
xcoeff
,
GLfloat
ycoeff
)
{
}
static
void
null_glMulticastWaitSyncNV
(
GLuint
signalGpu
,
GLbitfield
waitGpuMask
)
{
}
static
void
null_glNamedBufferAttachMemoryNV
(
GLuint
buffer
,
GLuint
memory
,
GLuint64
offset
)
{
}
static
void
null_glNamedBufferData
(
GLuint
buffer
,
GLsizeiptr
size
,
const
void
*
data
,
GLenum
usage
)
{
}
...
...
@@ -4439,7 +4450,7 @@ static void null_glPushGroupMarkerEXT( GLsizei length, const GLchar *marker ) {
static
void
null_glQueryCounter
(
GLuint
id
,
GLenum
target
)
{
}
static
GLbitfield
null_glQueryMatrixxOES
(
GLfixed
*
mantissa
,
GLint
*
exponent
)
{
return
0
;
}
static
void
null_glQueryObjectParameteruiAMD
(
GLenum
target
,
GLuint
id
,
GLenum
pname
,
GLuint
param
)
{
}
static
GLint
null_glQueryResourceNV
(
GLenum
queryType
,
GLint
tagId
,
GLuint
bufSize
,
GLint
*
buffer
)
{
return
0
;
}
static
GLint
null_glQueryResourceNV
(
GLenum
queryType
,
GLint
tagId
,
GLuint
count
,
GLint
*
buffer
)
{
return
0
;
}
static
void
null_glQueryResourceTagNV
(
GLint
tagId
,
const
GLchar
*
tagString
)
{
}
static
void
null_glRasterPos2xOES
(
GLfixed
x
,
GLfixed
y
)
{
}
static
void
null_glRasterPos2xvOES
(
const
GLfixed
*
coords
)
{
}
...
...
@@ -4584,6 +4595,7 @@ static void null_glShadingRateSampleOrderCustomNV( GLenum rate, GLuint samples,
static
void
null_glShadingRateSampleOrderNV
(
GLenum
order
)
{
}
static
void
null_glSharpenTexFuncSGIS
(
GLenum
target
,
GLsizei
n
,
const
GLfloat
*
points
)
{
}
static
void
null_glSignalSemaphoreEXT
(
GLuint
semaphore
,
GLuint
numBufferBarriers
,
const
GLuint
*
buffers
,
GLuint
numTextureBarriers
,
const
GLuint
*
textures
,
const
GLenum
*
dstLayouts
)
{
}
static
void
null_glSignalSemaphoreui64NVX
(
GLuint
signalGpu
,
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
)
{
}
static
void
null_glSignalVkFenceNV
(
GLuint64
vkFence
)
{
}
static
void
null_glSignalVkSemaphoreNV
(
GLuint64
vkSemaphore
)
{
}
static
void
null_glSpecializeShader
(
GLuint
shader
,
const
GLchar
*
pEntryPoint
,
GLuint
numSpecializationConstants
,
const
GLuint
*
pConstantIndex
,
const
GLuint
*
pConstantValue
)
{
}
...
...
@@ -4917,17 +4929,19 @@ static GLboolean null_glUnmapNamedBufferEXT( GLuint buffer ) { return 0; }
static
void
null_glUnmapObjectBufferATI
(
GLuint
buffer
)
{
}
static
void
null_glUnmapTexture2DINTEL
(
GLuint
texture
,
GLint
level
)
{
}
static
void
null_glUpdateObjectBufferATI
(
GLuint
buffer
,
GLuint
offset
,
GLsizei
size
,
const
void
*
pointer
,
GLenum
preserve
)
{
}
static
void
null_glUploadGpuMaskNVX
(
GLbitfield
mask
)
{
}
static
void
null_glUseProgram
(
GLuint
program
)
{
}
static
void
null_glUseProgramObjectARB
(
GLhandleARB
programObj
)
{
}
static
void
null_glUseProgramStages
(
GLuint
pipeline
,
GLbitfield
stages
,
GLuint
program
)
{
}
static
void
null_glUseShaderProgramEXT
(
GLenum
type
,
GLuint
program
)
{
}
static
void
null_glVDPAUFiniNV
(
void
)
{
}
static
void
null_glVDPAUGetSurfaceivNV
(
GLvdpauSurfaceNV
surface
,
GLenum
pname
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
values
)
{
}
static
void
null_glVDPAUGetSurfaceivNV
(
GLvdpauSurfaceNV
surface
,
GLenum
pname
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
values
)
{
}
static
void
null_glVDPAUInitNV
(
const
void
*
vdpDevice
,
const
void
*
getProcAddress
)
{
}
static
GLboolean
null_glVDPAUIsSurfaceNV
(
GLvdpauSurfaceNV
surface
)
{
return
0
;
}
static
void
null_glVDPAUMapSurfacesNV
(
GLsizei
numSurfaces
,
const
GLvdpauSurfaceNV
*
surfaces
)
{
}
static
GLvdpauSurfaceNV
null_glVDPAURegisterOutputSurfaceNV
(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
)
{
return
0
;
}
static
GLvdpauSurfaceNV
null_glVDPAURegisterVideoSurfaceNV
(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
)
{
return
0
;
}
static
GLvdpauSurfaceNV
null_glVDPAURegisterVideoSurfaceWithPictureStructureNV
(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
,
GLboolean
isFrameStructure
)
{
return
0
;
}
static
void
null_glVDPAUSurfaceAccessNV
(
GLvdpauSurfaceNV
surface
,
GLenum
access
)
{
}
static
void
null_glVDPAUUnmapSurfacesNV
(
GLsizei
numSurface
,
const
GLvdpauSurfaceNV
*
surfaces
)
{
}
static
void
null_glVDPAUUnregisterSurfaceNV
(
GLvdpauSurfaceNV
surface
)
{
}
...
...
@@ -5276,6 +5290,7 @@ static void null_glViewportIndexedfv( GLuint index, const GLfloat *v ) { }
static
void
null_glViewportPositionWScaleNV
(
GLuint
index
,
GLfloat
xcoeff
,
GLfloat
ycoeff
)
{
}
static
void
null_glViewportSwizzleNV
(
GLuint
index
,
GLenum
swizzlex
,
GLenum
swizzley
,
GLenum
swizzlez
,
GLenum
swizzlew
)
{
}
static
void
null_glWaitSemaphoreEXT
(
GLuint
semaphore
,
GLuint
numBufferBarriers
,
const
GLuint
*
buffers
,
GLuint
numTextureBarriers
,
const
GLuint
*
textures
,
const
GLenum
*
srcLayouts
)
{
}
static
void
null_glWaitSemaphoreui64NVX
(
GLuint
waitGpu
,
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
)
{
}
static
void
null_glWaitSync
(
GLsync
sync
,
GLbitfield
flags
,
GLuint64
timeout
)
{
}
static
void
null_glWaitVkSemaphoreNV
(
GLuint64
vkSemaphore
)
{
}
static
void
null_glWeightPathsNV
(
GLuint
resultPath
,
GLsizei
numPaths
,
const
GLuint
*
paths
,
const
GLfloat
*
weights
)
{
}
...
...
@@ -5744,6 +5759,8 @@ struct opengl_funcs null_opengl_funcs =
null_glAreTexturesResidentEXT
,
null_glArrayElementEXT
,
null_glArrayObjectATI
,
null_glAsyncCopyBufferSubDataNVX
,
null_glAsyncCopyImageSubDataNVX
,
null_glAsyncMarkerSGIX
,
null_glAttachObjectARB
,
null_glAttachShader
,
...
...
@@ -5898,6 +5915,7 @@ struct opengl_funcs null_opengl_funcs =
null_glClientActiveTextureARB
,
null_glClientActiveVertexStreamATI
,
null_glClientAttribDefaultEXT
,
null_glClientWaitSemaphoreui64NVX
,
null_glClientWaitSync
,
null_glClipControl
,
null_glClipPlanefOES
,
...
...
@@ -6041,6 +6059,7 @@ struct opengl_funcs null_opengl_funcs =
null_glCreateProgram
,
null_glCreateProgramObjectARB
,
null_glCreateProgramPipelines
,
null_glCreateProgressFenceNVX
,
null_glCreateQueries
,
null_glCreateRenderbuffers
,
null_glCreateSamplers
,
...
...
@@ -6109,8 +6128,10 @@ struct opengl_funcs null_opengl_funcs =
null_glDeleteVertexShaderEXT
,
null_glDepthBoundsEXT
,
null_glDepthBoundsdNV
,
null_glDepthRangeArraydvNV
,
null_glDepthRangeArrayv
,
null_glDepthRangeIndexed
,
null_glDepthRangeIndexeddNV
,
null_glDepthRangedNV
,
null_glDepthRangef
,
null_glDepthRangefOES
,
...
...
@@ -6266,6 +6287,7 @@ struct opengl_funcs null_opengl_funcs =
null_glFramebufferDrawBuffersEXT
,
null_glFramebufferFetchBarrierEXT
,
null_glFramebufferParameteri
,
null_glFramebufferParameteriMESA
,
null_glFramebufferReadBufferEXT
,
null_glFramebufferRenderbuffer
,
null_glFramebufferRenderbufferEXT
,
...
...
@@ -6412,6 +6434,7 @@ struct opengl_funcs null_opengl_funcs =
null_glGetFramebufferParameterfvAMD
,
null_glGetFramebufferParameteriv
,
null_glGetFramebufferParameterivEXT
,
null_glGetFramebufferParameterivMESA
,
null_glGetGraphicsResetStatus
,
null_glGetGraphicsResetStatusARB
,
null_glGetHandleARB
,
...
...
@@ -7129,6 +7152,9 @@ struct opengl_funcs null_opengl_funcs =
null_glMulticastGetQueryObjectivNV
,
null_glMulticastGetQueryObjectui64vNV
,
null_glMulticastGetQueryObjectuivNV
,
null_glMulticastScissorArrayvNVX
,
null_glMulticastViewportArrayvNVX
,
null_glMulticastViewportPositionWScaleNVX
,
null_glMulticastWaitSyncNV
,
null_glNamedBufferAttachMemoryNV
,
null_glNamedBufferData
,
...
...
@@ -7617,6 +7643,7 @@ struct opengl_funcs null_opengl_funcs =
null_glShadingRateSampleOrderNV
,
null_glSharpenTexFuncSGIS
,
null_glSignalSemaphoreEXT
,
null_glSignalSemaphoreui64NVX
,
null_glSignalVkFenceNV
,
null_glSignalVkSemaphoreNV
,
null_glSpecializeShader
,
...
...
@@ -7950,6 +7977,7 @@ struct opengl_funcs null_opengl_funcs =
null_glUnmapObjectBufferATI
,
null_glUnmapTexture2DINTEL
,
null_glUpdateObjectBufferATI
,
null_glUploadGpuMaskNVX
,
null_glUseProgram
,
null_glUseProgramObjectARB
,
null_glUseProgramStages
,
...
...
@@ -7961,6 +7989,7 @@ struct opengl_funcs null_opengl_funcs =
null_glVDPAUMapSurfacesNV
,
null_glVDPAURegisterOutputSurfaceNV
,
null_glVDPAURegisterVideoSurfaceNV
,
null_glVDPAURegisterVideoSurfaceWithPictureStructureNV
,
null_glVDPAUSurfaceAccessNV
,
null_glVDPAUUnmapSurfacesNV
,
null_glVDPAUUnregisterSurfaceNV
,
...
...
@@ -8309,6 +8338,7 @@ struct opengl_funcs null_opengl_funcs =
null_glViewportPositionWScaleNV
,
null_glViewportSwizzleNV
,
null_glWaitSemaphoreEXT
,
null_glWaitSemaphoreui64NVX
,
null_glWaitSync
,
null_glWaitVkSemaphoreNV
,
null_glWeightPathsNV
,
...
...
include/wine/wgl.h
View file @
60d79236
...
...
@@ -12,12 +12,12 @@ typedef unsigned char GLboolean;
typedef
unsigned
int
GLbitfield
;
typedef
void
GLvoid
;
typedef
signed
char
GLbyte
;
typedef
short
GLshort
;
typedef
int
GLint
;
typedef
int
GLclampx
;
typedef
unsigned
char
GLubyte
;
typedef
short
GLshort
;
typedef
unsigned
short
GLushort
;
typedef
int
GLint
;
typedef
unsigned
int
GLuint
;
typedef
int
GLclampx
;
typedef
int
GLsizei
;
typedef
float
GLfloat
;
typedef
float
GLclampf
;
...
...
@@ -27,16 +27,16 @@ typedef void *GLeglClientBufferEXT;
typedef
void
*
GLeglImageOES
;
typedef
char
GLchar
;
typedef
char
GLcharARB
;
typedef
unsigned
short
GLhalfARB
;
typedef
unsigned
short
GLhalf
;
typedef
GLint
GLfixed
;
typedef
unsigned
short
GLhalfARB
;
typedef
int
GLfixed
;
typedef
INT_PTR
GLintptr
;
typedef
INT_PTR
GLsizeiptr
;
typedef
INT64
GLint64
;
typedef
UINT64
GLuint64
;
typedef
INT_PTR
GLintptrARB
;
typedef
INT_PTR
GLsizeiptr
;
typedef
INT_PTR
GLsizeiptrARB
;
typedef
INT64
GLint64
;
typedef
INT64
GLint64EXT
;
typedef
UINT64
GLuint64
;
typedef
UINT64
GLuint64EXT
;
typedef
struct
__GLsync
*
GLsync
;
struct
_cl_context
;
...
...
@@ -1497,6 +1497,7 @@ typedef unsigned int GLhandleARB;
#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
#define GL_FRAMEBUFFER_EXT 0x8D40
#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
...
...
@@ -3994,6 +3995,7 @@ typedef unsigned int GLhandleARB;
#define GL_SPRITE_SGIX 0x8148
#define GL_SPRITE_TRANSLATION_SGIX 0x814B
#define GL_SQUARE_NV 0x90A3
#define GL_SR8_EXT 0x8FBD
#define GL_SRC0_ALPHA 0x8588
#define GL_SRC0_RGB 0x8580
#define GL_SRC1_ALPHA 0x8589
...
...
@@ -4092,6 +4094,19 @@ typedef unsigned int GLhandleARB;
#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
#define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
#define GL_SUBGROUP_SIZE_KHR 0x9532
#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
#define GL_SUBPIXEL_BITS 0x0D50
#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
...
...
@@ -4779,6 +4794,7 @@ typedef unsigned int GLhandleARB;
#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
#define GL_UPLOAD_GPU_MASK_NVX 0x954A
#define GL_UPPER_LEFT 0x8CA2
#define GL_USE_MISSING_GLYPH_NV 0x90AA
#define GL_UTF16_NV 0x909B
...
...
@@ -4995,8 +5011,27 @@ typedef unsigned int GLhandleARB;
#define GL_VIEW_CLASS_64_BITS 0x82C6
#define GL_VIEW_CLASS_8_BITS 0x82CB
#define GL_VIEW_CLASS_96_BITS 0x82C5
#define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
#define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
#define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
#define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
#define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
#define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
#define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
#define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
#define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
#define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
#define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
#define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
#define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
#define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
#define GL_VIEW_CLASS_EAC_R11 0x9383
#define GL_VIEW_CLASS_EAC_RG11 0x9384
#define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
#define GL_VIEW_CLASS_ETC2_RGB 0x9385
#define GL_VIEW_CLASS_ETC2_RGBA 0x9386
#define GL_VIEW_CLASS_RGTC1_RED 0x82D0
#define GL_VIEW_CLASS_RGTC2_RG 0x82D1
#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
...
...
include/wine/wgl_driver.h
View file @
60d79236
...
...
@@ -7,7 +7,7 @@
#define WINE_GLAPI
#endif
#define WINE_WGL_DRIVER_VERSION
19
#define WINE_WGL_DRIVER_VERSION
20
struct
wgl_context
;
struct
wgl_pbuffer
;
...
...
@@ -389,6 +389,8 @@ struct opengl_funcs
GLboolean
(
WINE_GLAPI
*
p_glAreTexturesResidentEXT
)(
GLsizei
n
,
const
GLuint
*
textures
,
GLboolean
*
residences
);
void
(
WINE_GLAPI
*
p_glArrayElementEXT
)(
GLint
i
);
void
(
WINE_GLAPI
*
p_glArrayObjectATI
)(
GLenum
array
,
GLint
size
,
GLenum
type
,
GLsizei
stride
,
GLuint
buffer
,
GLuint
offset
);
GLuint
(
WINE_GLAPI
*
p_glAsyncCopyBufferSubDataNVX
)(
GLsizei
waitSemaphoreCount
,
const
GLuint
*
waitSemaphoreArray
,
const
GLuint64
*
fenceValueArray
,
GLuint
readGpu
,
GLbitfield
writeGpuMask
,
GLuint
readBuffer
,
GLuint
writeBuffer
,
GLintptr
readOffset
,
GLintptr
writeOffset
,
GLsizeiptr
size
,
GLsizei
signalSemaphoreCount
,
const
GLuint
*
signalSemaphoreArray
,
const
GLuint64
*
signalValueArray
);
GLuint
(
WINE_GLAPI
*
p_glAsyncCopyImageSubDataNVX
)(
GLsizei
waitSemaphoreCount
,
const
GLuint
*
waitSemaphoreArray
,
const
GLuint64
*
waitValueArray
,
GLuint
srcGpu
,
GLbitfield
dstGpuMask
,
GLuint
srcName
,
GLenum
srcTarget
,
GLint
srcLevel
,
GLint
srcX
,
GLint
srcY
,
GLint
srcZ
,
GLuint
dstName
,
GLenum
dstTarget
,
GLint
dstLevel
,
GLint
dstX
,
GLint
dstY
,
GLint
dstZ
,
GLsizei
srcWidth
,
GLsizei
srcHeight
,
GLsizei
srcDepth
,
GLsizei
signalSemaphoreCount
,
const
GLuint
*
signalSemaphoreArray
,
const
GLuint64
*
signalValueArray
);
void
(
WINE_GLAPI
*
p_glAsyncMarkerSGIX
)(
GLuint
marker
);
void
(
WINE_GLAPI
*
p_glAttachObjectARB
)(
GLhandleARB
containerObj
,
GLhandleARB
obj
);
void
(
WINE_GLAPI
*
p_glAttachShader
)(
GLuint
program
,
GLuint
shader
);
...
...
@@ -543,6 +545,7 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glClientActiveTextureARB
)(
GLenum
texture
);
void
(
WINE_GLAPI
*
p_glClientActiveVertexStreamATI
)(
GLenum
stream
);
void
(
WINE_GLAPI
*
p_glClientAttribDefaultEXT
)(
GLbitfield
mask
);
void
(
WINE_GLAPI
*
p_glClientWaitSemaphoreui64NVX
)(
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
);
GLenum
(
WINE_GLAPI
*
p_glClientWaitSync
)(
GLsync
sync
,
GLbitfield
flags
,
GLuint64
timeout
);
void
(
WINE_GLAPI
*
p_glClipControl
)(
GLenum
origin
,
GLenum
depth
);
void
(
WINE_GLAPI
*
p_glClipPlanefOES
)(
GLenum
plane
,
const
GLfloat
*
equation
);
...
...
@@ -686,6 +689,7 @@ struct opengl_funcs
GLuint
(
WINE_GLAPI
*
p_glCreateProgram
)(
void
);
GLhandleARB
(
WINE_GLAPI
*
p_glCreateProgramObjectARB
)(
void
);
void
(
WINE_GLAPI
*
p_glCreateProgramPipelines
)(
GLsizei
n
,
GLuint
*
pipelines
);
GLuint
(
WINE_GLAPI
*
p_glCreateProgressFenceNVX
)(
void
);
void
(
WINE_GLAPI
*
p_glCreateQueries
)(
GLenum
target
,
GLsizei
n
,
GLuint
*
ids
);
void
(
WINE_GLAPI
*
p_glCreateRenderbuffers
)(
GLsizei
n
,
GLuint
*
renderbuffers
);
void
(
WINE_GLAPI
*
p_glCreateSamplers
)(
GLsizei
n
,
GLuint
*
samplers
);
...
...
@@ -754,8 +758,10 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glDeleteVertexShaderEXT
)(
GLuint
id
);
void
(
WINE_GLAPI
*
p_glDepthBoundsEXT
)(
GLclampd
zmin
,
GLclampd
zmax
);
void
(
WINE_GLAPI
*
p_glDepthBoundsdNV
)(
GLdouble
zmin
,
GLdouble
zmax
);
void
(
WINE_GLAPI
*
p_glDepthRangeArraydvNV
)(
GLuint
first
,
GLsizei
count
,
const
GLdouble
*
v
);
void
(
WINE_GLAPI
*
p_glDepthRangeArrayv
)(
GLuint
first
,
GLsizei
count
,
const
GLdouble
*
v
);
void
(
WINE_GLAPI
*
p_glDepthRangeIndexed
)(
GLuint
index
,
GLdouble
n
,
GLdouble
f
);
void
(
WINE_GLAPI
*
p_glDepthRangeIndexeddNV
)(
GLuint
index
,
GLdouble
n
,
GLdouble
f
);
void
(
WINE_GLAPI
*
p_glDepthRangedNV
)(
GLdouble
zNear
,
GLdouble
zFar
);
void
(
WINE_GLAPI
*
p_glDepthRangef
)(
GLfloat
n
,
GLfloat
f
);
void
(
WINE_GLAPI
*
p_glDepthRangefOES
)(
GLclampf
n
,
GLclampf
f
);
...
...
@@ -911,6 +917,7 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glFramebufferDrawBuffersEXT
)(
GLuint
framebuffer
,
GLsizei
n
,
const
GLenum
*
bufs
);
void
(
WINE_GLAPI
*
p_glFramebufferFetchBarrierEXT
)(
void
);
void
(
WINE_GLAPI
*
p_glFramebufferParameteri
)(
GLenum
target
,
GLenum
pname
,
GLint
param
);
void
(
WINE_GLAPI
*
p_glFramebufferParameteriMESA
)(
GLenum
target
,
GLenum
pname
,
GLint
param
);
void
(
WINE_GLAPI
*
p_glFramebufferReadBufferEXT
)(
GLuint
framebuffer
,
GLenum
mode
);
void
(
WINE_GLAPI
*
p_glFramebufferRenderbuffer
)(
GLenum
target
,
GLenum
attachment
,
GLenum
renderbuffertarget
,
GLuint
renderbuffer
);
void
(
WINE_GLAPI
*
p_glFramebufferRenderbufferEXT
)(
GLenum
target
,
GLenum
attachment
,
GLenum
renderbuffertarget
,
GLuint
renderbuffer
);
...
...
@@ -972,8 +979,8 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glGetActiveAtomicCounterBufferiv
)(
GLuint
program
,
GLuint
bufferIndex
,
GLenum
pname
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetActiveAttrib
)(
GLuint
program
,
GLuint
index
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveAttribARB
)(
GLhandleARB
programObj
,
GLuint
index
,
GLsizei
maxLength
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLcharARB
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveSubroutineName
)(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
s
ize
,
GLsizei
*
length
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveSubroutineUniformName
)(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
s
ize
,
GLsizei
*
length
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveSubroutineName
)(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
S
ize
,
GLsizei
*
length
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveSubroutineUniformName
)(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLsizei
buf
S
ize
,
GLsizei
*
length
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveSubroutineUniformiv
)(
GLuint
program
,
GLenum
shadertype
,
GLuint
index
,
GLenum
pname
,
GLint
*
values
);
void
(
WINE_GLAPI
*
p_glGetActiveUniform
)(
GLuint
program
,
GLuint
index
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetActiveUniformARB
)(
GLhandleARB
programObj
,
GLuint
index
,
GLsizei
maxLength
,
GLsizei
*
length
,
GLint
*
size
,
GLenum
*
type
,
GLcharARB
*
name
);
...
...
@@ -1028,9 +1035,9 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glGetConvolutionParameteriv
)(
GLenum
target
,
GLenum
pname
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetConvolutionParameterivEXT
)(
GLenum
target
,
GLenum
pname
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetConvolutionParameterxvOES
)(
GLenum
target
,
GLenum
pname
,
GLfixed
*
params
);
void
(
WINE_GLAPI
*
p_glGetCoverageModulationTableNV
)(
GLsizei
buf
s
ize
,
GLfloat
*
v
);
void
(
WINE_GLAPI
*
p_glGetCoverageModulationTableNV
)(
GLsizei
buf
S
ize
,
GLfloat
*
v
);
GLuint
(
WINE_GLAPI
*
p_glGetDebugMessageLog
)(
GLuint
count
,
GLsizei
bufSize
,
GLenum
*
sources
,
GLenum
*
types
,
GLuint
*
ids
,
GLenum
*
severities
,
GLsizei
*
lengths
,
GLchar
*
messageLog
);
GLuint
(
WINE_GLAPI
*
p_glGetDebugMessageLogAMD
)(
GLuint
count
,
GLsizei
buf
s
ize
,
GLenum
*
categories
,
GLuint
*
severities
,
GLuint
*
ids
,
GLsizei
*
lengths
,
GLchar
*
message
);
GLuint
(
WINE_GLAPI
*
p_glGetDebugMessageLogAMD
)(
GLuint
count
,
GLsizei
buf
S
ize
,
GLenum
*
categories
,
GLuint
*
severities
,
GLuint
*
ids
,
GLsizei
*
lengths
,
GLchar
*
message
);
GLuint
(
WINE_GLAPI
*
p_glGetDebugMessageLogARB
)(
GLuint
count
,
GLsizei
bufSize
,
GLenum
*
sources
,
GLenum
*
types
,
GLuint
*
ids
,
GLenum
*
severities
,
GLsizei
*
lengths
,
GLchar
*
messageLog
);
void
(
WINE_GLAPI
*
p_glGetDetailTexFuncSGIS
)(
GLenum
target
,
GLfloat
*
points
);
void
(
WINE_GLAPI
*
p_glGetDoubleIndexedvEXT
)(
GLenum
target
,
GLuint
index
,
GLdouble
*
data
);
...
...
@@ -1057,6 +1064,7 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glGetFramebufferParameterfvAMD
)(
GLenum
target
,
GLenum
pname
,
GLuint
numsamples
,
GLuint
pixelindex
,
GLsizei
size
,
GLfloat
*
values
);
void
(
WINE_GLAPI
*
p_glGetFramebufferParameteriv
)(
GLenum
target
,
GLenum
pname
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetFramebufferParameterivEXT
)(
GLuint
framebuffer
,
GLenum
pname
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetFramebufferParameterivMESA
)(
GLenum
target
,
GLenum
pname
,
GLint
*
params
);
GLenum
(
WINE_GLAPI
*
p_glGetGraphicsResetStatus
)(
void
);
GLenum
(
WINE_GLAPI
*
p_glGetGraphicsResetStatusARB
)(
void
);
GLhandleARB
(
WINE_GLAPI
*
p_glGetHandleARB
)(
GLenum
pname
);
...
...
@@ -1079,9 +1087,9 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glGetIntegeri_v
)(
GLenum
target
,
GLuint
index
,
GLint
*
data
);
void
(
WINE_GLAPI
*
p_glGetIntegerui64i_vNV
)(
GLenum
value
,
GLuint
index
,
GLuint64EXT
*
result
);
void
(
WINE_GLAPI
*
p_glGetIntegerui64vNV
)(
GLenum
value
,
GLuint64EXT
*
result
);
void
(
WINE_GLAPI
*
p_glGetInternalformatSampleivNV
)(
GLenum
target
,
GLenum
internalformat
,
GLsizei
samples
,
GLenum
pname
,
GLsizei
bufSize
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetInternalformati64v
)(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
bufSize
,
GLint64
*
params
);
void
(
WINE_GLAPI
*
p_glGetInternalformativ
)(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
bufSize
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetInternalformatSampleivNV
)(
GLenum
target
,
GLenum
internalformat
,
GLsizei
samples
,
GLenum
pname
,
GLsizei
count
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetInternalformati64v
)(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
count
,
GLint64
*
params
);
void
(
WINE_GLAPI
*
p_glGetInternalformativ
)(
GLenum
target
,
GLenum
internalformat
,
GLenum
pname
,
GLsizei
count
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetInvariantBooleanvEXT
)(
GLuint
id
,
GLenum
value
,
GLboolean
*
data
);
void
(
WINE_GLAPI
*
p_glGetInvariantFloatvEXT
)(
GLuint
id
,
GLenum
value
,
GLfloat
*
data
);
void
(
WINE_GLAPI
*
p_glGetInvariantIntegervEXT
)(
GLuint
id
,
GLenum
value
,
GLint
*
data
);
...
...
@@ -1206,8 +1214,8 @@ struct opengl_funcs
GLint
(
WINE_GLAPI
*
p_glGetProgramResourceLocation
)(
GLuint
program
,
GLenum
programInterface
,
const
GLchar
*
name
);
GLint
(
WINE_GLAPI
*
p_glGetProgramResourceLocationIndex
)(
GLuint
program
,
GLenum
programInterface
,
const
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetProgramResourceName
)(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetProgramResourcefvNV
)(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLfloat
*
params
);
void
(
WINE_GLAPI
*
p_glGetProgramResourceiv
)(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetProgramResourcefvNV
)(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
count
,
GLsizei
*
length
,
GLfloat
*
params
);
void
(
WINE_GLAPI
*
p_glGetProgramResourceiv
)(
GLuint
program
,
GLenum
programInterface
,
GLuint
index
,
GLsizei
propCount
,
const
GLenum
*
props
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glGetProgramStageiv
)(
GLuint
program
,
GLenum
shadertype
,
GLenum
pname
,
GLint
*
values
);
void
(
WINE_GLAPI
*
p_glGetProgramStringARB
)(
GLenum
target
,
GLenum
pname
,
void
*
string
);
void
(
WINE_GLAPI
*
p_glGetProgramStringNV
)(
GLuint
id
,
GLenum
pname
,
GLubyte
*
program
);
...
...
@@ -1251,7 +1259,7 @@ struct opengl_funcs
const
GLubyte
*
(
WINE_GLAPI
*
p_glGetStringi
)(
GLenum
name
,
GLuint
index
);
GLuint
(
WINE_GLAPI
*
p_glGetSubroutineIndex
)(
GLuint
program
,
GLenum
shadertype
,
const
GLchar
*
name
);
GLint
(
WINE_GLAPI
*
p_glGetSubroutineUniformLocation
)(
GLuint
program
,
GLenum
shadertype
,
const
GLchar
*
name
);
void
(
WINE_GLAPI
*
p_glGetSynciv
)(
GLsync
sync
,
GLenum
pname
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
values
);
void
(
WINE_GLAPI
*
p_glGetSynciv
)(
GLsync
sync
,
GLenum
pname
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
values
);
void
(
WINE_GLAPI
*
p_glGetTexBumpParameterfvATI
)(
GLenum
pname
,
GLfloat
*
param
);
void
(
WINE_GLAPI
*
p_glGetTexBumpParameterivATI
)(
GLenum
pname
,
GLint
*
param
);
void
(
WINE_GLAPI
*
p_glGetTexEnvxvOES
)(
GLenum
target
,
GLenum
pname
,
GLfixed
*
params
);
...
...
@@ -1774,6 +1782,9 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glMulticastGetQueryObjectivNV
)(
GLuint
gpu
,
GLuint
id
,
GLenum
pname
,
GLint
*
params
);
void
(
WINE_GLAPI
*
p_glMulticastGetQueryObjectui64vNV
)(
GLuint
gpu
,
GLuint
id
,
GLenum
pname
,
GLuint64
*
params
);
void
(
WINE_GLAPI
*
p_glMulticastGetQueryObjectuivNV
)(
GLuint
gpu
,
GLuint
id
,
GLenum
pname
,
GLuint
*
params
);
void
(
WINE_GLAPI
*
p_glMulticastScissorArrayvNVX
)(
GLuint
gpu
,
GLuint
first
,
GLsizei
count
,
const
GLint
*
v
);
void
(
WINE_GLAPI
*
p_glMulticastViewportArrayvNVX
)(
GLuint
gpu
,
GLuint
first
,
GLsizei
count
,
const
GLfloat
*
v
);
void
(
WINE_GLAPI
*
p_glMulticastViewportPositionWScaleNVX
)(
GLuint
gpu
,
GLuint
index
,
GLfloat
xcoeff
,
GLfloat
ycoeff
);
void
(
WINE_GLAPI
*
p_glMulticastWaitSyncNV
)(
GLuint
signalGpu
,
GLbitfield
waitGpuMask
);
void
(
WINE_GLAPI
*
p_glNamedBufferAttachMemoryNV
)(
GLuint
buffer
,
GLuint
memory
,
GLuint64
offset
);
void
(
WINE_GLAPI
*
p_glNamedBufferData
)(
GLuint
buffer
,
GLsizeiptr
size
,
const
void
*
data
,
GLenum
usage
);
...
...
@@ -2117,7 +2128,7 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glQueryCounter
)(
GLuint
id
,
GLenum
target
);
GLbitfield
(
WINE_GLAPI
*
p_glQueryMatrixxOES
)(
GLfixed
*
mantissa
,
GLint
*
exponent
);
void
(
WINE_GLAPI
*
p_glQueryObjectParameteruiAMD
)(
GLenum
target
,
GLuint
id
,
GLenum
pname
,
GLuint
param
);
GLint
(
WINE_GLAPI
*
p_glQueryResourceNV
)(
GLenum
queryType
,
GLint
tagId
,
GLuint
bufSize
,
GLint
*
buffer
);
GLint
(
WINE_GLAPI
*
p_glQueryResourceNV
)(
GLenum
queryType
,
GLint
tagId
,
GLuint
count
,
GLint
*
buffer
);
void
(
WINE_GLAPI
*
p_glQueryResourceTagNV
)(
GLint
tagId
,
const
GLchar
*
tagString
);
void
(
WINE_GLAPI
*
p_glRasterPos2xOES
)(
GLfixed
x
,
GLfixed
y
);
void
(
WINE_GLAPI
*
p_glRasterPos2xvOES
)(
const
GLfixed
*
coords
);
...
...
@@ -2262,6 +2273,7 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glShadingRateSampleOrderNV
)(
GLenum
order
);
void
(
WINE_GLAPI
*
p_glSharpenTexFuncSGIS
)(
GLenum
target
,
GLsizei
n
,
const
GLfloat
*
points
);
void
(
WINE_GLAPI
*
p_glSignalSemaphoreEXT
)(
GLuint
semaphore
,
GLuint
numBufferBarriers
,
const
GLuint
*
buffers
,
GLuint
numTextureBarriers
,
const
GLuint
*
textures
,
const
GLenum
*
dstLayouts
);
void
(
WINE_GLAPI
*
p_glSignalSemaphoreui64NVX
)(
GLuint
signalGpu
,
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
);
void
(
WINE_GLAPI
*
p_glSignalVkFenceNV
)(
GLuint64
vkFence
);
void
(
WINE_GLAPI
*
p_glSignalVkSemaphoreNV
)(
GLuint64
vkSemaphore
);
void
(
WINE_GLAPI
*
p_glSpecializeShader
)(
GLuint
shader
,
const
GLchar
*
pEntryPoint
,
GLuint
numSpecializationConstants
,
const
GLuint
*
pConstantIndex
,
const
GLuint
*
pConstantValue
);
...
...
@@ -2595,17 +2607,19 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glUnmapObjectBufferATI
)(
GLuint
buffer
);
void
(
WINE_GLAPI
*
p_glUnmapTexture2DINTEL
)(
GLuint
texture
,
GLint
level
);
void
(
WINE_GLAPI
*
p_glUpdateObjectBufferATI
)(
GLuint
buffer
,
GLuint
offset
,
GLsizei
size
,
const
void
*
pointer
,
GLenum
preserve
);
void
(
WINE_GLAPI
*
p_glUploadGpuMaskNVX
)(
GLbitfield
mask
);
void
(
WINE_GLAPI
*
p_glUseProgram
)(
GLuint
program
);
void
(
WINE_GLAPI
*
p_glUseProgramObjectARB
)(
GLhandleARB
programObj
);
void
(
WINE_GLAPI
*
p_glUseProgramStages
)(
GLuint
pipeline
,
GLbitfield
stages
,
GLuint
program
);
void
(
WINE_GLAPI
*
p_glUseShaderProgramEXT
)(
GLenum
type
,
GLuint
program
);
void
(
WINE_GLAPI
*
p_glVDPAUFiniNV
)(
void
);
void
(
WINE_GLAPI
*
p_glVDPAUGetSurfaceivNV
)(
GLvdpauSurfaceNV
surface
,
GLenum
pname
,
GLsizei
bufSize
,
GLsizei
*
length
,
GLint
*
values
);
void
(
WINE_GLAPI
*
p_glVDPAUGetSurfaceivNV
)(
GLvdpauSurfaceNV
surface
,
GLenum
pname
,
GLsizei
count
,
GLsizei
*
length
,
GLint
*
values
);
void
(
WINE_GLAPI
*
p_glVDPAUInitNV
)(
const
void
*
vdpDevice
,
const
void
*
getProcAddress
);
GLboolean
(
WINE_GLAPI
*
p_glVDPAUIsSurfaceNV
)(
GLvdpauSurfaceNV
surface
);
void
(
WINE_GLAPI
*
p_glVDPAUMapSurfacesNV
)(
GLsizei
numSurfaces
,
const
GLvdpauSurfaceNV
*
surfaces
);
GLvdpauSurfaceNV
(
WINE_GLAPI
*
p_glVDPAURegisterOutputSurfaceNV
)(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
);
GLvdpauSurfaceNV
(
WINE_GLAPI
*
p_glVDPAURegisterVideoSurfaceNV
)(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
);
GLvdpauSurfaceNV
(
WINE_GLAPI
*
p_glVDPAURegisterVideoSurfaceWithPictureStructureNV
)(
const
void
*
vdpSurface
,
GLenum
target
,
GLsizei
numTextureNames
,
const
GLuint
*
textureNames
,
GLboolean
isFrameStructure
);
void
(
WINE_GLAPI
*
p_glVDPAUSurfaceAccessNV
)(
GLvdpauSurfaceNV
surface
,
GLenum
access
);
void
(
WINE_GLAPI
*
p_glVDPAUUnmapSurfacesNV
)(
GLsizei
numSurface
,
const
GLvdpauSurfaceNV
*
surfaces
);
void
(
WINE_GLAPI
*
p_glVDPAUUnregisterSurfaceNV
)(
GLvdpauSurfaceNV
surface
);
...
...
@@ -2954,6 +2968,7 @@ struct opengl_funcs
void
(
WINE_GLAPI
*
p_glViewportPositionWScaleNV
)(
GLuint
index
,
GLfloat
xcoeff
,
GLfloat
ycoeff
);
void
(
WINE_GLAPI
*
p_glViewportSwizzleNV
)(
GLuint
index
,
GLenum
swizzlex
,
GLenum
swizzley
,
GLenum
swizzlez
,
GLenum
swizzlew
);
void
(
WINE_GLAPI
*
p_glWaitSemaphoreEXT
)(
GLuint
semaphore
,
GLuint
numBufferBarriers
,
const
GLuint
*
buffers
,
GLuint
numTextureBarriers
,
const
GLuint
*
textures
,
const
GLenum
*
srcLayouts
);
void
(
WINE_GLAPI
*
p_glWaitSemaphoreui64NVX
)(
GLuint
waitGpu
,
GLsizei
fenceObjectCount
,
const
GLuint
*
semaphoreArray
,
const
GLuint64
*
fenceValueArray
);
void
(
WINE_GLAPI
*
p_glWaitSync
)(
GLsync
sync
,
GLbitfield
flags
,
GLuint64
timeout
);
void
(
WINE_GLAPI
*
p_glWaitVkSemaphoreNV
)(
GLuint64
vkSemaphore
);
void
(
WINE_GLAPI
*
p_glWeightPathsNV
)(
GLuint
resultPath
,
GLsizei
numPaths
,
const
GLuint
*
paths
,
const
GLfloat
*
weights
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment