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
ccc26a9e
Commit
ccc26a9e
authored
Jan 02, 2010
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 04, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add GL_APPLE_flush_buffer_range.
parent
71db272f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletion
+16
-1
directx.c
dlls/wined3d/directx.c
+1
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+15
-1
No files found.
dlls/wined3d/directx.c
View file @
ccc26a9e
...
...
@@ -46,6 +46,7 @@ static const struct {
{
"GL_APPLE_flush_render"
,
APPLE_FLUSH_RENDER
,
0
},
{
"GL_APPLE_ycbcr_422"
,
APPLE_YCBCR_422
,
0
},
{
"GL_APPLE_float_pixels"
,
APPLE_FLOAT_PIXELS
,
0
},
{
"GL_APPLE_flush_buffer_range"
,
APPLE_FLUSH_BUFFER_RANGE
,
0
},
/* ATI */
{
"GL_ATI_separate_stencil"
,
ATI_SEPARATE_STENCIL
,
0
},
...
...
dlls/wined3d/wined3d_gl.h
View file @
ccc26a9e
...
...
@@ -3263,6 +3263,15 @@ typedef void (WINE_GLAPI *PGLFNSETFRAGMENTSHADERCONSTANTATI) (GLuint dst, const
#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
#endif
/* GL_APPLE_flush_buffer_range */
#ifndef GL_APPLE_flush_buffer_range
#define GL_APPLE_flush_buffer_range
#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
typedef
void
(
WINE_GLAPI
*
PGLFNBUFFERPARAMETERIAPPLE
)
(
GLenum
target
,
GLenum
pname
,
GLint
param
);
typedef
void
(
WINE_GLAPI
*
PGLFNFLUSHMAPPEDBUFFERRANGEAPPLE
)
(
GLenum
target
,
GLintptr
offset
,
GLsizeiptr
size
);
#endif
/* GL_VERSION_2_0 */
#ifndef GL_VERSION_2_0
#define GL_VERSION_2_0 1
...
...
@@ -3572,6 +3581,7 @@ typedef enum _GL_SupportedExt {
APPLE_FLUSH_RENDER
,
APPLE_YCBCR_422
,
APPLE_FLOAT_PIXELS
,
APPLE_FLUSH_BUFFER_RANGE
,
/* SGI */
SGI_VIDEO_SYNC
,
SGIS_GENERATE_MIPMAP
,
...
...
@@ -3920,7 +3930,11 @@ typedef enum _GL_SupportedExt {
USE_GL_FUNC(PGLFNALPHAFRAGMENTOP1ATI, glAlphaFragmentOp1ATI, ATI_FRAGMENT_SHADER, NULL )\
USE_GL_FUNC(PGLFNALPHAFRAGMENTOP2ATI, glAlphaFragmentOp2ATI, ATI_FRAGMENT_SHADER, NULL )\
USE_GL_FUNC(PGLFNALPHAFRAGMENTOP3ATI, glAlphaFragmentOp3ATI, ATI_FRAGMENT_SHADER, NULL )\
USE_GL_FUNC(PGLFNSETFRAGMENTSHADERCONSTANTATI, glSetFragmentShaderConstantATI, ATI_FRAGMENT_SHADER, NULL )
USE_GL_FUNC(PGLFNSETFRAGMENTSHADERCONSTANTATI, glSetFragmentShaderConstantATI, ATI_FRAGMENT_SHADER, NULL )\
/* GL_APPLE_flush_buffer_range */
\
USE_GL_FUNC(PGLFNBUFFERPARAMETERIAPPLE, glBufferParameteriAPPLE, APPLE_FLUSH_BUFFER_RANGE,NULL)\
USE_GL_FUNC(PGLFNFLUSHMAPPEDBUFFERRANGEAPPLE, glFlushMappedBufferRangeAPPLE, APPLE_FLUSH_BUFFER_RANGE,NULL)
/****************************************************
* OpenGL WGL defines and functions pointer
...
...
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