mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 23:00:11 +01:00
mesa: Make fence_sync not static
Reviewed-by: Adam Jackson <ajax@redhat.com> Acked-by: Karol Herbst <kherbst@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19242>
This commit is contained in:
parent
04d45eab34
commit
7033501eff
2 changed files with 7 additions and 4 deletions
|
|
@ -268,8 +268,8 @@ _mesa_DeleteSync(GLsync sync)
|
|||
}
|
||||
|
||||
|
||||
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;
|
||||
|
||||
|
|
@ -308,7 +308,7 @@ GLsync GLAPIENTRY
|
|||
_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);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -329,7 +329,7 @@ _mesa_FenceSync(GLenum condition, GLbitfield flags)
|
|||
return 0;
|
||||
}
|
||||
|
||||
return fence_sync(ctx, condition, flags);
|
||||
return _mesa_fence_sync(ctx, condition, flags);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,9 @@ _mesa_init_sync(struct gl_context *);
|
|||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue