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
13a57c81
Commit
13a57c81
authored
Mar 25, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add support for EXT_draw_buffers2.
parent
d5ff1e64
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
+1
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+23
-0
No files found.
dlls/wined3d/directx.c
View file @
13a57c81
...
...
@@ -104,6 +104,7 @@ static const struct {
{
"GL_EXT_blend_equation_separate"
,
EXT_BLEND_EQUATION_SEPARATE
,
0
},
{
"GL_EXT_blend_func_separate"
,
EXT_BLEND_FUNC_SEPARATE
,
0
},
{
"GL_EXT_blend_minmax"
,
EXT_BLEND_MINMAX
,
0
},
{
"GL_EXT_draw_buffers2"
,
EXT_DRAW_BUFFERS2
,
0
},
{
"GL_EXT_fog_coord"
,
EXT_FOG_COORD
,
0
},
{
"GL_EXT_framebuffer_blit"
,
EXT_FRAMEBUFFER_BLIT
,
0
},
{
"GL_EXT_framebuffer_multisample"
,
EXT_FRAMEBUFFER_MULTISAMPLE
,
0
},
...
...
dlls/wined3d/wined3d_gl.h
View file @
13a57c81
...
...
@@ -1782,6 +1782,7 @@ typedef enum wined3d_gl_extension
EXT_BLEND_EQUATION_SEPARATE
,
EXT_BLEND_FUNC_SEPARATE
,
EXT_BLEND_MINMAX
,
EXT_DRAW_BUFFERS2
,
EXT_FOG_COORD
,
EXT_FRAMEBUFFER_BLIT
,
EXT_FRAMEBUFFER_MULTISAMPLE
,
...
...
@@ -2958,6 +2959,15 @@ typedef void (WINE_GLAPI *PGLFNBLENDEQUATIONSEPARATEEXTPROC)(GLenum modeRGB, GLe
typedef
void
(
WINE_GLAPI
*
PGLFNBLENDFUNCSEPARATEEXTPROC
)(
GLenum
sfactorRGB
,
GLenum
dfactorRGB
,
GLenum
sfactorAlpha
,
GLenum
dfactorAlpha
);
/* GL_EXT_draw_buffers2 */
typedef
GLvoid
(
WINE_GLAPI
*
PGLFNCOLORMASKINDEXEDEXTPROC
)(
GLuint
buffer_idx
,
GLboolean
r
,
GLboolean
g
,
GLboolean
b
,
GLboolean
a
);
typedef
GLvoid
(
WINE_GLAPI
*
PGLFNGETBOOLEANINDEXEDVEXTPROC
)(
GLenum
param
,
GLuint
index
,
GLboolean
*
value
);
typedef
GLvoid
(
WINE_GLAPI
*
PGLFNGETINTEGERINDEXEDVEXTPROC
)(
GLenum
param
,
GLuint
index
,
GLint
*
value
);
typedef
GLvoid
(
WINE_GLAPI
*
PGLFNENABLEINDEXEDEXTPROC
)(
GLenum
target
,
GLuint
index
);
typedef
GLvoid
(
WINE_GLAPI
*
PGLFNDISABLEINDEXEDEXTPROC
)(
GLenum
target
,
GLuint
index
);
typedef
GLboolean
(
WINE_GLAPI
*
PGLFNISENABLEDINDEXEDEXTPROC
)(
GLenum
target
,
GLuint
index
);
/* GL_EXT_fog_coord */
#ifndef GL_EXT_fog_coord
#define GL_EXT_fog_coord 1
...
...
@@ -4178,6 +4188,19 @@ typedef BOOL (WINAPI *WINED3D_PFNWGLSETPIXELFORMATWINE)(HDC hdc, int iPixelForma
/* GL_EXT_blend_func_separate */
\
USE_GL_FUNC(PGLFNBLENDEQUATIONSEPARATEEXTPROC, \
glBlendEquationSeparateEXT, EXT_BLEND_EQUATION_SEPARATE, NULL) \
/* GL_EXT_draw_buffers2 */
\
USE_GL_FUNC(PGLFNCOLORMASKINDEXEDEXTPROC, \
glColorMaskIndexedEXT, EXT_DRAW_BUFFERS2, NULL) \
USE_GL_FUNC(PGLFNGETBOOLEANINDEXEDVEXTPROC, \
glGetBooleanIndexedvEXT, EXT_DRAW_BUFFERS2, NULL) \
USE_GL_FUNC(PGLFNGETINTEGERINDEXEDVEXTPROC, \
glGetIntegerIndexedvEXT, EXT_DRAW_BUFFERS2, NULL) \
USE_GL_FUNC(PGLFNENABLEINDEXEDEXTPROC, \
glEnableIndexedEXT, EXT_DRAW_BUFFERS2, NULL) \
USE_GL_FUNC(PGLFNDISABLEINDEXEDEXTPROC, \
glDisableIndexedEXT, EXT_DRAW_BUFFERS2, NULL) \
USE_GL_FUNC(PGLFNISENABLEDINDEXEDEXTPROC, \
glIsEnabledIndexedEXT, EXT_DRAW_BUFFERS2, NULL) \
/* GL_EXT_fog_coord */
\
USE_GL_FUNC(PGLFNGLFOGCOORDFEXTPROC, \
glFogCoordfEXT, EXT_FOG_COORD, NULL) \
...
...
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