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
2188aa87
Commit
2188aa87
authored
Oct 20, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add support for EXT_framebuffer_multisample.
parent
e00e5a37
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
directx.c
dlls/wined3d/directx.c
+1
-0
wined3d_gl.h
include/wine/wined3d_gl.h
+13
-1
No files found.
dlls/wined3d/directx.c
View file @
2188aa87
...
...
@@ -96,6 +96,7 @@ static const struct {
{
"GL_EXT_blend_func_separate"
,
EXT_BLEND_FUNC_SEPARATE
,
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
},
{
"GL_EXT_framebuffer_object"
,
EXT_FRAMEBUFFER_OBJECT
,
0
},
{
"GL_EXT_paletted_texture"
,
EXT_PALETTED_TEXTURE
,
0
},
{
"GL_EXT_point_parameters"
,
EXT_POINT_PARAMETERS
,
0
},
...
...
include/wine/wined3d_gl.h
View file @
2188aa87
...
...
@@ -1819,7 +1819,6 @@ typedef void (WINE_GLAPI * PGLFNGLVERTEXBLENDARB) (GLint count);
#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
...
...
@@ -1854,6 +1853,16 @@ typedef void (WINE_GLAPI * PGLFNGLGENERATEMIPMAPEXTPROC)(GLenum target);
#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNGLBLITFRAMEBUFFEREXTPROC
)
(
GLint
srcX0
,
GLint
srcY0
,
GLint
srcX1
,
GLint
srcY1
,
GLint
dstX0
,
GLint
dstY0
,
GLint
dstX1
,
GLint
dstY1
,
GLbitfield
mask
,
GLenum
filter
);
/* GL_EXT_framebuffer_multisample */
#ifndef GL_EXT_framebuffer_multisample
#define GL_EXT_framebuffer_multisample 1
#define GL_RENDERBUFFER_SAMPLES_EXT 0x8cab
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8d56
#define GL_MAX_SAMPLES_EXT 0x8d57
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC
)(
GLenum
target
,
GLsizei
samples
,
GLenum
internalformat
,
GLsizei
width
,
GLsizei
height
);
/* GL_EXT_secondary_color */
#ifndef GL_EXT_secondary_color
#define GL_EXT_secondary_color 1
...
...
@@ -3336,6 +3345,7 @@ typedef enum _GL_SupportedExt {
EXT_FOG_COORD
,
EXT_FRAMEBUFFER_OBJECT
,
EXT_FRAMEBUFFER_BLIT
,
EXT_FRAMEBUFFER_MULTISAMPLE
,
EXT_PALETTED_TEXTURE
,
EXT_PIXEL_BUFFER_OBJECT
,
EXT_POINT_PARAMETERS
,
...
...
@@ -3499,6 +3509,8 @@ typedef enum _GL_SupportedExt {
USE_GL_FUNC(PGLFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC, glGetFramebufferAttachmentParameterivEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
/* GL_EXT_framebuffer_blit */
\
USE_GL_FUNC(PGLFNGLBLITFRAMEBUFFEREXTPROC, glBlitFramebufferEXT, EXT_FRAMEBUFFER_BLIT, NULL )\
/* GL_EXT_framebuffer_multisample */
\
USE_GL_FUNC(PGLFNRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC, glRenderbufferStorageMultisampleEXT, EXT_FRAMEBUFFER_MULTISAMPLE, NULL )\
/* GL_EXT_paletted_texture */
\
USE_GL_FUNC(PGLFNGLCOLORTABLEEXTPROC, glColorTableEXT, EXT_PALETTED_TEXTURE, NULL )\
/* GL_EXT_point_parameters */
\
...
...
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