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
be8e9e17
Commit
be8e9e17
authored
Mar 01, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 01, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add GL_NV_fence defines and functions.
parent
424d34f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
directx.c
dlls/wined3d/directx.c
+2
-0
wined3d_gl.h
include/wine/wined3d_gl.h
+24
-0
No files found.
dlls/wined3d/directx.c
View file @
be8e9e17
...
...
@@ -787,6 +787,8 @@ BOOL IWineD3DImpl_FillGLCaps(IWineD3D *iface, Display* display) {
gl_info
->
vs_nv_version
=
VS_VERSION_10
;
TRACE_
(
d3d_caps
)(
" FOUND: NVIDIA (NV) Vertex Shader support - version=%02x
\n
"
,
gl_info
->
vs_nv_version
);
gl_info
->
supported
[
NV_VERTEX_PROGRAM
]
=
TRUE
;
}
else
if
(
strstr
(
ThisExtn
,
"GL_NV_fence"
))
{
gl_info
->
supported
[
NV_FENCE
]
=
TRUE
;
/**
* ATI
...
...
include/wine/wined3d_gl.h
View file @
be8e9e17
...
...
@@ -345,6 +345,7 @@ typedef void (APIENTRY * PGLFNGLWEIGHTPOINTERARB) (GLint size, GLenum type, GLsi
#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
#endif
typedef
GLboolean
(
APIENTRY
*
PGLFNGLISRENDERBUFFEREXTPROC
)(
GLuint
renderbuffer
);
typedef
void
(
APIENTRY
*
PGLFNGLBINDRENDERBUFFEREXTPROC
)(
GLenum
target
,
GLuint
renderbuffer
);
...
...
@@ -1132,6 +1133,20 @@ typedef void (APIENTRY * PGLFNACTIVESTENCILFACEEXTPROC) (GLenum face);
#endif
typedef
void
(
APIENTRY
*
PGLFNSTENCILOPSEPARATEATIPROC
)
(
GLenum
,
GLenum
,
GLenum
,
GLenum
);
typedef
void
(
APIENTRY
*
PGLFNSTENCILFUNCSEPARATEATIPROC
)
(
GLenum
,
GLenum
,
GLint
,
GLuint
);
/* GL_NV_fence */
#ifndef GL_NV_fence
#define GL_ALL_COMPLETED_NV 0x84F2
#define GL_FENCE_STATUS_NV 0x84F3
#define GL_FENCE_CONDITION_NV 0x84F4
#endif
typedef
void
(
APIENTRY
*
PGLFNGENFENCESNVPROC
)
(
GLsizei
,
GLuint
*
);
typedef
void
(
APIENTRY
*
PGLFNDELETEFENCESNVPROC
)
(
GLuint
,
const
GLuint
*
);
typedef
void
(
APIENTRY
*
PGLFNSETFENCENVPROC
)
(
GLuint
,
GLenum
);
typedef
GLboolean
(
APIENTRY
*
PGLFNTESTFENCENVPROC
)
(
GLuint
);
typedef
void
(
APIENTRY
*
PGLFNFINISHFENCENVPROC
)
(
GLuint
);
typedef
GLboolean
(
APIENTRY
*
PGLFNISFENCENVPROC
)
(
GLuint
);
typedef
void
(
APIENTRY
*
PGLFNGETFENCEIVNVPROC
)
(
GLuint
,
GLenum
,
GLint
*
);
/* GL_VERSION_2_0 */
#ifndef GL_VERSION_2_0
#define GL_VERSION_2_0 1
...
...
@@ -1488,6 +1503,7 @@ typedef enum _GL_SupportedExt {
NV_TEXTURE_SHADER2
,
NV_TEXTURE_SHADER3
,
NV_VERTEX_PROGRAM
,
NV_FENCE
,
/* ATI */
ATI_SEPARATE_STENCIL
,
ATI_TEXTURE_ENV_COMBINE3
,
...
...
@@ -1684,6 +1700,14 @@ typedef enum _GL_SupportedExt {
USE_GL_FUNC(PGLFNCOMBINERPARAMETERINVPROC, glCombinerParameteriNV); \
USE_GL_FUNC(PGLFNCOMBINERPARAMETERIVNVPROC, glCombinerParameterivNV); \
USE_GL_FUNC(PGLFNFINALCOMBINERINPUTNVPROC, glFinalCombinerInputNV); \
/* GL_NV_fence */
\
USE_GL_FUNC(PGLFNGENFENCESNVPROC, glGenFencesNV); \
USE_GL_FUNC(PGLFNDELETEFENCESNVPROC, glDeleteFencesNV); \
USE_GL_FUNC(PGLFNSETFENCENVPROC, glSetFenceNV); \
USE_GL_FUNC(PGLFNTESTFENCENVPROC, glTestFenceNV); \
USE_GL_FUNC(PGLFNFINISHFENCENVPROC, glFinishFenceNV); \
USE_GL_FUNC(PGLFNISFENCENVPROC, glIsFenceNV); \
USE_GL_FUNC(PGLFNGETFENCEIVNVPROC, glGetFenceivNV); \
/* OpenGL 2.0 functions */
#define GL2_FUNCS_GEN \
...
...
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