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
d3bc045f
Commit
d3bc045f
authored
Jun 08, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Jun 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add support for the ARB_depth_buffer_float extension.
parent
06ebe936
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
directx.c
dlls/wined3d/directx.c
+1
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+9
-0
No files found.
dlls/wined3d/directx.c
View file @
d3bc045f
...
@@ -63,6 +63,7 @@ static const struct {
...
@@ -63,6 +63,7 @@ static const struct {
/* ARB */
/* ARB */
{
"GL_ARB_color_buffer_float"
,
ARB_COLOR_BUFFER_FLOAT
,
0
},
{
"GL_ARB_color_buffer_float"
,
ARB_COLOR_BUFFER_FLOAT
,
0
},
{
"GL_ARB_depth_buffer_float"
,
ARB_DEPTH_BUFFER_FLOAT
,
0
},
{
"GL_ARB_depth_texture"
,
ARB_DEPTH_TEXTURE
,
0
},
{
"GL_ARB_depth_texture"
,
ARB_DEPTH_TEXTURE
,
0
},
{
"GL_ARB_draw_buffers"
,
ARB_DRAW_BUFFERS
,
0
},
{
"GL_ARB_draw_buffers"
,
ARB_DRAW_BUFFERS
,
0
},
{
"GL_ARB_fragment_program"
,
ARB_FRAGMENT_PROGRAM
,
0
},
{
"GL_ARB_fragment_program"
,
ARB_FRAGMENT_PROGRAM
,
0
},
...
...
dlls/wined3d/wined3d_gl.h
View file @
d3bc045f
...
@@ -1517,6 +1517,14 @@ BOOL (WINAPI *pwglShareLists)(HGLRC,HGLRC);
...
@@ -1517,6 +1517,14 @@ BOOL (WINAPI *pwglShareLists)(HGLRC,HGLRC);
#endif
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNCLAMPCOLORARBPROC
)
(
GLenum
target
,
GLenum
clamp
);
typedef
void
(
WINE_GLAPI
*
PGLFNCLAMPCOLORARBPROC
)
(
GLenum
target
,
GLenum
clamp
);
/* GL_ARB_depth_buffer_float */
#ifndef GL_ARB_depth_buffer_float
#define GL_ARB_depth_buffer_float 1
#define GL_DEPTH_COMPONENT32F 0x8cac
#define GL_DEPTH32F_STENCIL8 0x8cad
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8dad
#endif
/* GL_ARB_depth_texture */
/* GL_ARB_depth_texture */
#ifndef GL_ARB_depth_texture
#ifndef GL_ARB_depth_texture
#define GL_ARB_depth_texture 1
#define GL_ARB_depth_texture 1
...
@@ -3393,6 +3401,7 @@ typedef enum _GL_SupportedExt {
...
@@ -3393,6 +3401,7 @@ typedef enum _GL_SupportedExt {
WINED3D_GL_EXT_NONE
,
WINED3D_GL_EXT_NONE
,
/* ARB */
/* ARB */
ARB_COLOR_BUFFER_FLOAT
,
ARB_COLOR_BUFFER_FLOAT
,
ARB_DEPTH_BUFFER_FLOAT
,
ARB_DEPTH_TEXTURE
,
ARB_DEPTH_TEXTURE
,
ARB_DRAW_BUFFERS
,
ARB_DRAW_BUFFERS
,
ARB_FRAGMENT_PROGRAM
,
ARB_FRAGMENT_PROGRAM
,
...
...
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