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
60ad1aed
Commit
60ad1aed
authored
Jan 21, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 22, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove unused occlusion query extensions.
parent
c5086a12
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
26 deletions
+1
-26
directx.c
dlls/wined3d/directx.c
+0
-1
query.c
dlls/wined3d/query.c
+1
-1
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+0
-24
No files found.
dlls/wined3d/directx.c
View file @
60ad1aed
...
...
@@ -133,7 +133,6 @@ static const struct {
{
"GL_NV_fragment_program_option"
,
NV_FRAGMENT_PROGRAM_OPTION
,
0
},
{
"GL_NV_half_float"
,
NV_HALF_FLOAT
,
0
},
{
"GL_NV_light_max_exponent"
,
NV_LIGHT_MAX_EXPONENT
,
0
},
{
"GL_NV_occlusion_query"
,
NV_OCCLUSION_QUERY
,
0
},
{
"GL_NV_register_combiners"
,
NV_REGISTER_COMBINERS
,
0
},
{
"GL_NV_register_combiners2"
,
NV_REGISTER_COMBINERS2
,
0
},
{
"GL_NV_texgen_reflection"
,
NV_TEXGEN_REFLECTION
,
0
},
...
...
dlls/wined3d/query.c
View file @
60ad1aed
...
...
@@ -435,7 +435,7 @@ HRESULT query_init(IWineD3DQueryImpl *query, IWineD3DDeviceImpl *device,
TRACE
(
"Occlusion query.
\n
"
);
if
(
!
gl_info
->
supported
[
ARB_OCCLUSION_QUERY
])
{
WARN
(
"Unsupported in local OpenGL implementation: ARB_OCCLUSION_QUERY
/NV_OCCLUSION_QUERY
\n
"
);
WARN
(
"Unsupported in local OpenGL implementation: ARB_OCCLUSION_QUERY
.
\n
"
);
return
WINED3DERR_NOTAVAILABLE
;
}
query
->
lpVtbl
=
&
IWineD3DOcclusionQuery_Vtbl
;
...
...
dlls/wined3d/wined3d_gl.h
View file @
60ad1aed
...
...
@@ -1810,7 +1810,6 @@ typedef enum wined3d_gl_extension
NV_FRAGMENT_PROGRAM_OPTION
,
NV_HALF_FLOAT
,
NV_LIGHT_MAX_EXPONENT
,
NV_OCCLUSION_QUERY
,
NV_REGISTER_COMBINERS
,
NV_REGISTER_COMBINERS2
,
NV_TEXGEN_REFLECTION
,
...
...
@@ -3318,13 +3317,6 @@ typedef void (WINE_GLAPI *PGLFNGETCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint l
#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8e46
#endif
/* GL_HP_occlusion_test */
#ifndef GL_HP_occlusion_test
#define GL_HP_occlusion_test 1
#define GL_OCCLUSION_TEST_HP 0x8165
#define GL_OCCLUSION_TEST_RESULT_HP 0x8165
#endif
/* GL_NV_depth_clamp */
#ifndef GL_NV_depth_clamp
#define GL_NV_depth_clamp 1
...
...
@@ -3415,22 +3407,6 @@ typedef void (WINE_GLAPI *PGLFNVERTEXATTRIBS4HVNVPROC)(GLuint index, GLsizei n,
#define GL_MAX_SPOT_EXPONENT_NV 0x8505
#endif
/* GL_NV_occlusion_query */
#ifndef GL_NV_occlusion_query
#define GL_NV_occlusion_query 1
#define GL_PIXEL_COUNTER_BITS_NV 0x8864
#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
#define GL_PIXEL_COUNT_NV 0x8866
#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNGENOCCLUSIONQUERIESNVPROC
)(
GLsizei
n
,
GLuint
*
ids
);
typedef
void
(
WINE_GLAPI
*
PGLFNDELETEOCCLUSIONQUERIESNVPROC
)(
GLsizei
n
,
const
GLuint
*
ids
);
typedef
GLboolean
(
WINE_GLAPI
*
PGLFNISOCCLUSIONQUERYNVPROC
)(
GLuint
id
);
typedef
void
(
WINE_GLAPI
*
PGLFNBEGINOCCLUSIONQUERYNVPROC
)(
GLuint
id
);
typedef
void
(
WINE_GLAPI
*
PGLFNENDOCCLUSIONQUERYNVPROC
)(
void
);
typedef
void
(
WINE_GLAPI
*
PGLFNGETOCCLUSIONQUERYIVNVPROC
)(
GLuint
id
,
GLenum
pname
,
GLint
*
params
);
typedef
void
(
WINE_GLAPI
*
PGLFNGETOCCLUSIONQUERYUIVNVPROC
)(
GLuint
id
,
GLenum
pname
,
GLuint
*
params
);
/* GL_NV_register_combiners */
#ifndef GL_NV_register_combiners
#define GL_NV_register_combiners 1
...
...
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