}
-static GLsync
-fence_sync(struct gl_context *ctx, GLenum condition, GLbitfield flags)
+GLsync
+_mesa_fence_sync(struct gl_context *ctx, GLenum condition, GLbitfield flags)
{
struct gl_sync_object *syncObj;
_mesa_FenceSync_no_error(GLenum condition, GLbitfield flags)
{
GET_CURRENT_CONTEXT(ctx);
- return fence_sync(ctx, condition, flags);
+ return _mesa_fence_sync(ctx, condition, flags);
}
return 0;
}
- return fence_sync(ctx, condition, flags);
+ return _mesa_fence_sync(ctx, condition, flags);
}
extern void
_mesa_free_sync_data(struct gl_context *);
+extern GLsync
+_mesa_fence_sync(struct gl_context *ctx, GLenum condition, GLbitfield flags);
+
struct gl_sync_object *
_mesa_get_and_ref_sync(struct gl_context *ctx, GLsync sync, bool incRefCount);