mesa: remove FEATURE_ARB_sync define.
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -425,9 +425,7 @@ _mesa_enable_sw_extensions(struct gl_context *ctx)
|
|||||||
ctx->Extensions.ARB_texture_storage = GL_TRUE;
|
ctx->Extensions.ARB_texture_storage = GL_TRUE;
|
||||||
ctx->Extensions.ARB_vertex_program = GL_TRUE;
|
ctx->Extensions.ARB_vertex_program = GL_TRUE;
|
||||||
ctx->Extensions.ARB_vertex_shader = GL_TRUE;
|
ctx->Extensions.ARB_vertex_shader = GL_TRUE;
|
||||||
#if FEATURE_ARB_sync
|
|
||||||
ctx->Extensions.ARB_sync = GL_TRUE;
|
ctx->Extensions.ARB_sync = GL_TRUE;
|
||||||
#endif
|
|
||||||
#if FEATURE_APPLE_object_purgeable
|
#if FEATURE_APPLE_object_purgeable
|
||||||
ctx->Extensions.APPLE_object_purgeable = GL_TRUE;
|
ctx->Extensions.APPLE_object_purgeable = GL_TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
@@ -2316,7 +2316,6 @@ _mesa_GetIntegerv(GLenum pname, GLint *params)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FEATURE_ARB_sync
|
|
||||||
void GLAPIENTRY
|
void GLAPIENTRY
|
||||||
_mesa_GetInteger64v(GLenum pname, GLint64 *params)
|
_mesa_GetInteger64v(GLenum pname, GLint64 *params)
|
||||||
{
|
{
|
||||||
@@ -2411,7 +2410,6 @@ _mesa_GetInteger64v(GLenum pname, GLint64 *params)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* FEATURE_ARB_sync */
|
|
||||||
|
|
||||||
void GLAPIENTRY
|
void GLAPIENTRY
|
||||||
_mesa_GetDoublev(GLenum pname, GLdouble *params)
|
_mesa_GetDoublev(GLenum pname, GLdouble *params)
|
||||||
@@ -2684,7 +2682,6 @@ _mesa_GetIntegerIndexedv( GLenum pname, GLuint index, GLint *params )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if FEATURE_ARB_sync
|
|
||||||
void GLAPIENTRY
|
void GLAPIENTRY
|
||||||
_mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params )
|
_mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params )
|
||||||
{
|
{
|
||||||
@@ -2709,7 +2706,6 @@ _mesa_GetInteger64Indexedv( GLenum pname, GLuint index, GLint64 *params )
|
|||||||
; /* nothing - GL error was recorded */
|
; /* nothing - GL error was recorded */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif /* FEATURE_ARB_sync */
|
|
||||||
|
|
||||||
#if FEATURE_ES1
|
#if FEATURE_ES1
|
||||||
void GLAPIENTRY
|
void GLAPIENTRY
|
||||||
|
@@ -84,8 +84,6 @@
|
|||||||
#define FEATURE_remap_table 0
|
#define FEATURE_remap_table 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FEATURE_ARB_sync FEATURE_GL
|
|
||||||
|
|
||||||
#define FEATURE_EXT_framebuffer_blit FEATURE_GL
|
#define FEATURE_EXT_framebuffer_blit FEATURE_GL
|
||||||
#define FEATURE_EXT_texture_sRGB FEATURE_GL
|
#define FEATURE_EXT_texture_sRGB FEATURE_GL
|
||||||
#define FEATURE_EXT_transform_feedback FEATURE_GL
|
#define FEATURE_EXT_transform_feedback FEATURE_GL
|
||||||
|
@@ -64,7 +64,6 @@
|
|||||||
#include "dispatch.h"
|
#include "dispatch.h"
|
||||||
#include "mtypes.h"
|
#include "mtypes.h"
|
||||||
|
|
||||||
#if FEATURE_ARB_sync
|
|
||||||
#include "syncobj.h"
|
#include "syncobj.h"
|
||||||
|
|
||||||
static struct gl_sync_object *
|
static struct gl_sync_object *
|
||||||
@@ -426,5 +425,3 @@ _mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
|
|||||||
*length = size;
|
*length = size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* FEATURE_ARB_sync */
|
|
||||||
|
@@ -39,8 +39,6 @@ struct dd_function_table;
|
|||||||
struct gl_context;
|
struct gl_context;
|
||||||
struct gl_sync_object;
|
struct gl_sync_object;
|
||||||
|
|
||||||
#if FEATURE_ARB_sync
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
_mesa_init_sync_object_functions(struct dd_function_table *driver);
|
_mesa_init_sync_object_functions(struct dd_function_table *driver);
|
||||||
|
|
||||||
@@ -78,42 +76,4 @@ extern void GLAPIENTRY
|
|||||||
_mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
|
_mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
|
||||||
GLint *values);
|
GLint *values);
|
||||||
|
|
||||||
#else /* FEATURE_ARB_sync */
|
|
||||||
|
|
||||||
#include "main/compiler.h"
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_init_sync_object_functions(struct dd_function_table *driver)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_init_sync_dispatch(struct _glapi_table *disp)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_init_sync(struct gl_context *ctx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_free_sync_data(struct gl_context *ctx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_ref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj)
|
|
||||||
{
|
|
||||||
ASSERT_NO_FEATURE();
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_unref_sync_object(struct gl_context *ctx, struct gl_sync_object *syncObj)
|
|
||||||
{
|
|
||||||
ASSERT_NO_FEATURE();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* FEATURE_ARB_sync */
|
|
||||||
|
|
||||||
#endif /* SYNCOBJ_H */
|
#endif /* SYNCOBJ_H */
|
||||||
|
Reference in New Issue
Block a user