Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
7de2fa26
Commit
7de2fa26
authored
Jun 11, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jun 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add GL_ARB_draw_elements_base_vertex.
parent
5ca2277c
Show 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 @
7de2fa26
...
...
@@ -55,6 +55,7 @@ static const struct {
{
"GL_ARB_depth_clamp"
,
ARB_DEPTH_CLAMP
,
0
},
{
"GL_ARB_depth_texture"
,
ARB_DEPTH_TEXTURE
,
0
},
{
"GL_ARB_draw_buffers"
,
ARB_DRAW_BUFFERS
,
0
},
{
"GL_ARB_draw_elements_base_vertex"
,
ARB_DRAW_ELEMENTS_BASE_VERTEX
,
0
},
{
"GL_ARB_fragment_program"
,
ARB_FRAGMENT_PROGRAM
,
0
},
{
"GL_ARB_fragment_shader"
,
ARB_FRAGMENT_SHADER
,
0
},
{
"GL_ARB_framebuffer_object"
,
ARB_FRAMEBUFFER_OBJECT
,
0
},
...
...
dlls/wined3d/wined3d_gl.h
View file @
7de2fa26
...
...
@@ -1738,6 +1738,7 @@ typedef enum wined3d_gl_extension
ARB_DEPTH_CLAMP
,
ARB_DEPTH_TEXTURE
,
ARB_DRAW_BUFFERS
,
ARB_DRAW_ELEMENTS_BASE_VERTEX
,
ARB_FRAGMENT_PROGRAM
,
ARB_FRAGMENT_SHADER
,
ARB_FRAMEBUFFER_OBJECT
,
...
...
@@ -1965,6 +1966,19 @@ typedef void (WINE_GLAPI *PGLFNCLAMPCOLORARBPROC)(GLenum target, GLenum clamp);
#endif
typedef
void
(
WINE_GLAPI
*
PGLFNDRAWBUFFERSARBPROC
)(
GLsizei
n
,
const
GLenum
*
bufs
);
/* GL_ARB_draw_elements_base_vertex */
#ifndef GL_ARB_draw_elements_base_vertex
#define GL_ARB_draw_elements_base_vertex 1
typedef
void
(
WINE_GLAPI
*
PGLFNDRAWELEMENTSBASEVERTEXPROC
)(
GLenum
mode
,
GLsizei
count
,
GLenum
type
,
const
GLvoid
*
indices
,
GLint
basevertex
);
typedef
void
(
WINE_GLAPI
*
PGLFNDRAWRANGEELEMENTSBASEVERTEXPROC
)(
GLenum
mode
,
GLuint
start
,
GLuint
end
,
GLsizei
count
,
GLenum
type
,
const
GLvoid
*
indices
,
GLint
basevertex
);
typedef
void
(
WINE_GLAPI
*
PGLFNDRAWELEMENTSINSTANCEDBASEVERTEXPROC
)(
GLenum
mode
,
GLsizei
count
,
GLenum
type
,
const
GLvoid
*
indices
,
GLsizei
primcount
,
GLint
basevertex
);
typedef
void
(
WINE_GLAPI
*
PGLFNMULTIDRAWELEMENTSBASEVERTEXPROC
)(
GLenum
mode
,
GLsizei
*
count
,
GLenum
type
,
const
GLvoid
**
indices
,
GLsizei
primcount
,
GLint
*
basevertex
);
#endif
/* GL_ARB_fragment_program */
#ifndef GL_ARB_fragment_program
#define GL_ARB_fragment_program 1
...
...
@@ -3789,6 +3803,15 @@ typedef BOOL (WINAPI *WINED3D_PFNWGLSWAPINTERVALEXTPROC)(int interval);
/* GL_ARB_draw_buffers */
\
USE_GL_FUNC(PGLFNDRAWBUFFERSARBPROC, \
glDrawBuffersARB, ARB_DRAW_BUFFERS, NULL) \
/* GL_ARB_draw_elements_base_vertex */
\
USE_GL_FUNC(PGLFNDRAWELEMENTSBASEVERTEXPROC, \
glDrawElementsBaseVertex, ARB_DRAW_ELEMENTS_BASE_VERTEX, NULL) \
USE_GL_FUNC(PGLFNDRAWRANGEELEMENTSBASEVERTEXPROC, \
glDrawRangeElementsBaseVertex, ARB_DRAW_ELEMENTS_BASE_VERTEX, NULL) \
USE_GL_FUNC(PGLFNDRAWELEMENTSINSTANCEDBASEVERTEXPROC, \
glDrawElementsInstancedBaseVertex, ARB_DRAW_ELEMENTS_BASE_VERTEX, NULL) \
USE_GL_FUNC(PGLFNMULTIDRAWELEMENTSBASEVERTEXPROC, \
glMultiDrawElementsBaseVertex, ARB_DRAW_ELEMENTS_BASE_VERTEX, NULL) \
/* GL_ARB_framebuffer_object */
\
USE_GL_FUNC(PGLFNGLISRENDERBUFFERPROC, \
glIsRenderbuffer, ARB_FRAMEBUFFER_OBJECT, 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