mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 07:00:41 +00:00
wined3d: Add GL_APPLE_flush_buffer_range.
This commit is contained in:
parent
71db272fee
commit
ccc26a9e01
|
@ -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 },
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue