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
e213d7ef
Commit
e213d7ef
authored
Mar 21, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add GL_ATI_envmap_bumpmap to our gl extension header.
parent
6a23efda
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
directx.c
dlls/wined3d/directx.c
+3
-0
wined3d_gl.h
include/wine/wined3d_gl.h
+21
-0
No files found.
dlls/wined3d/directx.c
View file @
e213d7ef
...
...
@@ -798,6 +798,9 @@ BOOL IWineD3DImpl_FillGLCaps(IWineD3D *iface, Display* display) {
gl_info
->
vs_ati_version
=
VS_VERSION_11
;
TRACE_
(
d3d_caps
)(
" FOUND: ATI (EXT) Vertex Shader support - version=%02x
\n
"
,
gl_info
->
vs_ati_version
);
gl_info
->
supported
[
EXT_VERTEX_SHADER
]
=
TRUE
;
}
else
if
(
strcmp
(
ThisExtn
,
"GL_ATI_envmap_bumpmap"
)
==
0
)
{
TRACE_
(
d3d_caps
)(
" FOUND: ATI Environment Bump Mapping support
\n
"
);
gl_info
->
supported
[
ATI_ENVMAP_BUMPMAP
]
=
TRUE
;
/**
* Apple
*/
...
...
include/wine/wined3d_gl.h
View file @
e213d7ef
...
...
@@ -1159,6 +1159,21 @@ typedef void (APIENTRY * PGLFNFINISHFENCEAPPLEPROC) (GLuint);
typedef
GLboolean
(
APIENTRY
*
PGLFNISFENCEAPPLEPROC
)
(
GLuint
);
typedef
GLboolean
(
APIENTRY
*
PGLFNTESTOBJECTAPPLEPROC
)
(
GLenum
,
GLuint
);
typedef
void
(
APIENTRY
*
PGLFNFINISHOBJECTAPPLEPROC
)
(
GLenum
,
GLuint
);
/* GL_ATI_envmap_bumpmap */
#ifndef GL_ATI_envmap_bumpmap
#define GL_BUMP_ROT_MATRIX_ATI 0x8775
#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
#define GL_BUMP_TEX_UNITS_ATI 0x8778
#define GL_DUDV_ATI 0x8779
#define GL_DU8DV8_ATI 0x877A
#define GL_BUMP_ENVMAP_ATI 0x877B
#define GL_BUMP_TARGET_ATI 0x877C
#endif
typedef
void
(
APIENTRY
*
PGLFNTEXBUMPPARAMETERIVATIPROC
)
(
GLenum
,
GLuint
);
typedef
void
(
APIENTRY
*
PGLFNTEXBUMPPARAMETERFVATIPROC
)
(
GLenum
,
GLuint
);
typedef
void
(
APIENTRY
*
PGLFNGETTEXBUMPPARAMETERIVATIPROC
)
(
GLenum
,
GLuint
);
typedef
void
(
APIENTRY
*
PGLFNGETTEXBUMPPARAMETERFVATIPROC
)
(
GLenum
,
GLuint
);
/* GL_VERSION_2_0 */
#ifndef GL_VERSION_2_0
...
...
@@ -1522,6 +1537,7 @@ typedef enum _GL_SupportedExt {
ATI_TEXTURE_ENV_COMBINE3
,
ATI_TEXTURE_MIRROR_ONCE
,
EXT_VERTEX_SHADER
,
ATI_ENVMAP_BUMPMAP
,
/* APPLE */
APPLE_FENCE
,
...
...
@@ -1732,6 +1748,11 @@ typedef enum _GL_SupportedExt {
USE_GL_FUNC(PGLFNISFENCEAPPLEPROC, glIsFenceAPPLE); \
USE_GL_FUNC(PGLFNTESTOBJECTAPPLEPROC, glTestObjectAPPLE); \
USE_GL_FUNC(PGLFNFINISHOBJECTAPPLEPROC, glFinishObjectAPPLE); \
/* GL_ATI_envmap_bumpmap */
\
USE_GL_FUNC(PGLFNTEXBUMPPARAMETERIVATIPROC, glTexBumpParameterivATI); \
USE_GL_FUNC(PGLFNTEXBUMPPARAMETERFVATIPROC, glTexBumpParameterfvATI); \
USE_GL_FUNC(PGLFNGETTEXBUMPPARAMETERIVATIPROC, glGetTexBumpParameterivATI); \
USE_GL_FUNC(PGLFNGETTEXBUMPPARAMETERFVATIPROC, glGetTexBumpParameterfvATI); \
/* 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