New upstream version 26.1.0+dfsg1

This commit is contained in:
Sebastian Ramacher 2020-12-22 18:32:50 +01:00
parent 040dcc3fc2
commit 013818c4af
594 changed files with 19576 additions and 4478 deletions

View file

@ -2885,6 +2885,18 @@ uint32_t gs_texture_get_shared_handle(gs_texture_t *tex)
return GS_INVALID_HANDLE;
}
gs_texture_t *gs_texture_wrap_obj(void *obj)
{
graphics_t *graphics = thread_graphics;
if (!gs_valid("gs_texture_wrap_obj"))
return NULL;
if (graphics->exports.device_texture_wrap_obj)
return graphics->exports.device_texture_wrap_obj(
graphics->device, obj);
return NULL;
}
int gs_texture_acquire_sync(gs_texture_t *tex, uint64_t key, uint32_t ms)
{
graphics_t *graphics = thread_graphics;